mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added getContentReader and createContentWriter to AVMService. Also added convenience
getDirectoryListingArray() calls which return listings as arrays instead of Maps. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4377 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -2038,6 +2038,9 @@ public class AVMServiceTest extends AVMServiceTestBase
|
||||
list = new ArrayList<String>(listing.keySet());
|
||||
assertEquals("bar.txt", list.get(0));
|
||||
assertEquals("foo.txt", list.get(1));
|
||||
AVMNodeDescriptor [] arrayListing = fService.getDirectoryListingArray(-1, "main:/d/b", false);
|
||||
assertEquals("bar.txt", arrayListing[0].getName());
|
||||
assertEquals("foo.txt", arrayListing[1].getName());
|
||||
fService.rename("main:/", "c", "main:/", "e");
|
||||
fService.createSnapshot("main", null, null);
|
||||
System.out.println(recursiveList("main", -1, true));
|
||||
|
Reference in New Issue
Block a user