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 String
scenarioName
protected String
scenarioTestedByClass
protected 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(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()
String
getBuisnessKey()
String
getScenarioName()
String
getTag()
HistoricIncidentQuery
historicIncidentQuery()
HistoricProcessInstance
historicProcessInstance()
IncidentQuery
incidentQuery()
JobDefinitionQuery
jobDefinitionQuery()
JobQuery
jobQuery()
MessageCorrelationBuilder
messageCorrelation(String messageName)
ProcessInstance
processInstance()
ProcessInstanceQuery
processInstanceQuery()
void
setTag(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
-
-
-
-
Constructor Detail
-
UpgradeTestRule
public UpgradeTestRule()
-
UpgradeTestRule
public UpgradeTestRule(String configurationResource)
-
-
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(String messageName)
-
assertScenarioEnded
public void assertScenarioEnded()
-
caseInstanceQuery
public CaseInstanceQuery caseInstanceQuery()
-
caseExecutionQuery
public CaseExecutionQuery caseExecutionQuery()
-
caseInstance
public CaseInstance caseInstance()
-
getScenarioName
public String getScenarioName()
-
getBuisnessKey
public String getBuisnessKey()
-
getTag
public String getTag()
-
setTag
public void setTag(String tag)
-
-