testing: mock objects for content (MAGNOLIA-1452)

[MAGNOLIA-1924] MockContent: Add support for same-name-siblings Created: 05/Dec/07  Updated: 27/Nov/13  Resolved: 27/Nov/13

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 3.5 RC2
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Vivian Steller Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Date of First Response:

 Description   

The MockContent class does not support adding multiple nodes with same name, so behaves differently in tests than the actual JCR implementation.
e.g. executing node.createContent("0", ...) twice should create something like:
/node/0
/node/00
Current implemenation stores those childnodes in a HashMap, thus executing the method call above overwrites the child node 0.



 Comments   
Comment by Daniel Lipp [ 27/Nov/13 ]

ContentAPI is deprecated, same-name siblings have been disabled.

Generated at Mon Feb 12 03:31:39 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.