Class RestIT


public class RestIT extends AbstractWebIntegrationTest
  • Constructor Details

    • RestIT

      public RestIT()
  • Method Details

    • createClient

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

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

      public void assertJodaTimePresent()
    • testDelayedJobDefinitionSuspension

      public void testDelayedJobDefinitionSuspension()
    • testTaskQueryContentType

      public void testTaskQueryContentType()
    • testSingleTaskContentType

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

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

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

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

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

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

      public void testOptionsRequest()
    • testEmptyBodyFilterIsActive

      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)