org.camunda.bpm.engine.impl.test
Class PluggableProcessEngineTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.camunda.bpm.engine.impl.test.PvmTestCase
              extended by org.camunda.bpm.engine.impl.test.AbstractProcessEngineTestCase
                  extended by org.camunda.bpm.engine.impl.test.PluggableProcessEngineTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
CmmnProcessEngineTestCase

public class PluggableProcessEngineTestCase
extends AbstractProcessEngineTestCase

Base class for the process engine test cases. The main reason not to use our own test support classes is that we need to run our test suite with various configurations, e.g. with and without spring, standalone or on a server etc. Those requirements create some complications so we think it's best to use a separate base class. That way it is much easier for us to maintain our own codebase and at the same time provide stability on the test support classes that we offer as part of our api (in org.camunda.bpm.engine.test).

Author:
Tom Baeyens, Joram Barrez

Field Summary
protected static ProcessEngine cachedProcessEngine
           
 
Fields inherited from class org.camunda.bpm.engine.impl.test.AbstractProcessEngineTestCase
authorizationService, caseService, decisionService, deploymentId, exception, externalTaskService, filterService, formService, historyService, identityService, managementService, processEngine, processEngineConfiguration, repositoryService, runtimeService, taskService
 
Constructor Summary
PluggableProcessEngineTestCase()
           
 
Method Summary
static ProcessEngine getProcessEngine()
           
protected  void initializeProcessEngine()
           
 
Methods inherited from class org.camunda.bpm.engine.impl.test.AbstractProcessEngineTestCase
areJobsAvailable, assertCaseEnded, assertProcessEnded, assertProcessNotEnded, clearServiceReferences, closeDownProcessEngine, deployment, executeAvailableJobs, executeAvailableJobs, getInstancesForActivitiyId, getInstancesForActivityId, initializeServices, runAsUser, runBare, waitForJobExecutorOnCondition, waitForJobExecutorOnCondition, waitForJobExecutorToProcessAllJobs, waitForJobExecutorToProcessAllJobs
 
Methods inherited from class org.camunda.bpm.engine.impl.test.PvmTestCase
assertTextPresent, assertTextPresentIgnoreCase
 
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cachedProcessEngine

protected static ProcessEngine cachedProcessEngine
Constructor Detail

PluggableProcessEngineTestCase

public PluggableProcessEngineTestCase()
Method Detail

initializeProcessEngine

protected void initializeProcessEngine()
Specified by:
initializeProcessEngine in class AbstractProcessEngineTestCase

getProcessEngine

public static ProcessEngine getProcessEngine()


Copyright © 2016 camunda services GmbH. All rights reserved.