Class RestIT

    • Constructor Detail

      • RestIT

        public RestIT()
    • Method Detail

      • createClient

        public void createClient()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testScenario

        public void testScenario()
                          throws org.codehaus.jettison.json.JSONException
        Throws:
        org.codehaus.jettison.json.JSONException
      • assertJodaTimePresent

        public void assertJodaTimePresent()
      • testDelayedJobDefinitionSuspension

        public void testDelayedJobDefinitionSuspension()
      • testTaskQueryContentType

        public void testTaskQueryContentType()
      • testSingleTaskContentType

        public void testSingleTaskContentType()
                                       throws org.codehaus.jettison.json.JSONException
        Throws:
        org.codehaus.jettison.json.JSONException
      • testTaskFilterResultContentType

        public void testTaskFilterResultContentType()
                                             throws org.codehaus.jettison.json.JSONException
        Throws:
        org.codehaus.jettison.json.JSONException
      • testPolymorphicSerialization

        public void testPolymorphicSerialization()
                                          throws org.codehaus.jettison.json.JSONException
        Tests that a feature implemented via Jackson-2 annotations works: polymorphic serialization of historic details
        Throws:
        org.codehaus.jettison.json.JSONException
      • testProcessInstanceQuery

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

        public void testComplexObjectJacksonSerialization()
                                                   throws org.codehaus.jettison.json.JSONException
        Throws:
        org.codehaus.jettison.json.JSONException
      • testOptionsRequest

        public void testOptionsRequest()
      • testEmptyBodyFilterIsActive

        public void testEmptyBodyFilterIsActive()
                                         throws org.codehaus.jettison.json.JSONException
        Throws:
        org.codehaus.jettison.json.JSONException
      • getFirstTask

        protected org.codehaus.jettison.json.JSONObject getFirstTask()
                                                              throws org.codehaus.jettison.json.JSONException
        Throws:
        org.codehaus.jettison.json.JSONException
      • getFirstHistoricVariableUpdates

        protected org.codehaus.jettison.json.JSONObject getFirstHistoricVariableUpdates()
                                                                                 throws org.codehaus.jettison.json.JSONException
        Throws:
        org.codehaus.jettison.json.JSONException
      • assertMediaTypesOfResource

        protected void assertMediaTypesOfResource​(java.lang.String resourcePath,
                                                  boolean postSupported)
      • assertMediaTypes

        protected void assertMediaTypes​(com.sun.jersey.api.client.WebResource resource,
                                        boolean postSupported,
                                        javax.ws.rs.core.MediaType expectedMediaType,
                                        java.lang.String... acceptMediaTypes)
      • assertMediaType

        protected void assertMediaType​(com.sun.jersey.api.client.ClientResponse response,
                                       javax.ws.rs.core.MediaType expected)