Package org.camunda.bpm.qa.upgrade
Class UpgradeTestRule
- java.lang.Object
-
- org.junit.rules.TestWatcher
-
- org.camunda.bpm.engine.test.ProcessEngineRule
-
- org.camunda.bpm.qa.upgrade.UpgradeTestRule
-
- All Implemented Interfaces:
ProcessEngineServices
,org.junit.rules.TestRule
public class UpgradeTestRule extends ProcessEngineRule
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
scenarioName
protected java.lang.String
scenarioTestedByClass
protected java.lang.String
tag
-
Fields inherited from class org.camunda.bpm.engine.test.ProcessEngineRule
additionalDeployments, authorizationService, caseService, configurationResource, configurationResourceCompat, decisionService, deploymentId, ensureCleanAfterTest, externalTaskService, filterService, formService, historyService, identityService, managementService, processEngine, processEngineConfiguration, repositoryService, runtimeService, taskService
-
-
Constructor Summary
Constructors Constructor Description UpgradeTestRule()
UpgradeTestRule(java.lang.String configurationResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assertScenarioEnded()
CaseExecutionQuery
caseExecutionQuery()
CaseInstance
caseInstance()
CaseInstanceQuery
caseInstanceQuery()
ExecutionQuery
executionQuery()
java.lang.String
getBuisnessKey()
java.lang.String
getScenarioName()
java.lang.String
getTag()
HistoricIncidentQuery
historicIncidentQuery()
HistoricProcessInstance
historicProcessInstance()
IncidentQuery
incidentQuery()
JobDefinitionQuery
jobDefinitionQuery()
JobQuery
jobQuery()
MessageCorrelationBuilder
messageCorrelation(java.lang.String messageName)
ProcessInstance
processInstance()
ProcessInstanceQuery
processInstanceQuery()
void
setTag(java.lang.String tag)
void
starting(org.junit.runner.Description description)
TaskQuery
taskQuery()
-
Methods inherited from class org.camunda.bpm.engine.test.ProcessEngineRule
apply, clearServiceReferences, finished, getAuthorizationService, getCaseService, getConfigurationResource, getDecisionService, getExternalTaskService, getFilterService, getFormService, getHistoryService, getIdentityService, getManagementService, getProcessEngine, getProcessEngineConfiguration, getRepositoryService, getRuntimeService, getTaskService, initializeProcessEngine, initializeServices, manageDeployment, setAuthorizationService, setCaseService, setConfigurationResource, setCurrentTime, setDecisionService, setExternalTaskService, setFilterService, setFormService, setHistoricDataService, setHistoryService, setIdentityService, setManagementService, setProcessEngine, setProcessEngineConfiguration, setRepositoryService, setRuntimeService, setTaskService
-
-
-
-
Method Detail
-
starting
public void starting(org.junit.runner.Description description)
- Overrides:
starting
in classProcessEngineRule
-
taskQuery
public TaskQuery taskQuery()
-
executionQuery
public ExecutionQuery executionQuery()
-
jobQuery
public JobQuery jobQuery()
-
jobDefinitionQuery
public JobDefinitionQuery jobDefinitionQuery()
-
incidentQuery
public IncidentQuery incidentQuery()
-
processInstanceQuery
public ProcessInstanceQuery processInstanceQuery()
-
processInstance
public ProcessInstance processInstance()
-
historicProcessInstance
public HistoricProcessInstance historicProcessInstance()
-
historicIncidentQuery
public HistoricIncidentQuery historicIncidentQuery()
-
messageCorrelation
public MessageCorrelationBuilder messageCorrelation(java.lang.String messageName)
-
assertScenarioEnded
public void assertScenarioEnded()
-
caseInstanceQuery
public CaseInstanceQuery caseInstanceQuery()
-
caseExecutionQuery
public CaseExecutionQuery caseExecutionQuery()
-
caseInstance
public CaseInstance caseInstance()
-
getScenarioName
public java.lang.String getScenarioName()
-
getBuisnessKey
public java.lang.String getBuisnessKey()
-
getTag
public java.lang.String getTag()
-
setTag
public void setTag(java.lang.String tag)
-
-