| |
|
| org.emforge.tests.BaseUnitTest org.emforge.jbpm.BpmServiceTest
BpmServiceTest | public class BpmServiceTest extends BaseUnitTest (Code) | | Unit Test for testing BPM Service functionality
|
afterInTransaction | public void afterInTransaction()(Code) | | Check how transactions is working
Inside transation we should have user 'developer1'
|
afterTransaction | public void afterTransaction()(Code) | | Check how transactions is working
But outsie transaction we should have no any user
|
initWorkflow | protected void initWorkflow() throws Exception(Code) | | Since this method used transactional Service we cannot put it into @Before
As far as changes done here will not be rolled-back
throws: IOException - throws: EmForgeException - |
testEmptyMilestone | public void testEmptyMilestone() throws EmForgeException(Code) | | Test for not-specified variable
Milestone is required - if we will not specify milestone - it should produce exception
|
testEmptyTitle | public void testEmptyTitle() throws EmForgeException(Code) | | If we trying start task with empty title - we should get EmForge exception!
|
testIncorrectVarValue | public void testIncorrectVarValue() throws EmForgeException(Code) | | Test for incorrect user.
Lets try to set not-allowed user into "AssignTo_Developer" variable
bpmService should check, that incorrect value tryed to be set and throws Error
|
testStartStep | public void testStartStep() throws EmForgeException(Code) | | Test to check values, returned for start step
|
testWorkflowHistory | public void testWorkflowHistory() throws Exception(Code) | | |
|
|
|