eu.larkc.core.management
Class EndpointResourceTest

java.lang.Object
  extended by eu.larkc.core.LarkcTest
      extended by eu.larkc.core.management.MgmtTest
          extended by eu.larkc.core.management.EndpointResourceTest

public class EndpointResourceTest
extends MgmtTest

This class tests the functionality of the endpoint resource.

Author:
norlan, Christoph Fuchs

Constructor Summary
EndpointResourceTest()
           
 
Method Summary
 void exampleWorkflowCreateAndEndpointRetrievalTest()
          Tries to download and parse a RDF workflow description from LOCAL_WORKFLOW_DESCRIPTION_WITH_ENDPOINT.
 void exampleWorkflowCreateAndEndpointRetrievalWithoutTypeTest()
          Tries to download and parse an RDF workflow description from LOCAL_WORKFLOW_DESCRIPTION_WITH_ENDPOINT.
 
Methods inherited from class eu.larkc.core.management.MgmtTest
startLarkc, stopLarkc
 
Methods inherited from class eu.larkc.core.LarkcTest
deleteOrdiTreeDirectory, startLarKC
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointResourceTest

public EndpointResourceTest()
Method Detail

exampleWorkflowCreateAndEndpointRetrievalTest

public void exampleWorkflowCreateAndEndpointRetrievalTest()
                                                   throws java.lang.Exception
Tries to download and parse a RDF workflow description from LOCAL_WORKFLOW_DESCRIPTION_WITH_ENDPOINT. The workflow which is described in this document is initialized after parsing. Then an endpoint is asked from the server.

Throws:
java.lang.Exception

exampleWorkflowCreateAndEndpointRetrievalWithoutTypeTest

public void exampleWorkflowCreateAndEndpointRetrievalWithoutTypeTest()
Tries to download and parse an RDF workflow description from LOCAL_WORKFLOW_DESCRIPTION_WITH_ENDPOINT. The workflow which is described in this document is initialized after parsing. Then an endpoint is asked from the server by a faulty URL.