mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Better Null handling, ACE-4246
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@112631 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -405,7 +405,7 @@ public class ActionServiceImplTest extends BaseAlfrescoSpringTest
|
||||
assertTrue(this.nodeService.hasAspect(this.nodeRef, ContentModel.ASPECT_LOCKABLE));
|
||||
assertTrue(this.nodeService.hasAspect(this.nodeRef, ContentModel.ASPECT_VERSIONABLE));
|
||||
}
|
||||
|
||||
|
||||
public void testGetAndGetAllWithNoActions()
|
||||
{
|
||||
assertNull(this.actionService.getAction(this.nodeRef, AddFeaturesActionExecuter.NAME));
|
||||
@@ -413,6 +413,13 @@ public class ActionServiceImplTest extends BaseAlfrescoSpringTest
|
||||
assertNotNull(actions);
|
||||
assertEquals(0, actions.size());
|
||||
}
|
||||
|
||||
public void testExecuteActionWithNoParameterDef()
|
||||
{
|
||||
Action action = this.actionService.createAction("empty-action");
|
||||
this.actionService.executeAction(action, this.nodeRef);
|
||||
assertTrue("If we got here then the test is successful", true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test saving an action with no conditions. Includes testing storage and retrieval
|
||||
|
Reference in New Issue
Block a user