mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fixed unit test: property map is never null any more
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14330 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -68,7 +68,8 @@ public class ConstraintsTest extends TestCase
|
||||
assertEquals("DummyConstraint type should be 'org.alfresco.repo.dictionary.constraint.ConstraintsTest$DummyConstraint'",
|
||||
"org.alfresco.repo.dictionary.constraint.ConstraintsTest$DummyConstraint",
|
||||
constraint.getType());
|
||||
assertNull("DummyConstraint should not have parameters", constraint.getParameters());
|
||||
assertNotNull("DummyConstraint should not have empty parameters", constraint.getParameters());
|
||||
assertEquals("DummyConstraint should not have empty parameters", 0, constraint.getParameters().size());
|
||||
|
||||
List<Object> dummyObjects = new ArrayList<Object>(3);
|
||||
dummyObjects.add("ABC"); // correct
|
||||
|
Reference in New Issue
Block a user