mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Another merge. I was bored.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2923 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -99,12 +99,14 @@ public class WebClientConfigTest extends BaseTest
|
||||
assertNotNull("createddate property config should not be null", createdDataProp);
|
||||
assertEquals("display label for createddate should be null", null, createdDataProp.getDisplayLabel());
|
||||
assertTrue("read only for createddate should be 'true'", createdDataProp.isReadOnly());
|
||||
assertTrue("ignoreIfMissing for createddate should be 'true'", createdDataProp.getIgnoreIfMissing());
|
||||
|
||||
ItemConfig iconProp = props.get("icon");
|
||||
assertNotNull("icon property config should not be null", iconProp);
|
||||
assertEquals("display label for icon should be null", null, iconProp.getDisplayLabel());
|
||||
assertEquals("component-generator", "SpaceIconPickerGenerator", iconProp.getComponentGenerator());
|
||||
assertFalse("read only for icon should be 'false'", iconProp.isReadOnly());
|
||||
assertFalse("ignoreIfMissing for icon should be 'false'", iconProp.getIgnoreIfMissing());
|
||||
|
||||
// test that a call to the generic getChildren call throws an error
|
||||
try
|
||||
@@ -277,6 +279,7 @@ public class WebClientConfigTest extends BaseTest
|
||||
assertFalse("icon should not be read-only", iconCfg.isReadOnly());
|
||||
assertTrue("icon should be shown in view mode", iconCfg.isShownInViewMode());
|
||||
assertTrue("icon should be shown in edit mode", iconCfg.isShownInEditMode());
|
||||
assertFalse("ignoreIfMissing for icon should be 'false'", iconCfg.getIgnoreIfMissing());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user