Exemplo n.º 1
0
  @Test
  public void testProcessEngineInfo() {

    List<ProcessEngineInfo> processEngineInfos = ProcessEngines.getProcessEngineInfos();
    assertEquals(1, processEngineInfos.size());

    ProcessEngineInfo processEngineInfo = processEngineInfos.get(0);
    assertNull(processEngineInfo.getException());
    assertNotNull(processEngineInfo.getName());
    assertNotNull(processEngineInfo.getResourceUrl());

    ProcessEngine processEngine = ProcessEngines.getProcessEngine(ProcessEngines.NAME_DEFAULT);
    assertNotNull(processEngine);
  }
Exemplo n.º 2
0
 @After
 public void close() throws Exception {
   ProcessEngines.destroy();
 }
Exemplo n.º 3
0
 @Before
 public void open() throws Exception {
   ProcessEngines.init();
 }