Index

A B C D E G H I J L M O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractJUnit5TestCase<T> - Class in org.camunda.community.bpmndt.api
Abstract superclass for JUnit 5 based test cases.
AbstractJUnit5TestCase() - Constructor for class org.camunda.community.bpmndt.api.AbstractJUnit5TestCase
 
AbstractTestCase<T> - Class in org.camunda.community.bpmndt.api
Abstract superclass for test cases.
AbstractTestCase() - Constructor for class org.camunda.community.bpmndt.api.AbstractTestCase
 
accept(JavaFile) - Method in class org.camunda.community.bpmndt.cmd.WriteJavaFile
 
accept(Class<?>) - Method in class org.camunda.community.bpmndt.cmd.WriteJavaType
 
accept(List<GeneratorStrategy>, MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.cmd.BuildTestCaseExecution
 
accept(GeneratorContext) - Method in class org.camunda.community.bpmndt.cmd.GenerateSpringConfiguration
 
accept(TestCaseActivity) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceHandler
 
accept(TestCaseActivityScope) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceScopeHandler
 
accept(TestCaseContext) - Method in class org.camunda.community.bpmndt.cmd.GenerateTestCase
 
activity - Variable in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
addAdditionalFile(JavaFile) - Method in class org.camunda.community.bpmndt.GeneratorResult
 
addFile(JavaFile) - Method in class org.camunda.community.bpmndt.GeneratorResult
 
addHandlerField(TypeSpec.Builder) - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Adds a handler field to the class, if the activity is handled by a handler - e.g.:
addHandlerField(TypeSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultHandlerStrategy
 
addHandlerField(TypeSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
addHandlerField(TypeSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceStrategy
 
addHandlerFieldAfter(TypeSpec.Builder) - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Adds a JobHandler field to the class, if an asynchronous continuation is configured after the activity - e.g.:
addHandlerFieldAfter(TypeSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
addHandlerFieldBefore(TypeSpec.Builder) - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Adds a JobHandler field to the class, if an asynchronous continuation is configured before the activity - e.g.:
addHandlerFieldBefore(TypeSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
addHandlerFields(List<GeneratorStrategy>, TypeSpec.Builder) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceScopeHandler
 
addHandlerFields(List<GeneratorStrategy>, TypeSpec.Builder) - Method in class org.camunda.community.bpmndt.cmd.GenerateTestCase
 
addHandlerMethod(TypeSpec.Builder) - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Adds a "handle" method to the class, if the activity is handled by a handler - e.g.:
addHandlerMethod(TypeSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultHandlerStrategy
 
addHandlerMethod(TypeSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
addHandlerMethod(TypeSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceStrategy
 
addHandlerMethodAfter(TypeSpec.Builder) - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Adds a method to the class, which provides a JobHandler, if an asynchronous continuation is configured after the activity - e.g.:
addHandlerMethodAfter(TypeSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
addHandlerMethodBefore(TypeSpec.Builder) - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Adds a method to the class, which provides a JobHandler, if an asynchronous continuation is configured before the activity - e.g.:
addHandlerMethodBefore(TypeSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
addHandlerMethods(List<GeneratorStrategy>, TypeSpec.Builder) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceScopeHandler
 
addHandlerMethods(List<GeneratorStrategy>, TypeSpec.Builder) - Method in class org.camunda.community.bpmndt.cmd.GenerateTestCase
 
addMultiInstanceActivity(TestCaseActivity) - Method in class org.camunda.community.bpmndt.TestCaseContext
 
addMultiInstanceScope(TestCaseActivityScope) - Method in class org.camunda.community.bpmndt.TestCaseContext
 
addStrategy(GeneratorStrategy) - Method in class org.camunda.community.bpmndt.TestCaseContext
 
afterEach() - Method in class org.camunda.community.bpmndt.api.AbstractTestCase
Performs the teardown for an test case execution.
afterEach(ExtensionContext) - Method in class org.camunda.community.bpmndt.api.AbstractJUnit5TestCase
 
afterPropertiesSet() - Method in class org.camunda.community.bpmndt.api.cfg.SpringConfiguration
 
apply(Path) - Method in class org.camunda.community.bpmndt.cmd.CollectBpmnFiles
 
apply(ProcessInstance) - Method in class org.camunda.community.bpmndt.api.EventHandler
 
apply(ProcessInstance) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
 
apply(ProcessInstance) - Method in class org.camunda.community.bpmndt.api.JobHandler
 
apply(ProcessInstance) - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
 
apply(ProcessInstance) - Method in class org.camunda.community.bpmndt.api.MultiInstanceScopeHandler
 
apply(ProcessInstance) - Method in class org.camunda.community.bpmndt.api.UserTaskHandler
 
apply(ProcessInstance, int) - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Applies the multi instance loop for the given index.
apply(ProcessInstance, int) - Method in class org.camunda.community.bpmndt.api.MultiInstanceScopeHandler
Applies the multi instance loop for the given index.
apply(Process) - Method in class org.camunda.community.bpmndt.cmd.CollectBpmnFlowNodes
 
apply(EventHandler) - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
apply(ExternalTaskHandler) - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
apply(JobHandler) - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
apply(MultiInstanceHandler<?, ?>) - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
apply(MultiInstanceScopeHandler<?>) - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
apply(UserTaskHandler) - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
apply(GeneratorContext) - Method in class org.camunda.community.bpmndt.cmd.BuildGetProcessEnginePlugins
 
apply(GeneratorContext) - Method in class org.camunda.community.bpmndt.cmd.DeleteTestSources
 
apply(TestCase) - Method in class org.camunda.community.bpmndt.cmd.BuildTestCaseContext
 
apply(TestCaseContext, List<TestCaseActivity>) - Method in class org.camunda.community.bpmndt.cmd.GetStrategies
 
applyHandler(MethodSpec.Builder) - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Adds code to the execute/apply method, if the activity is handled by a handler and a wait state - e.g.:
applyHandler(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultHandlerStrategy
 
applyHandler(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
applyHandler(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceScopeStrategy
 
applyHandler(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceStrategy
 
applyHandlerAfter(MethodSpec.Builder) - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Adds code to the execute/apply method, if an asynchronous continuation is configured after the activity - e.g.:
applyHandlerAfter(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
applyHandlerAfter(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceStrategy
 
applyHandlerBefore(MethodSpec.Builder) - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Adds code to the execute/apply method, if an asynchronous continuation is configured before the activity - e.g.:
applyHandlerBefore(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
applyHandlerBefore(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceStrategy
 

B

beforeEach() - Method in class org.camunda.community.bpmndt.api.AbstractTestCase
Performs the setup for an test case execution by creating a TestCaseInstance and deploying the related BPMN resources.
beforeEach(ExtensionContext) - Method in class org.camunda.community.bpmndt.api.AbstractJUnit5TestCase
 
binding - Variable in class org.camunda.community.bpmndt.api.CallActivityDefinition
 
BoundaryEventStrategy - Class in org.camunda.community.bpmndt.strategy
Strategy for boundary conditional, message and signal events.
BoundaryEventStrategy(TestCaseActivity) - Constructor for class org.camunda.community.bpmndt.strategy.BoundaryEventStrategy
 
BoundaryJobStrategy - Class in org.camunda.community.bpmndt.strategy
Strategy for boundary timer events.
BoundaryJobStrategy(TestCaseActivity) - Constructor for class org.camunda.community.bpmndt.strategy.BoundaryJobStrategy
 
BPMN_EXTENSION - Static variable in class org.camunda.community.bpmndt.Constants
 
BpmndtParseListener - Class in org.camunda.community.bpmndt.api.cfg
Custom BPMN parse listener that: 1.
BpmndtParseListener() - Constructor for class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
 
BpmndtProcessEnginePlugin - Class in org.camunda.community.bpmndt.api.cfg
Plugin to configure a BPMN Driven Testing conform process engine, used to execute generated test cases.
BpmndtProcessEnginePlugin() - Constructor for class org.camunda.community.bpmndt.api.cfg.BpmndtProcessEnginePlugin
 
buildApply(TestCaseActivity) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceHandler
 
buildApply(TestCaseActivityScope, List<GeneratorStrategy>) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceScopeHandler
 
buildBeforeEach(List<GeneratorStrategy>) - Method in class org.camunda.community.bpmndt.cmd.GenerateTestCase
Overrides the beforeEach method of the AbstractTestCase to initialize the activity handlers (e.g.
buildClassName(String) - Method in class org.camunda.community.bpmndt.cmd.BuildGetProcessEnginePlugins
 
buildConstructor(List<GeneratorStrategy>) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceScopeHandler
 
buildConstructor(TestCaseActivity) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceHandler
 
buildCreateHandler(TestCaseActivity) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceHandler
 
buildCreateHandler(TestCaseActivity, String) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceScopeHandler
 
buildExecute(TestCaseContext, List<GeneratorStrategy>) - Method in class org.camunda.community.bpmndt.cmd.GenerateTestCase
 
buildGetBpmnResourceName(GeneratorContext, TestCaseContext) - Method in class org.camunda.community.bpmndt.cmd.GenerateTestCase
 
buildGetEnd(TestCaseContext) - Method in class org.camunda.community.bpmndt.cmd.GenerateTestCase
 
buildGetHandler(TestCaseActivity, String) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceScopeHandler
 
buildGetProcessDefinitionKey(TestCaseContext) - Method in class org.camunda.community.bpmndt.cmd.GenerateTestCase
 
BuildGetProcessEnginePlugins - Class in org.camunda.community.bpmndt.cmd
 
BuildGetProcessEnginePlugins() - Constructor for class org.camunda.community.bpmndt.cmd.BuildGetProcessEnginePlugins
 
buildGetStart(TestCaseContext) - Method in class org.camunda.community.bpmndt.cmd.GenerateTestCase
 
buildHandle(TestCaseActivity, String) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceScopeHandler
 
buildHandleBoundaryEvent(TestCaseActivity) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceHandler
 
buildHandleDefault(TestCaseActivity, String) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceScopeHandler
 
buildHandlerMethodJavadoc() - Method in class org.camunda.community.bpmndt.strategy.BoundaryEventStrategy
 
buildHandlerMethodJavadoc() - Method in class org.camunda.community.bpmndt.strategy.BoundaryJobStrategy
 
buildHandlerMethodJavadoc() - Method in class org.camunda.community.bpmndt.strategy.DefaultHandlerStrategy
 
buildHandlerMethodJavadoc() - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceScopeStrategy
 
buildHandlerMethodJavadoc() - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceStrategy
 
buildHandlerMethodName(String) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
buildIsProcessEnd() - Method in class org.camunda.community.bpmndt.cmd.GenerateTestCase
 
buildIsSequential() - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceHandler
 
buildIsSequential() - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceScopeHandler
 
buildIsSpringEnabled() - Method in class org.camunda.community.bpmndt.cmd.GenerateTestCase
 
buildJavadoc(TestCaseContext) - Method in class org.camunda.community.bpmndt.cmd.GenerateTestCase
 
buildProcessEngine() - Method in class org.camunda.community.bpmndt.api.AbstractTestCase
Builds the process engine, used to execute the test case.
BuildTestCaseContext - Class in org.camunda.community.bpmndt.cmd
Builds a new test case context, used for code generation.
BuildTestCaseContext(GeneratorContext, Path) - Constructor for class org.camunda.community.bpmndt.cmd.BuildTestCaseContext
 
BuildTestCaseExecution - Class in org.camunda.community.bpmndt.cmd
 
BuildTestCaseExecution(TestCaseContext) - Constructor for class org.camunda.community.bpmndt.cmd.BuildTestCaseExecution
 
businessKey - Variable in class org.camunda.community.bpmndt.api.CallActivityDefinition
 

C

CALL_ACTIVITY - Static variable in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
CallActivityDefinition - Class in org.camunda.community.bpmndt.api
Represents a concrete call activity during test case execution.
CallActivityDefinition() - Constructor for class org.camunda.community.bpmndt.api.CallActivityDefinition
 
CallActivityHandler - Class in org.camunda.community.bpmndt.api
Fluent API to handle call activities.
CallActivityHandler(TestCaseInstance, String) - Constructor for class org.camunda.community.bpmndt.api.CallActivityHandler
 
CallActivityStrategy - Class in org.camunda.community.bpmndt.strategy
 
CallActivityStrategy(TestCaseActivity) - Constructor for class org.camunda.community.bpmndt.strategy.CallActivityStrategy
 
clear() - Method in class org.camunda.community.bpmndt.GeneratorResult
 
collect(List<FlowNode>, Collection<FlowElement>) - Method in class org.camunda.community.bpmndt.cmd.CollectBpmnFlowNodes
 
CollectBpmnFiles - Class in org.camunda.community.bpmndt.cmd
Collects the paths of all BPMN files within the project's resource directory (src/main/resources).
CollectBpmnFiles() - Constructor for class org.camunda.community.bpmndt.cmd.CollectBpmnFiles
 
CollectBpmnFlowNodes - Class in org.camunda.community.bpmndt.cmd
Collects all BPMN flow nodes under a given BPMN process element - this includes the flow nodes of all (embedded) sub processes.
CollectBpmnFlowNodes() - Constructor for class org.camunda.community.bpmndt.cmd.CollectBpmnFlowNodes
 
collectSubProcesses(List<FlowNode>, Collection<SubProcess>) - Method in class org.camunda.community.bpmndt.cmd.CollectBpmnFlowNodes
 
complete() - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Completes the external task, which is locked for 60 seconds by calling complete, using the specified variables and local variables, when the process instance is waiting at the corresponding activity.
complete() - Method in class org.camunda.community.bpmndt.api.UserTaskHandler
Completes the user task with an action that calls complete, when the process instance is waiting at the corresponding activity.
complete(ExternalTask) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
 
complete(Task) - Method in class org.camunda.community.bpmndt.api.UserTaskHandler
 
Constants - Class in org.camunda.community.bpmndt
Please note: This constants cannot be used within the API classes nor within the generated test code, since this class will not be available in the test classpath of the target project.
createExecutor() - Method in class org.camunda.community.bpmndt.api.AbstractTestCase
Creates a new executor, used to specify variables, business key and/or mocks that are considered during test case execution.
createHandler(int) - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Creates a new activity handler.
createHandlerAfter(int) - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Creates a new job handler for the asynchronous continuation after the activity.
createHandlerBefore(int) - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Creates a new job handler for the asynchronous continuation before the activity.
customize(Consumer<CallActivityHandler>) - Method in class org.camunda.community.bpmndt.api.CallActivityHandler
Customizes the handler, using the given Consumer function.
customize(Consumer<EventHandler>) - Method in class org.camunda.community.bpmndt.api.EventHandler
Customizes the handler, using the given Consumer function.
customize(Consumer<ExternalTaskHandler>) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Customizes the handler, using the given Consumer function.
customize(Consumer<JobHandler>) - Method in class org.camunda.community.bpmndt.api.JobHandler
Customizes the handler, using the given Consumer function.
customize(Consumer<MultiInstanceHandler<T, U>>) - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Customizes the handler, using the given Consumer function.
customize(Consumer<MultiInstanceScopeHandler<T>>) - Method in class org.camunda.community.bpmndt.api.MultiInstanceScopeHandler
Customizes the handler, using the given Consumer function.
customize(Consumer<TestCaseExecutor>) - Method in class org.camunda.community.bpmndt.api.TestCaseExecutor
Customizes the executor, using the given Consumer function.
customize(Consumer<UserTaskHandler>) - Method in class org.camunda.community.bpmndt.api.UserTaskHandler
Customizes the handler, using the given Consumer function.

D

DefaultHandlerStrategy - Class in org.camunda.community.bpmndt.strategy
Default strategy for all handled activities, that provide a fluent handler API.
DefaultHandlerStrategy(TestCaseActivity) - Constructor for class org.camunda.community.bpmndt.strategy.DefaultHandlerStrategy
 
DefaultStrategy - Class in org.camunda.community.bpmndt.strategy
Default strategy, used for all unhandled activities (with type TestCaseActivityType.OTHER).
DefaultStrategy(TestCaseActivity) - Constructor for class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
definitionKey - Variable in class org.camunda.community.bpmndt.api.CallActivityDefinition
 
definitionTenantId - Variable in class org.camunda.community.bpmndt.api.CallActivityDefinition
 
DeleteTestSources - Class in org.camunda.community.bpmndt.cmd
 
DeleteTestSources() - Constructor for class org.camunda.community.bpmndt.cmd.DeleteTestSources
 
deploy(String, InputStream) - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
deploy(String, String) - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 

E

end - Variable in class org.camunda.community.bpmndt.api.TestCaseInstance
 
equals(Object) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
EVENT - Static variable in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
EventHandler - Class in org.camunda.community.bpmndt.api
Fluent API to handle conditional, message and signal intermediate catch or boundary events.
Please note: Since conditional events rely on an expression to evaluate true, their wait state cannot be handled automatically - set variables or use EventHandler.execute(Consumer) with a custom action, if the variable event is delete.
EventHandler(ProcessEngine, String, String) - Constructor for class org.camunda.community.bpmndt.api.EventHandler
 
eventReceived() - Method in class org.camunda.community.bpmndt.api.EventHandler
Continues the waiting execution with an action that calls messageEventReceived, signalEventReceived or setVariables (depending on the actual event type).
eventReceived(EventSubscription) - Method in class org.camunda.community.bpmndt.api.EventHandler
 
EventStrategy - Class in org.camunda.community.bpmndt.strategy
 
EventStrategy(TestCaseActivity) - Constructor for class org.camunda.community.bpmndt.strategy.EventStrategy
 
execute() - Method in class org.camunda.community.bpmndt.api.JobHandler
Executes the job with an action that calls executeJob, when the process instance is waiting at the corresponding activity.
execute() - Method in class org.camunda.community.bpmndt.api.TestCaseExecutor
Create a new ProcessInstance, executes the actual test case and verifies the state after.
execute(int, BiFunction<ProcessInstanceAssert, Integer, Boolean>) - Method in class org.camunda.community.bpmndt.api.MultiInstanceScopeHandler
Executes a custom action, which handles the activities within the scope, for a given loop index.
execute(String) - Method in class org.camunda.community.bpmndt.api.TestCaseExecutor
Executes the actual test case and verifies the state after, using the ProcessInstance, identified by the given ID.
execute(Consumer<String>) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Executes a custom action that handles the external task, when the process instance is waiting at the corresponding activity.
execute(Consumer<EventSubscription>) - Method in class org.camunda.community.bpmndt.api.EventHandler
Executes a custom action that handles the intermediate catch event, when the process instance is waiting at the corresponding activity.
execute(Consumer<Job>) - Method in class org.camunda.community.bpmndt.api.JobHandler
Executes a custom action that handles the job, when the process instance is waiting at the corresponding activity.
execute(Consumer<Task>) - Method in class org.camunda.community.bpmndt.api.UserTaskHandler
Executes a custom action that handles the user task, when the process instance is waiting at the corresponding activity.
execute(ActivityExecution, CallActivityBehavior) - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
Executes a stubbed call activity using a CallActivityHandler that was registered for the given activity.
execute(Job) - Method in class org.camunda.community.bpmndt.api.JobHandler
 
execute(ProcessInstance) - Method in class org.camunda.community.bpmndt.api.AbstractTestCase
Executes the test case.
execute(ProcessInstance) - Method in class org.camunda.community.bpmndt.api.TestCaseExecutor
Executes the actual test case and verifies the state after, using the given ProcessInstance.
execute(ProcessInstance, ActivityExecution, CallActivityBehavior) - Method in class org.camunda.community.bpmndt.api.CallActivityHandler
Simulates the execution of a call activity.
executeExternalTask(Consumer<ExternalTask>) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Executes a custom action that handles the external task, which has been queried (by process instance ID, activity ID and topic name) and locked before, when the process instance is waiting at the corresponding activity.
executeLockedExternalTask(Consumer<LockedExternalTask>) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Executes a custom action that handles the external task, which has been queried (by process instance ID, activity ID and topic name) and locked before, when the process instance is waiting at the corresponding activity.
EXTENSION_NAME - Static variable in class org.camunda.community.bpmndt.Constants
 
EXTERNAL_TASK - Static variable in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
ExternalTaskHandler - Class in org.camunda.community.bpmndt.api
Fluent API to handle external tasks.
ExternalTaskHandler(ProcessEngine, String, String) - Constructor for class org.camunda.community.bpmndt.api.ExternalTaskHandler
 
ExternalTaskStrategy - Class in org.camunda.community.bpmndt.strategy
 
ExternalTaskStrategy(TestCaseActivity) - Constructor for class org.camunda.community.bpmndt.strategy.ExternalTaskStrategy
 

G

generate(GeneratorContext) - Method in class org.camunda.community.bpmndt.Generator
 
GenerateMultiInstanceHandler - Class in org.camunda.community.bpmndt.cmd
Generates the handler for a given multi instance activity.
GenerateMultiInstanceHandler(TestCaseContext, GeneratorResult) - Constructor for class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceHandler
 
generateMultiInstanceHandlers(TestCaseContext) - Method in class org.camunda.community.bpmndt.Generator
 
GenerateMultiInstanceScopeHandler - Class in org.camunda.community.bpmndt.cmd
 
GenerateMultiInstanceScopeHandler(TestCaseContext, GeneratorResult) - Constructor for class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceScopeHandler
 
generateMultiInstanceScopeHandlers(TestCaseContext) - Method in class org.camunda.community.bpmndt.Generator
 
generateSpringConfiguration(GeneratorContext) - Method in class org.camunda.community.bpmndt.Generator
 
GenerateSpringConfiguration - Class in org.camunda.community.bpmndt.cmd
Generates a Spring test configuration, which is required for Spring based test code.
GenerateSpringConfiguration(GeneratorResult) - Constructor for class org.camunda.community.bpmndt.cmd.GenerateSpringConfiguration
 
GenerateTestCase - Class in org.camunda.community.bpmndt.cmd
Generates a test case, using a test framework (JUnit 4 or 5) specific superclass.
GenerateTestCase(GeneratorContext, GeneratorResult) - Constructor for class org.camunda.community.bpmndt.cmd.GenerateTestCase
 
generateTestCases(GeneratorContext, Path) - Method in class org.camunda.community.bpmndt.Generator
 
generateTestCases(GeneratorContext, Path, List<TestCase>) - Method in class org.camunda.community.bpmndt.Generator
 
Generator - Class in org.camunda.community.bpmndt
Class that is responsible for generating test code and writing the generated files to the test source directory.
Generator() - Constructor for class org.camunda.community.bpmndt.Generator
 
GeneratorContext - Class in org.camunda.community.bpmndt
 
GeneratorContext() - Constructor for class org.camunda.community.bpmndt.GeneratorContext
 
GeneratorResult - Class in org.camunda.community.bpmndt
Class, used to collect the test code generation results.
GeneratorResult() - Constructor for class org.camunda.community.bpmndt.GeneratorResult
 
GeneratorStrategy - Interface in org.camunda.community.bpmndt
Strategy, used per activity when generating a test case.
getActivity() - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Returns the underlying activity.
getActivity() - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
getAdditionalFiles() - Method in class org.camunda.community.bpmndt.GeneratorResult
 
getBasePath() - Method in class org.camunda.community.bpmndt.GeneratorContext
 
getBinding() - Method in class org.camunda.community.bpmndt.api.CallActivityDefinition
 
getBpmnResource() - Method in class org.camunda.community.bpmndt.api.AbstractTestCase
Returns an input stream that provides the BPMN resource with the process definition to be tested - either this method or AbstractTestCase.getBpmnResourceName() must be overridden!
getBpmnResourceName() - Method in class org.camunda.community.bpmndt.api.AbstractTestCase
Returns the name of the BPMN resource, that provides the process definition to be tested - either this method or AbstractTestCase.getBpmnResource() must be overridden!
getBusinessKey() - Method in class org.camunda.community.bpmndt.api.CallActivityDefinition
 
getClassName() - Method in class org.camunda.community.bpmndt.TestCaseContext
Gets the name of the test case's class, starting with "TC_".
getDefinitionKey() - Method in class org.camunda.community.bpmndt.api.CallActivityDefinition
 
getDefinitionTenantId() - Method in class org.camunda.community.bpmndt.api.CallActivityDefinition
 
getDeploymentId() - Method in class org.camunda.community.bpmndt.api.AbstractTestCase
Returns the ID of the process definition deployment.
getDeploymentId() - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
getEnclosedStrategy() - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceStrategy
Gets the strategy of the activity that is enclosed by the multi instance scope.
getEnd() - Method in class org.camunda.community.bpmndt.api.AbstractTestCase
Returns the ID of the test case's end activity.
getEnd() - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
getFiles() - Method in class org.camunda.community.bpmndt.GeneratorResult
 
getHandler() - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Returns code for getting a handler field reference.
getHandler() - Method in class org.camunda.community.bpmndt.strategy.DefaultHandlerStrategy
 
getHandler() - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
getHandler(int) - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
 
getHandlerAfter() - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Returns code for getting an after handler field reference.
getHandlerAfter() - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
getHandlerAfter(int) - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
 
getHandlerBefore() - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Returns code for getting a before handler field reference.
getHandlerBefore() - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
getHandlerBefore(int) - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
 
getHandlerType() - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Returns the type name of the related handler or Void, if the activity is not handled by a specific handler.
getHandlerType() - Method in class org.camunda.community.bpmndt.strategy.CallActivityStrategy
 
getHandlerType() - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
getHandlerType() - Method in class org.camunda.community.bpmndt.strategy.EventStrategy
 
getHandlerType() - Method in class org.camunda.community.bpmndt.strategy.ExternalTaskStrategy
 
getHandlerType() - Method in class org.camunda.community.bpmndt.strategy.JobStrategy
 
getHandlerType() - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceScopeStrategy
 
getHandlerType() - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceStrategy
 
getHandlerType() - Method in class org.camunda.community.bpmndt.strategy.UserTaskStrategy
 
getLiteral() - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Gets the ID of the underlying activity as a literal.
getLiteral() - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
getLiteralAfter() - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
getLiteralBefore() - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
getMainResourcePath() - Method in class org.camunda.community.bpmndt.GeneratorContext
 
getMultiInstanceActivities() - Method in class org.camunda.community.bpmndt.TestCaseContext
 
getMultiInstanceScopes() - Method in class org.camunda.community.bpmndt.TestCaseContext
 
getName() - Method in class org.camunda.community.bpmndt.TestCaseContext
 
getPackageName() - Method in class org.camunda.community.bpmndt.GeneratorContext
Gets the configured base package name or the default value.
getPackageName() - Method in class org.camunda.community.bpmndt.TestCaseContext
Gets the name of the test case's package, which is the lowered process ID as Java literal.
getProcessDefinitionId() - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
getProcessDefinitionKey() - Method in class org.camunda.community.bpmndt.api.AbstractTestCase
Returns the key of the process definition that is tested.
getProcessDefinitionKey() - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
getProcessEngine() - Method in class org.camunda.community.bpmndt.api.AbstractTestCase
Returns the process engine, used to execute the test case.
getProcessEngine() - Method in class org.camunda.community.bpmndt.api.cfg.SpringConfiguration
 
getProcessEngine() - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
 
getProcessEngine() - Method in class org.camunda.community.bpmndt.api.MultiInstanceScopeHandler
 
getProcessEngine() - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
getProcessEnginePluginNames() - Method in class org.camunda.community.bpmndt.GeneratorContext
Returns the class names of process engine plugins, which should be registered at the process engine that executes the generated test cases.
getProcessEnginePlugins() - Method in class org.camunda.community.bpmndt.api.AbstractTestCase
Provides custom ProcessEnginePlugins to be registered when the process engine is built.
getProcessEnginePlugins() - Method in class org.camunda.community.bpmndt.api.cfg.SpringConfiguration
Returns a list of process engine plugins that are registered at the process engine.
getResourceName() - Method in class org.camunda.community.bpmndt.TestCaseContext
Gets the name of the BPMN resources within the classpath.
getResult() - Method in class org.camunda.community.bpmndt.Generator
 
getStart() - Method in class org.camunda.community.bpmndt.api.AbstractTestCase
Returns the ID of the test case's start activity.
getStart() - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
GetStrategies - Class in org.camunda.community.bpmndt.cmd
Function that provides the strategies of all activities, including scopes, that are on the same nesting level during execution.
GetStrategies() - Constructor for class org.camunda.community.bpmndt.cmd.GetStrategies
 
getStrategy(String) - Method in class org.camunda.community.bpmndt.TestCaseContext
Returns the strategy of the activity with the given ID.
getSuperClass(TestCaseActivity) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceHandler
 
getSuperClass(TestCaseActivityScope) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceScopeHandler
 
getSuperClass(TestCaseContext) - Method in class org.camunda.community.bpmndt.cmd.GenerateTestCase
 
getTestCase() - Method in class org.camunda.community.bpmndt.TestCaseContext
Returns the underlying test case.
getTestSourcePath() - Method in class org.camunda.community.bpmndt.GeneratorContext
 
getVersion() - Method in class org.camunda.community.bpmndt.api.CallActivityDefinition
 
getVersionTag() - Method in class org.camunda.community.bpmndt.api.CallActivityDefinition
 

H

handle() - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Returns the default activity handler, which is used when for a multi instance loop with a specific index no handler is defined.
handle(int) - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Returns the activity handler, which is applied on the multi instance loop with the given index.
handleAfter() - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Returns the default job handler for the asynchronous continuation after the activity, which is used when for a multi instance loop with a specific index no handler is defined.
handleAfter(int) - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Returns the job handler for the asynchronous continuation after the activity, which is applied on the multi instance loop with the given index.
handleAsyncBefore(ProcessInstance, int) - Method in class org.camunda.community.bpmndt.api.MultiInstanceScopeHandler
 
handleBefore() - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Returns the default job handler for the asynchronous continuation before the activity, which is used when for a multi instance loop with a specific index no handler is defined.
handleBefore(int) - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Returns the job handler for the asynchronous continuation before the activity, which is applied on the multi instance loop with the given index.
handleBpmnError(String, String) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Continues the execution with an action that calls handleBpmnError using the given error code and message as well as the specified variables.
handleBpmnError(String, String) - Method in class org.camunda.community.bpmndt.api.UserTaskHandler
Continues the execution with an action that calls handleBpmnError using the given error code and message, when the process instance is waiting at the corresponding activity.
handleBpmnError(ExternalTask) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
 
handleBpmnError(Task) - Method in class org.camunda.community.bpmndt.api.UserTaskHandler
 
handleEscalation(String) - Method in class org.camunda.community.bpmndt.api.UserTaskHandler
Continues the execution with an action that calls handleEscalation using the given escalation code, when the process instance is waiting at the corresponding activity.
handleEscalation(Task) - Method in class org.camunda.community.bpmndt.api.UserTaskHandler
 
hasDuplicateName() - Method in class org.camunda.community.bpmndt.TestCaseContext
Determines whether the related test case has a duplicate name or not.
hashCode() - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
hasInputs() - Method in class org.camunda.community.bpmndt.api.CallActivityDefinition
Determines if the call activity defines a mapping under "In mapping" in tab "Variables".
hasOutputs() - Method in class org.camunda.community.bpmndt.api.CallActivityDefinition
Determines if the call activity defines a mapping under "Out mapping" in tab "Variables".
hasPassed(MethodSpec.Builder) - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Adds code, which asserts that the process instance has passed an activity.
hasPassed(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
hasPassed(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceScopeStrategy
 
hasPassed(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceStrategy
 
hasSupportedBoundaryEventAttached(TestCaseActivity) - Method in class org.camunda.community.bpmndt.cmd.GenerateMultiInstanceHandler
 

I

initDataSource() - Method in class org.camunda.community.bpmndt.api.cfg.SpringConfiguration
 
initHandler(MethodSpec.Builder) - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Adds code, which initializes a handler field.
initHandler(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.CallActivityStrategy
 
initHandler(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultHandlerStrategy
 
initHandler(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
initHandler(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.EventStrategy
 
initHandler(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.ExternalTaskStrategy
 
initHandler(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceStrategy
 
initHandler(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.UserTaskStrategy
 
initHandlerAfter(MethodSpec.Builder) - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Adds code, which initializes a after handler field.
initHandlerAfter(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
initHandlerAfter(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceStrategy
 
initHandlerAfterStatement() - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Returns the statement that initializes the after handler.
initHandlerAfterStatement() - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
initHandlerBefore(MethodSpec.Builder) - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Adds code, which initializes a before handler field.
initHandlerBefore(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
initHandlerBefore(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceStrategy
 
initHandlerBeforeStatement() - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Returns the statement that initializes the before handler.
initHandlerBeforeStatement() - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
initHandlerStatement() - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Returns the statement that initializes the handler.
initHandlerStatement() - Method in class org.camunda.community.bpmndt.strategy.CallActivityStrategy
 
initHandlerStatement() - Method in class org.camunda.community.bpmndt.strategy.DefaultHandlerStrategy
 
initHandlerStatement() - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
initHandlerStatement() - Method in class org.camunda.community.bpmndt.strategy.EventStrategy
 
initHandlerStatement() - Method in class org.camunda.community.bpmndt.strategy.ExternalTaskStrategy
 
initHandlerStatement() - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceScopeStrategy
 
initHandlerStatement() - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceStrategy
 
initProcessEnginePlugins() - Method in class org.camunda.community.bpmndt.api.cfg.SpringConfiguration
 
initTransactionManager(DataSource) - Method in class org.camunda.community.bpmndt.api.cfg.SpringConfiguration
 
inputs - Variable in class org.camunda.community.bpmndt.api.CallActivityDefinition
 
instance - Variable in class org.camunda.community.bpmndt.api.AbstractTestCase
 
instance - Variable in class org.camunda.community.bpmndt.api.MultiInstanceHandler
 
instance - Variable in class org.camunda.community.bpmndt.api.MultiInstanceScopeHandler
 
instrumentCallActivity(ActivityImpl) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
Instruments the call activity by overriding it's behavior to allow isolated testing.
instrumentEndActivity(List<ActivityImpl>) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
Instruments the end activity, if it does not end the process.
instrumentMultiInstanceActivity(ScopeImpl, ActivityImpl) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
Instruments the given activity, if it is a multi instance activity.
instrumentMultiInstanceScope(ScopeImpl, ActivityImpl) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
Instruments the given activity, if it is a multi instance scope.
isEnded(ProcessInstance) - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Checks if the multi instance scope is ended or not.
isEnded(ProcessInstance) - Method in class org.camunda.community.bpmndt.api.MultiInstanceScopeHandler
Checks if the multi instance scope is ended or not.
isProcessEnd() - Method in class org.camunda.community.bpmndt.api.AbstractTestCase
Determines if the test case's end activity ends the process or not.
isProcessEnd() - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
isSequential() - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Determines if the multi instance loop is sequentially executed or not.
isSequential() - Method in class org.camunda.community.bpmndt.api.MultiInstanceScopeHandler
Determines if the multi instance loop is sequentially executed or not.
isSpringEnabled() - Method in class org.camunda.community.bpmndt.api.AbstractTestCase
Determines if Spring based testing is enabled or not.
isSpringEnabled() - Method in class org.camunda.community.bpmndt.GeneratorContext
 
isWaitingAt(MethodSpec.Builder) - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Adds code, which asserts that the process instance is waiting at an activity.
isWaitingAt(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
isWaitingAt(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceScopeStrategy
 
isWaitingAt(MethodSpec.Builder) - Method in class org.camunda.community.bpmndt.strategy.MultiInstanceStrategy
 
isWaitingForBoundaryEvent() - Method in class org.camunda.community.bpmndt.api.CallActivityHandler
Determines if the call activity is waiting for a boundary message, signal or timer event.
isWaitingForBoundaryEvent() - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Determines if the external task is waiting for a boundary message, signal or timer event.
isWaitingForBoundaryEvent() - Method in class org.camunda.community.bpmndt.api.UserTaskHandler
Determines if the user task is waiting for a boundary message, signal or timer event.

J

JAVA_EXTENSION - Static variable in class org.camunda.community.bpmndt.Constants
 
JOB - Static variable in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
JobHandler - Class in org.camunda.community.bpmndt.api
Fluent API to handle jobs (asynchronous continuation and timer catch events).
JobHandler(ProcessEngine, String) - Constructor for class org.camunda.community.bpmndt.api.JobHandler
 
JobHandler(ProcessEngine, String, JobHandler.Cardinality) - Constructor for class org.camunda.community.bpmndt.api.JobHandler
Creates a new job handler.
JobHandler.Cardinality - Enum in org.camunda.community.bpmndt.api
Possible job cardinalities.
JobStrategy - Class in org.camunda.community.bpmndt.strategy
 
JobStrategy(TestCaseActivity) - Constructor for class org.camunda.community.bpmndt.strategy.JobStrategy
 

L

literal - Variable in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 

M

migrate(ProcessInstance) - Method in class org.camunda.community.bpmndt.api.TestCaseExecutor
 
MultiInstanceHandler<T,U> - Class in org.camunda.community.bpmndt.api
Fluent API for multi instance activites (call activities or tasks).
MultiInstanceHandler(TestCaseInstance, String) - Constructor for class org.camunda.community.bpmndt.api.MultiInstanceHandler
 
multiInstanceParent - Variable in class org.camunda.community.bpmndt.strategy.DefaultStrategy
Indicates if the strategy is applied on a multi instance scope handler or not - see DefaultStrategy.setMultiInstanceParent(boolean)
MultiInstanceScopeHandler<T> - Class in org.camunda.community.bpmndt.api
Fluent API for multi instance scopes (sub processes or transactions).
MultiInstanceScopeHandler(TestCaseInstance, String) - Constructor for class org.camunda.community.bpmndt.api.MultiInstanceScopeHandler
 
MultiInstanceScopeStrategy - Class in org.camunda.community.bpmndt.strategy
Special strategy for multi instance scopes.
MultiInstanceScopeStrategy(TestCaseActivityScope, TestCaseContext) - Constructor for class org.camunda.community.bpmndt.strategy.MultiInstanceScopeStrategy
 
MultiInstanceStrategy - Class in org.camunda.community.bpmndt.strategy
Special strategy for activities that are enclosed by the multi instance scope.
MultiInstanceStrategy(GeneratorStrategy, TestCaseContext) - Constructor for class org.camunda.community.bpmndt.strategy.MultiInstanceStrategy
 

O

ONE - Enum constant in enum org.camunda.community.bpmndt.api.JobHandler.Cardinality
Default cardinality.
ONE_TO_N - Enum constant in enum org.camunda.community.bpmndt.api.JobHandler.Cardinality
1..n - parallel multi instance async before.
org.camunda.community.bpmndt - package org.camunda.community.bpmndt
 
org.camunda.community.bpmndt.api - package org.camunda.community.bpmndt.api
 
org.camunda.community.bpmndt.api.cfg - package org.camunda.community.bpmndt.api.cfg
 
org.camunda.community.bpmndt.cmd - package org.camunda.community.bpmndt.cmd
 
org.camunda.community.bpmndt.strategy - package org.camunda.community.bpmndt.strategy
 
OTHER - Static variable in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
outputs - Variable in class org.camunda.community.bpmndt.api.CallActivityDefinition
 

P

parseBusinessRuleTask(Element, ScopeImpl, ActivityImpl) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
 
parseCallActivity(Element, ScopeImpl, ActivityImpl) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
 
parseManualTask(Element, ScopeImpl, ActivityImpl) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
 
parseProcess(Element, ProcessDefinitionEntity) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
 
parseScriptTask(Element, ScopeImpl, ActivityImpl) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
 
parseSendTask(Element, ScopeImpl, ActivityImpl) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
 
parseServiceTask(Element, ScopeImpl, ActivityImpl) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
 
parseSubProcess(Element, ScopeImpl, ActivityImpl) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
 
parseTask(Element, ScopeImpl, ActivityImpl) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
 
parseUserTask(Element, ScopeImpl, ActivityImpl) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
 
preInit(ProcessEngineConfigurationImpl) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtProcessEnginePlugin
 
PROCESS_ENGINE_NAME - Static variable in class org.camunda.community.bpmndt.api.TestCaseInstance
Name of the process engine to use.
processDefinitionKey - Variable in class org.camunda.community.bpmndt.api.TestCaseInstance
Key of the test case related process definition.
processEnd - Variable in class org.camunda.community.bpmndt.api.TestCaseInstance
 
processEngine - Variable in class org.camunda.community.bpmndt.api.TestCaseInstance
 

R

registerCallActivityHandler(String, CallActivityHandler) - Method in class org.camunda.community.bpmndt.api.MultiInstanceScopeHandler
Registers the given call activity handler at the test case instance, so that it will be executed when the custom call activity behavior is applied.
Since there can be multiple handlers (one for each loop index), it is necessary to register the correct one before the next multi instance loop is executed.
registerCallActivityHandler(String, CallActivityHandler) - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
registerCallActivityHandler(CallActivityHandler) - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Registers the given call activity handler at the test case instance, so that it will be executed when the custom call activity behavior is applied.
Since there can be multiple handlers (one for each loop index), it is necessary to register the correct one before the next multi instance loop is executed.

S

setBasePath(Path) - Method in class org.camunda.community.bpmndt.GeneratorContext
 
setClassName(String) - Method in class org.camunda.community.bpmndt.TestCaseContext
 
setDuplicateName(boolean) - Method in class org.camunda.community.bpmndt.TestCaseContext
 
setInstance(TestCaseInstance) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
Sets a reference to the related test case instance.
setMainResourcePath(Path) - Method in class org.camunda.community.bpmndt.GeneratorContext
 
setMultiInstanceParent(boolean) - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Set the multi instance parent indicator.
setMultiInstanceParent(boolean) - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
setName(String) - Method in class org.camunda.community.bpmndt.TestCaseContext
 
setPackageName(String) - Method in class org.camunda.community.bpmndt.GeneratorContext
 
setPackageName(String) - Method in class org.camunda.community.bpmndt.TestCaseContext
 
setProcessEnginePluginNames(List<String>) - Method in class org.camunda.community.bpmndt.GeneratorContext
 
setProcessInstance(ProcessInstance) - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
setResourceName(String) - Method in class org.camunda.community.bpmndt.TestCaseContext
 
setSpringEnabled(boolean) - Method in class org.camunda.community.bpmndt.GeneratorContext
 
setTestCase(TestCase) - Method in class org.camunda.community.bpmndt.TestCaseContext
 
setTestSourcePath(Path) - Method in class org.camunda.community.bpmndt.GeneratorContext
 
shouldHandleAfter() - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Determines if an asynchronous continuation after the activity should be handled or not.
shouldHandleAfter() - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
If the activity has the asyncAfter flag set, it must be handled.
shouldHandleBefore() - Method in interface org.camunda.community.bpmndt.GeneratorStrategy
Determines if an asynchronous continuation before the activity should be handled or not.
shouldHandleBefore() - Method in class org.camunda.community.bpmndt.strategy.DefaultStrategy
If the activity has the asyncBefore flag set, or it is a call activity but not a multi instance.
simulateBpmnError(String, String) - Method in class org.camunda.community.bpmndt.api.CallActivityHandler
Simulates the occurrence of an error end event within the called sub instance.
simulateEscalation(String) - Method in class org.camunda.community.bpmndt.api.CallActivityHandler
Simulates the occurrence of an escalation end event within the called sub instance.
SpringConfiguration - Class in org.camunda.community.bpmndt.api.cfg
Spring test configuration, used as superclass for the generated configuration.
If data source and/or transaction manager are not provided by the application context, this configuration will initialize and provide them to the process engine configuration.
Moreover, if the application context provides a list of process engine plugins, this list will be preferred in favor of the process engine plugins that are configured on the Maven plugin execution - see parameter processEnginePlugins.
SpringConfiguration() - Constructor for class org.camunda.community.bpmndt.api.cfg.SpringConfiguration
 
start - Variable in class org.camunda.community.bpmndt.api.TestCaseInstance
 
stripMultiInstanceScopeSuffix(String) - Method in class org.camunda.community.bpmndt.api.cfg.BpmndtParseListener
 

T

tenantId - Variable in class org.camunda.community.bpmndt.api.TestCaseInstance
 
TestCaseContext - Class in org.camunda.community.bpmndt
 
TestCaseContext() - Constructor for class org.camunda.community.bpmndt.TestCaseContext
 
TestCaseExecutor - Class in org.camunda.community.bpmndt.api
Fluent API to prepare and start the actual test case execution.
TestCaseExecutor(TestCaseInstance, Consumer<ProcessInstance>) - Constructor for class org.camunda.community.bpmndt.api.TestCaseExecutor
 
TestCaseInstance - Class in org.camunda.community.bpmndt.api
Link between test case and it's execution, utilizing a process instance that was instantiated by a TestCaseExecutor and handlers (e.g.
TestCaseInstance() - Constructor for class org.camunda.community.bpmndt.api.TestCaseInstance
 
testClass - Variable in class org.camunda.community.bpmndt.api.AbstractTestCase
The related test class - must be provided by the concrete implementation.
testMethodName - Variable in class org.camunda.community.bpmndt.api.AbstractTestCase
The test method, which will be executed - must be provided by the concrete implementation.
toJavaLiteral(String) - Static method in class org.camunda.community.bpmndt.Generator
Converts the given BPMN element ID into a Java literal, which can be used when generating source code.
toLiteral(String) - Static method in class org.camunda.community.bpmndt.Generator
Converts the given BPMN element ID into a literal, which can be used when generating source code.

U

undeploy() - Method in class org.camunda.community.bpmndt.api.TestCaseInstance
 
unwrapAssertionError(ProcessEngineException) - Method in class org.camunda.community.bpmndt.api.TestCaseExecutor
Unwraps and throws a possible AssertionError in case of a failed assertion within a CallActivityHandler's verifier.
USER_TASK - Static variable in class org.camunda.community.bpmndt.strategy.DefaultStrategy
 
UserTaskHandler - Class in org.camunda.community.bpmndt.api
Fluent API to handle user tasks.
UserTaskHandler(ProcessEngine, String) - Constructor for class org.camunda.community.bpmndt.api.UserTaskHandler
 
UserTaskStrategy - Class in org.camunda.community.bpmndt.strategy
 
UserTaskStrategy(TestCaseActivity) - Constructor for class org.camunda.community.bpmndt.strategy.UserTaskStrategy
 

V

valueOf(String) - Static method in enum org.camunda.community.bpmndt.api.JobHandler.Cardinality
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.camunda.community.bpmndt.api.JobHandler.Cardinality
Returns an array containing the constants of this enum type, in the order they are declared.
verify(int, BiConsumer<ProcessInstanceAssert, Integer>) - Method in class org.camunda.community.bpmndt.api.MultiInstanceScopeHandler
Verifies the state before the multi instance loop with the given index is executed.
verify(BiConsumer<ProcessInstanceAssert, String>) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Verifies the external task's waiting state.
verify(BiConsumer<ProcessInstanceAssert, EventSubscription>) - Method in class org.camunda.community.bpmndt.api.EventHandler
Verifies the events's waiting state.
verify(BiConsumer<ProcessInstanceAssert, JobAssert>) - Method in class org.camunda.community.bpmndt.api.JobHandler
Verifies the job's waiting state.
verify(BiConsumer<ProcessInstanceAssert, TaskAssert>) - Method in class org.camunda.community.bpmndt.api.UserTaskHandler
Verifies the user task's waiting state.
verify(BiConsumer<ProcessInstanceAssert, CallActivityDefinition>) - Method in class org.camunda.community.bpmndt.api.CallActivityHandler
Verifies the definition of the call activity and the state before it is executed (actually before the mapInputVariables method of a possible DelegateVariableMapping is invoked).
verify(Consumer<ProcessInstanceAssert>) - Method in class org.camunda.community.bpmndt.api.TestCaseExecutor
Verifies that state after the test case execution has finished.
verify(ProcessInstance, CallActivityDefinition) - Method in class org.camunda.community.bpmndt.api.CallActivityHandler
 
verifyInput(Consumer<VariableScope>) - Method in class org.camunda.community.bpmndt.api.CallActivityHandler
Verifies the state after the mapInputVariables method of a possible DelegateVariableMapping was invoked.
Please note: This method can also be used to simulate the behavior of a called process.
verifyInput(VariableScope) - Method in class org.camunda.community.bpmndt.api.CallActivityHandler
 
verifyLoopCount(int) - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Verifies that the multi instance loop is executed n-times.
verifyLoopCount(int) - Method in class org.camunda.community.bpmndt.api.MultiInstanceScopeHandler
Verifies that the multi instance loop is executed n-times.
verifyOutput(Consumer<VariableScope>) - Method in class org.camunda.community.bpmndt.api.CallActivityHandler
Verifies the state after the mapOutputVariables method of a possible DelegateVariableMapping was invoked.
verifyOutput(VariableScope) - Method in class org.camunda.community.bpmndt.api.CallActivityHandler
 
verifyParallel() - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Verifies that the multi instance loop execution is done in parallel.
verifyParallel() - Method in class org.camunda.community.bpmndt.api.MultiInstanceScopeHandler
Verifies that the multi instance loop execution is done in parallel.
verifySequential() - Method in class org.camunda.community.bpmndt.api.MultiInstanceHandler
Verifies that the multi instance loop is sequentially executed.
verifySequential() - Method in class org.camunda.community.bpmndt.api.MultiInstanceScopeHandler
Verifies that the multi instance loop is sequentially executed.
verifyTask(BiConsumer<ExternalTaskAssert, Map<String, Object>>) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Verifies the external task's waiting state.
version - Variable in class org.camunda.community.bpmndt.api.CallActivityDefinition
 
versionTag - Variable in class org.camunda.community.bpmndt.api.CallActivityDefinition
 
visitFile(Path, BasicFileAttributes) - Method in class org.camunda.community.bpmndt.cmd.CollectBpmnFiles
 

W

waitForBoundaryEvent() - Method in class org.camunda.community.bpmndt.api.CallActivityHandler
Lets the call activity become a wait state.
waitForBoundaryEvent() - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Applies no action at the external task's wait state.
waitForBoundaryEvent() - Method in class org.camunda.community.bpmndt.api.UserTaskHandler
Applies no action at the user task's wait state.
withBean(String, Object) - Method in class org.camunda.community.bpmndt.api.TestCaseExecutor
Registers a bean for the given key.
Please note: If Spring is enabled, the beans will be provided via Spring's application context (e.g.
withBusinessKey(String) - Method in class org.camunda.community.bpmndt.api.TestCaseExecutor
Sets the business key of the process instance that will be created.
withErrorMessage(String) - Method in class org.camunda.community.bpmndt.api.CallActivityHandler
Sets the error message, which is used when the next activity is an error boundary event.
withErrorMessage(String) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Sets the error message, which is used when the next activity is an error boundary event - in this case the handler's action is handleBpmnError.
withErrorMessage(String) - Method in class org.camunda.community.bpmndt.api.UserTaskHandler
Sets the error message, which is used when the next activity is an error boundary event - in this case the handler's action is handleBpmnError.
withLocalVariable(String, Object) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Sets a local variable, which is passed to the execution when the default behavior is used.
withLocalVariables(Map<String, Object>) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Sets local variables, which are passed to the execution when the default behavior is used.
withLocalVariableTyped(String, TypedValue) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Sets a typed local variable, which is passed to the execution when the default behavior is used.
withTenantId(String) - Method in class org.camunda.community.bpmndt.api.AbstractTestCase
Sets the tenant ID to be used for the automatic process definition deployment.
withVariable(String, Object) - Method in class org.camunda.community.bpmndt.api.EventHandler
Sets a variable, which is passed to the execution when the default behavior is used.
withVariable(String, Object) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Sets a variable, which is passed to the execution when a predefined behavior is used.
withVariable(String, Object) - Method in class org.camunda.community.bpmndt.api.TestCaseExecutor
Sets a variable on the process instance that will be created.
withVariable(String, Object) - Method in class org.camunda.community.bpmndt.api.UserTaskHandler
Sets a variable, which is passed to the execution when a predefined behavior (complete, handleBpmnError, or handleEscalation) is used.
withVariables(Map<String, Object>) - Method in class org.camunda.community.bpmndt.api.EventHandler
Sets variables, which are passed to the execution when the default behavior is used.
withVariables(Map<String, Object>) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Sets variables, which are passed to the execution when a predefined behavior is used.
withVariables(Map<String, Object>) - Method in class org.camunda.community.bpmndt.api.TestCaseExecutor
Sets variables on the process instance that will be created.
withVariables(Map<String, Object>) - Method in class org.camunda.community.bpmndt.api.UserTaskHandler
Sets variables, which are passed to the execution when a predefined behavior (complete, handleBpmnError, or handleEscalation) is used.
withVariableTyped(String, TypedValue) - Method in class org.camunda.community.bpmndt.api.EventHandler
Sets a typed variable, which is passed to the execution when the default behavior is used.
withVariableTyped(String, TypedValue) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Sets a typed variable, which is passed to the execution when a predefined behavior is used.
withVariableTyped(String, TypedValue) - Method in class org.camunda.community.bpmndt.api.TestCaseExecutor
Sets a typed variable on the process instance that will be started.
withVariableTyped(String, TypedValue) - Method in class org.camunda.community.bpmndt.api.UserTaskHandler
Sets a typed variable, which is passed to the execution when a predefined behavior (complete, handleBpmnError, or handleEscalation) is used.
WORKER_ID - Static variable in class org.camunda.community.bpmndt.api.ExternalTaskHandler
 
wrap(ExternalTask) - Method in class org.camunda.community.bpmndt.api.ExternalTaskHandler
Wraps the given ExternalTask into a LockedExternalTask.
WriteJavaFile - Class in org.camunda.community.bpmndt.cmd
 
WriteJavaFile(GeneratorContext) - Constructor for class org.camunda.community.bpmndt.cmd.WriteJavaFile
 
WriteJavaType - Class in org.camunda.community.bpmndt.cmd
 
WriteJavaType(GeneratorContext) - Constructor for class org.camunda.community.bpmndt.cmd.WriteJavaType
 

Z

ZERO_TO_N - Enum constant in enum org.camunda.community.bpmndt.api.JobHandler.Cardinality
0..n - parallel multi instance async after.
ZERO_TO_ONE - Enum constant in enum org.camunda.community.bpmndt.api.JobHandler.Cardinality
0..1 - sequential multi instance async after.
A B C D E G H I J L M O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values