use of com.adaptris.core.WorkflowList in project interlok by adaptris.
the class WorkflowLifecycleStrategyCase method testInitNoStrategy.
@Test
public void testInitNoStrategy() throws Exception {
WorkflowList wfl = new WorkflowList();
wfl.add(createWorkflow(idGenerator.create(wfl)));
createChannel(wfl).requestInit();
}
use of com.adaptris.core.WorkflowList in project interlok by adaptris.
the class WorkflowLifecycleStrategyCase method testStopNoStrategy.
@Test
public void testStopNoStrategy() throws Exception {
WorkflowList wfl = new WorkflowList();
wfl.add(createWorkflow(idGenerator.create(wfl)));
Channel c = createChannel(wfl);
c.requestStart();
c.requestStop();
}
use of com.adaptris.core.WorkflowList in project interlok by adaptris.
the class WorkflowLifecycleStrategyCase method testStart.
@Test
public void testStart() throws Exception {
WorkflowList wfl = new WorkflowList();
wfl.add(createWorkflow(idGenerator.create(wfl)));
wfl.setLifecycleStrategy(createStrategy());
createChannel(wfl).requestStart();
}
use of com.adaptris.core.WorkflowList in project interlok by adaptris.
the class WorkflowLifecycleStrategyCase method testCloseNoStrategy.
@Test
public void testCloseNoStrategy() throws Exception {
WorkflowList wfl = new WorkflowList();
wfl.add(createWorkflow(idGenerator.create(wfl)));
Channel c = createChannel(wfl);
c.requestStart();
c.requestClose();
}
use of com.adaptris.core.WorkflowList in project interlok by adaptris.
the class WorkflowLifecycleStrategyCase method testClose.
@Test
public void testClose() throws Exception {
WorkflowList wfl = new WorkflowList();
wfl.add(createWorkflow(idGenerator.create(wfl)));
wfl.setLifecycleStrategy(createStrategy());
Channel c = createChannel(wfl);
c.requestStart();
c.requestClose();
}
Aggregations