org.camunda.bpm.engine.spring.impl.test
Class SpringProcessEngineTestCase

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.spring.impl.test.SpringProcessEngineTestCase
All Implemented Interfaces:
junit.framework.Test, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@TestExecutionListeners(value=org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class)
public class SpringProcessEngineTestCase
extends AbstractProcessEngineTestCase
implements org.springframework.context.ApplicationContextAware

Author:
Joram Barrez

Field Summary
protected  org.springframework.context.ApplicationContext applicationContext
           
protected static Map<String,ProcessEngine> cachedProcessEngines
           
protected  org.springframework.test.context.TestContextManager testContextManager
           
 
Fields inherited from class org.camunda.bpm.engine.impl.test.AbstractProcessEngineTestCase
authorizationService, caseService, deploymentId, exception, filterService, formService, historyService, identityService, managementService, processEngine, processEngineConfiguration, repositoryService, runtimeService, taskService, threadRenderingMode
 
Fields inherited from class org.camunda.bpm.engine.impl.test.PvmTestCase
DEFAULT_THREAD_LOG_MODE, EMPTY_LINE, isEmptyLinesEnabled, log
 
Constructor Summary
SpringProcessEngineTestCase()
           
 
Method Summary
protected  String createProcessEngineKey(org.springframework.test.context.ContextConfiguration contextConfiguration)
           
protected  void initializeProcessEngine()
           
 void runBare()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.test.AbstractProcessEngineTestCase
areJobsAvailable, assertAndEnsureCleanDb, assertCaseEnded, assertProcessEnded, assertProcessNotEnded, clearServiceReferences, closeDownProcessEngine, deployment, executeAvailableJobs, getInstancesForActivitiyId, getInstancesForActivityId, initializeServices, runAsUser, waitForJobExecutorOnCondition, waitForJobExecutorOnCondition, waitForJobExecutorToProcessAllJobs, waitForJobExecutorToProcessAllJobs
 
Methods inherited from class org.camunda.bpm.engine.impl.test.PvmTestCase
assertTextPresent, assertTextPresentIgnoreCase, runTest
 
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, setName, setUp, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cachedProcessEngines

protected static Map<String,ProcessEngine> cachedProcessEngines

testContextManager

protected org.springframework.test.context.TestContextManager testContextManager

applicationContext

@Autowired
protected org.springframework.context.ApplicationContext applicationContext
Constructor Detail

SpringProcessEngineTestCase

public SpringProcessEngineTestCase()
Method Detail

runBare

public void runBare()
             throws Throwable
Overrides:
runBare in class AbstractProcessEngineTestCase
Throws:
Throwable

initializeProcessEngine

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

createProcessEngineKey

protected String createProcessEngineKey(org.springframework.test.context.ContextConfiguration contextConfiguration)

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware


Copyright © 2015 camunda services GmbH. All rights reserved.