Merged V3.0 to HEAD

12297: Fix mysql config instructions for case sensitive user names - DOC-68
  12298: Merged V2.2 to V3.0
    12257: Fixed ETWOTWO-952: MLText properties not intercepted when calling addAspect and createNode
    12270: Fixed RhinoScriptTest to propogate exceptions for full recording by Junit
    12271: Fixed NPE in ML interceptor when null node properties are passed to createNode
    12282: Merged V2.1 to V2.2
      11616: Fix for ETWOONE-218: Common.js function needs to be changed to support root context
    12287: Merged V2.1 to V2.2
      12229: WCM - disable/hide link validation by defrault (ETWOONE-106, ETWOONE-392)
  12301: Merged V2.2 to V3.0
    12288: Merged V2.1 to V2.2
      12233: Fixed ETWOONE-124: Add the property UUIDBinding to ImporterBootstrap


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12530 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2008-12-22 12:17:00 +00:00
parent eca46db62b
commit 38ba58dede
9 changed files with 284 additions and 69 deletions

View File

@@ -588,6 +588,26 @@ public abstract class BaseNodeServiceTest extends BaseSpringTest
{
value = new ContentData(null, MimetypeMap.EXTENSION_BINARY, 0L, "UTF-8");
}
else if (propertyTypeQName.equals(DataTypeDefinition.LOCALE))
{
value = Locale.CHINESE;
}
else if (propertyTypeQName.equals(DataTypeDefinition.BOOLEAN))
{
value = Boolean.TRUE;
}
else if (propertyTypeQName.equals(DataTypeDefinition.PATH))
{
value = new Path();
}
else if (propertyTypeQName.equals(DataTypeDefinition.QNAME))
{
value = TYPE_QNAME_EXTENDED_CONTENT;
}
else if (propertyTypeQName.equals(DataTypeDefinition.CATEGORY) || propertyTypeQName.equals(DataTypeDefinition.NODE_REF))
{
value = new NodeRef("workspace://SpacesStore/12345");
}
else
{
value = new Long(System.currentTimeMillis());