Class RestIT


public class RestIT extends AbstractWebIntegrationTest
  • Constructor Details

    • RestIT

      public RestIT()
  • Method Details

    • createClient

      @BeforeEach public void createClient() throws Exception
      Throws:
      Exception
    • testScenario

      @Test public void testScenario() throws Exception
      Throws:
      Exception
    • assertJodaTimePresent

      @Test public void assertJodaTimePresent()
    • testDelayedJobDefinitionSuspension

      @Test public void testDelayedJobDefinitionSuspension()
    • testTaskQueryContentType

      @Test public void testTaskQueryContentType()
    • testSingleTaskContentType

      @Test public void testSingleTaskContentType() throws Exception
      Throws:
      Exception
    • testTaskFilterResultContentType

      @Test public void testTaskFilterResultContentType() throws Exception
      Throws:
      Exception
    • shouldSerializeDateWithDefinedFormat

      @Test public void shouldSerializeDateWithDefinedFormat() throws Exception
      Throws:
      Exception
    • testPolymorphicSerialization

      @Test public void testPolymorphicSerialization() throws Exception
      Tests that a feature implemented via Jackson-2 annotations works: polymorphic serialization of historic details
      Throws:
      Exception
    • testProcessInstanceQuery

      @Test public void testProcessInstanceQuery()
      Uses Jackson's object mapper directly
    • testComplexObjectJacksonSerialization

      @Test public void testComplexObjectJacksonSerialization() throws Exception
      Throws:
      Exception
    • testOptionsRequest

      @Test public void testOptionsRequest()
    • testEmptyBodyFilterIsActive

      @Test public void testEmptyBodyFilterIsActive()
    • getFirstTask

      protected org.json.JSONObject getFirstTask() throws Exception
      Throws:
      Exception
    • getFirstHistoricVariableUpdates

      protected org.json.JSONObject getFirstHistoricVariableUpdates() throws Exception
      Throws:
      Exception
    • assertMediaTypesOfResource

      protected void assertMediaTypesOfResource(String resourcePath, boolean postSupported)
    • assertMediaTypes

      protected void assertMediaTypes(String resourcePath, boolean postSupported, String expectedMediaType, String... acceptMediaTypes)
    • assertMediaType

      protected void assertMediaType(kong.unirest.HttpResponse<String> response, String expected)