Class SpringEmbeddedCamundaTest


  • @TestPropertySource(properties="camunda.bpm.client.disable-auto-fetching=true")
    @Import(EmbeddedCamundaRestServerConfig.class)
    public class SpringEmbeddedCamundaTest
    extends org.camunda.bpm.engine.test.assertions.bpmn.BpmnAwareTests
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected de.cronn.camunda.testserver.EmbeddedCamundaRestServer embeddedCamundaRestServer  
      protected org.camunda.bpm.client.ExternalTaskClient externalTaskClient  
      • Fields inherited from class org.camunda.bpm.engine.test.assertions.bpmn.BpmnAwareTests

        DEFAULT_LOCK_DURATION_EXTERNAL_TASK, DEFAULT_WORKER_EXTERNAL_TASK
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.awaitility.core.ConditionFactory await()  
      protected void deleteAllProcessInstances()  
      protected static void resetAssertions()  
      protected void startExternalTaskClient()  
      protected void stopExternalTaskClient()  
      protected void waitUntilProcessEnded​(org.camunda.bpm.engine.runtime.ProcessInstance process)  
      • Methods inherited from class org.camunda.bpm.engine.test.assertions.bpmn.BpmnAwareTests

        assertThat, assertThat, assertThat, assertThat, assertThat, authorizationService, calledProcessInstance, calledProcessInstance, calledProcessInstance, calledProcessInstance, calledProcessInstance, calledProcessInstance, claim, complete, complete, complete, complete, complete, complete, decisionService, execute, executionQuery, externalTask, externalTask, externalTask, externalTask, externalTask, externalTask, externalTaskQuery, externalTaskService, fetchAndLock, findId, formService, historyService, identityService, job, job, job, job, job, job, jobQuery, managementService, processDefinition, processDefinition, processDefinition, processDefinition, processDefinitionQuery, processInstanceQuery, repositoryService, runtimeService, task, task, task, task, task, task, taskQuery, taskService, unclaim, withVariables
      • Methods inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractAssertions

        init, processEngine, reset
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • embeddedCamundaRestServer

        @Autowired
        protected de.cronn.camunda.testserver.EmbeddedCamundaRestServer embeddedCamundaRestServer
      • externalTaskClient

        @Autowired
        protected org.camunda.bpm.client.ExternalTaskClient externalTaskClient
    • Constructor Detail

      • SpringEmbeddedCamundaTest

        public SpringEmbeddedCamundaTest()
    • Method Detail

      • resetAssertions

        @AfterAll
        protected static void resetAssertions()
      • stopExternalTaskClient

        @AfterEach
        protected void stopExternalTaskClient()
      • deleteAllProcessInstances

        @AfterEach
        protected void deleteAllProcessInstances()
      • startExternalTaskClient

        protected void startExternalTaskClient()
      • waitUntilProcessEnded

        protected void waitUntilProcessEnded​(org.camunda.bpm.engine.runtime.ProcessInstance process)
      • await

        protected org.awaitility.core.ConditionFactory await()