mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merge Sabre4 to HEAD
110956: Adding additional test coverage to ActionService RA-507 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@111196 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -199,6 +199,12 @@ public class ActionServiceImplTest extends BaseAlfrescoSpringTest
|
||||
ActionCondition condition = this.actionService.createActionCondition(NoConditionEvaluator.NAME);
|
||||
assertNotNull(condition);
|
||||
assertEquals(NoConditionEvaluator.NAME, condition.getActionConditionDefinitionName());
|
||||
|
||||
Map<String, Serializable> params = new HashMap<>(0);
|
||||
condition = this.actionService.createActionCondition(NoConditionEvaluator.NAME, params);
|
||||
assertNotNull(condition);
|
||||
assertEquals(NoConditionEvaluator.NAME, condition.getActionConditionDefinitionName());
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -219,6 +225,11 @@ public class ActionServiceImplTest extends BaseAlfrescoSpringTest
|
||||
Action action = this.actionService.createAction(AddFeaturesActionExecuter.NAME);
|
||||
assertNotNull(action);
|
||||
assertEquals(AddFeaturesActionExecuter.NAME, action.getActionDefinitionName());
|
||||
|
||||
Map<String, Serializable> params = new HashMap<>(0);
|
||||
action = this.actionService.createAction(AddFeaturesActionExecuter.NAME, params);
|
||||
assertNotNull(action);
|
||||
assertEquals(AddFeaturesActionExecuter.NAME, action.getActionDefinitionName());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user