Fairly complete test coverage of basic sanity type operations: createFile, createDirectory,

createBranch, createLayeredDirectory, createLayeredFile, rename, delete, read, write, snapshot,
listDirectory.  Rename, createLayeredDirectory, createBranch all tested across repositories also. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2940 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-05-22 19:03:46 +00:00
parent 11037b2451
commit bd0752eb4a
11 changed files with 342 additions and 47 deletions

View File

@@ -120,7 +120,15 @@ public class Lookup
}
else
{
comp.setIndirection(fComponents.get(fPosition).getIndirection() + "/" + name);
String parentIndirection = fComponents.get(fPosition).getIndirection();
if (parentIndirection.endsWith("/"))
{
comp.setIndirection(parentIndirection + name);
}
else
{
comp.setIndirection(parentIndirection + "/" + name);
}
}
fLayeredYet = true;
// Record the first layer seen.
@@ -278,7 +286,6 @@ public class Lookup
public String getCurrentIndirection()
{
String value = fComponents.get(fPosition).getIndirection();
System.err.println(value);
return value;
}