mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-22 15:12:38 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
108068: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud)
108037: Merged 5.0.2 (5.0.2) to 5.0.N (5.0.3)
107960: Merged DEV/NESS/5.0.N-2015_06_24 (5.0.3) to 5.0.2
107947: MNT-14344 - Oracle test failing - check that all the nodes are contained in the result, ignoring the order in which they are retrieved
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@108081 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -745,11 +745,11 @@ public class GetChildrenCannedQueryTest extends TestCase
|
||||
assertFalse(results.hasMoreItems());
|
||||
totalCnt = results.getPage().size();
|
||||
assertTrue(totalCnt == 5);
|
||||
assertEquals(nodeRef1, results.getPage().get(0));
|
||||
assertEquals(nodeRef2, results.getPage().get(1));
|
||||
assertEquals(nodeRef3, results.getPage().get(2));
|
||||
assertEquals(nodeRef4, results.getPage().get(3));
|
||||
assertEquals(nodeRef5, results.getPage().get(4));
|
||||
assertTrue(results.getPage().contains(nodeRef1));
|
||||
assertTrue(results.getPage().contains(nodeRef2));
|
||||
assertTrue(results.getPage().contains(nodeRef3));
|
||||
assertTrue(results.getPage().contains(nodeRef4));
|
||||
assertTrue(results.getPage().contains(nodeRef5));
|
||||
|
||||
pattern = "foo*bar";
|
||||
results = list(parentNodeRef, -1, -1, 0, pattern, null);
|
||||
|
||||
Reference in New Issue
Block a user