CrossRepositoryCopyService now can copy from AVM to Repo.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5025 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-02-02 18:47:26 +00:00
parent 29e3335cad
commit f80282893b
2 changed files with 55 additions and 0 deletions

View File

@@ -237,6 +237,10 @@ public class AVMServiceTest extends AVMServiceTestBase
desc = fService.lookup(-1, "main:/Guest Home");
assertTrue(desc.isDirectory());
System.out.println(this.recursiveList("main", -1, true));
copyService.copy(AVMNodeConverter.ToNodeRef(-1, "main:/a"), toCopy.getFirst(), "a");
Pair<NodeRef, Boolean> theCopy = remoteService.lookup(toCopy.getFirst(), "a");
assertTrue(theCopy.getSecond());
remoteService.removeNode(theCopy.getFirst());
}
catch (Exception e)
{