Class AppTestRunner
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
com.flowable.app.engine.test.impl.AppTestRunner
- All Implemented Interfaces:
org.junit.runner.Describable,org.junit.runner.manipulation.Filterable,org.junit.runner.manipulation.Sortable
public class AppTestRunner
extends org.junit.runners.BlockJUnit4ClassRunner
- Author:
- Tijs Rademakers
-
Field Summary
Fields Modifier and Type Field Description protected static AppEngineConfigurationappEngineConfiguration -
Constructor Summary
Constructors Constructor Description AppTestRunner(java.lang.Class<?> klass) -
Method Summary
Modifier and Type Method Description protected voidassertDatabaseEmpty(org.junit.runners.model.FrameworkMethod method)protected voiddeleteDeployment(java.lang.String deploymentId)protected java.lang.StringdeployAppDefinition(org.junit.runners.model.FrameworkMethod method)protected java.lang.StringgetAppDefinitionResource(org.junit.runners.model.FrameworkMethod method)static AppEngineConfigurationgetAppEngineConfiguration()protected voidrunChild(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)static voidsetAppEngineConfiguration(AppEngineConfiguration appEngineConfiguration)Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
-
Field Details
-
Constructor Details
-
AppTestRunner
public AppTestRunner(java.lang.Class<?> klass) throws org.junit.runners.model.InitializationError- Throws:
org.junit.runners.model.InitializationError
-
-
Method Details
-
getAppEngineConfiguration
-
setAppEngineConfiguration
-
runChild
protected void runChild(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)- Overrides:
runChildin classorg.junit.runners.BlockJUnit4ClassRunner
-
deployAppDefinition
protected java.lang.String deployAppDefinition(org.junit.runners.model.FrameworkMethod method) -
getAppDefinitionResource
protected java.lang.String getAppDefinitionResource(org.junit.runners.model.FrameworkMethod method) -
deleteDeployment
protected void deleteDeployment(java.lang.String deploymentId) -
assertDatabaseEmpty
protected void assertDatabaseEmpty(org.junit.runners.model.FrameworkMethod method)
-