A handful of more involved tests. Surprisingly few things needed fixing.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2962 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-05-23 22:47:15 +00:00
parent a5d07e1069
commit d800048a10
13 changed files with 318 additions and 20 deletions

View File

@@ -120,7 +120,8 @@ public class LayeredDirectoryNode extends DirectoryNode implements Layered
}
/**
* Construct one from a PlainDirectoryNode.
* Construct one from a PlainDirectoryNode. Called when a COW is performed in a layered
* context.
* @param other The PlainDirectoryNode.
* @param repos The Repository we should belong to.
* @param lPath The Lookup object.
@@ -129,6 +130,7 @@ public class LayeredDirectoryNode extends DirectoryNode implements Layered
Repository repos,
Lookup lPath)
{
// TODO Fix this yada, yada.
BasicAttributesBean attrs = new BasicAttributesBeanImpl(other.getDataBean().getBasicAttributes());
long time = System.currentTimeMillis();
attrs.setModDate(time);