mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merge from SEAMIST3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10730 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -34,9 +34,8 @@ public class CMISDictionaryTest extends BaseCMISTest
|
||||
System.out.println(name);
|
||||
}
|
||||
assertEquals(3, cmisDictionaryService.getAllObjectTypeIds().size());
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void testBasicTypeDefinitions()
|
||||
{
|
||||
cmisDictionaryService.setStrict(false);
|
||||
@@ -44,7 +43,21 @@ public class CMISDictionaryTest extends BaseCMISTest
|
||||
{
|
||||
System.out.println(cmisDictionaryService.getType(name));
|
||||
}
|
||||
}
|
||||
|
||||
public void testTypeIds()
|
||||
{
|
||||
cmisDictionaryService.setStrict(false);
|
||||
for (CMISTypeId name : cmisDictionaryService.getAllObjectTypeIds())
|
||||
{
|
||||
String typeId = name.getTypeId();
|
||||
CMISTypeId lookup = cmisMapping.getCmisTypeId(typeId);
|
||||
assertEquals(name, lookup);
|
||||
System.out.println(name + " => " + lookup);
|
||||
CMISTypeDefinition type = cmisDictionaryService.getType(lookup);
|
||||
assertNotNull(type);
|
||||
assertEquals(lookup, type.getObjectTypeId());
|
||||
}
|
||||
}
|
||||
|
||||
public void testBasicProperties()
|
||||
@@ -57,7 +70,6 @@ public class CMISDictionaryTest extends BaseCMISTest
|
||||
System.out.println(name +" -> "+ propertyName);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void testBasicPropertyDefinitions()
|
||||
@@ -71,7 +83,6 @@ public class CMISDictionaryTest extends BaseCMISTest
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
cmisDictionaryService.setStrict(false);
|
||||
for (CMISTypeId name : cmisDictionaryService.getAllObjectTypeIds())
|
||||
{
|
||||
@@ -80,6 +91,5 @@ public class CMISDictionaryTest extends BaseCMISTest
|
||||
System.out.println(proDef);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user