[
https://issues.apache.org/jira/browse/SLING-5478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15234791#comment-15234791
]
Stefan Seifert commented on SLING-5478:
---------------------------------------
thanks for the update!
i tested your patch against the current trunk - one of the testcases is failing:
{noformat}
Running org.apache.sling.testing.mock.jcr.MockNodeTest
Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.279 sec <<<
FAILURE! - in org.apache.sling.testing.mock.jcr.MockNodeTest
testNodeRepositioning(org.apache.sling.testing.mock.jcr.MockNodeTest) Time
elapsed: 0.278 sec <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<2>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at
org.apache.sling.testing.mock.jcr.MockNodeTest.testNodeRepositioning(MockNodeTest.java:196)
{noformat}
so the reordering in this case was not successful - can you reproduce this?
> Implement MockNode methods regarding mixin, reordering and move
> ---------------------------------------------------------------
>
> Key: SLING-5478
> URL: https://issues.apache.org/jira/browse/SLING-5478
> Project: Sling
> Issue Type: Improvement
> Components: JCR, Testing
> Affects Versions: Testing JCR Mock 1.1.10
> Reporter: Danilo Cugia
> Priority: Minor
> Labels: test
> Fix For: Testing JCR Mock 1.1.14
>
>
> Implement the following operations on a MockNode object:
> - Add mixin
> - Get index
> - Get mixin types
> - Node repositioning (node.orderBefore)
> - Remove mixin
> - Move
> PR: https://github.com/apache/sling/pull/121
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)