eu.larkc.core.data.workflow
Class SerializationTest

java.lang.Object
  extended by eu.larkc.core.data.workflow.SerializationTest

public class SerializationTest
extends java.lang.Object

Tests the serialization helper for various workflows and formats. Note that those tests don't have any assertions. As long as they don't throw any exceptions it's fine.

Author:
Christoph Fuchs

Constructor Summary
SerializationTest()
           
 
Method Summary
 void testSerializationOfMinimalWorkflow()
          Serializes the minimal workflow.
 void testSerializationOfSplitAndMerge()
          Tests the serialization of a workflow with splits
 void testSerializationOfSpyrosExamples()
          Prints out two sample workflows.
 void testSerializationOfWorkflowWithParameters()
          Prints out a workflow where the used plugins have multiple parameters
 void testSerializationOfWorkflowWithPipe()
          Serializes an example workflow which has three plug-ins, a source and sink, which forms a pipe.
 void testSerializationToN3()
          Tests the serialization of a simple workflow to N3
 void testSerializationToNTriples()
          Tests the serialization of a simple workflow to NTRIPLES format
 void testSerializationToRdfXml()
          Tests the serialization of a simple workflow to RDF/XML
 void testSerializationToTrig()
          Tests the serialization of a simple workflow to Trig format
 void testSerializationToTrix()
          Tests the serialization of a simple workflow to Trix format
 void testSerializationToTurtle()
          Tests the serialization of a simple workflow to turtle format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializationTest

public SerializationTest()
Method Detail

testSerializationOfWorkflowWithParameters

public void testSerializationOfWorkflowWithParameters()
Prints out a workflow where the used plugins have multiple parameters


testSerializationOfSpyrosExamples

public void testSerializationOfSpyrosExamples()
Prints out two sample workflows. One with an embedded query and one with a SPARQL endpoint. This is to show the two possibilities of query entry-points of a workflow.


testSerializationToRdfXml

public void testSerializationToRdfXml()
Tests the serialization of a simple workflow to RDF/XML


testSerializationToN3

public void testSerializationToN3()
Tests the serialization of a simple workflow to N3


testSerializationToNTriples

public void testSerializationToNTriples()
Tests the serialization of a simple workflow to NTRIPLES format


testSerializationToTurtle

public void testSerializationToTurtle()
Tests the serialization of a simple workflow to turtle format


testSerializationToTrig

public void testSerializationToTrig()
Tests the serialization of a simple workflow to Trig format


testSerializationToTrix

public void testSerializationToTrix()
Tests the serialization of a simple workflow to Trix format


testSerializationOfSplitAndMerge

public void testSerializationOfSplitAndMerge()
Tests the serialization of a workflow with splits


testSerializationOfWorkflowWithPipe

public void testSerializationOfWorkflowWithPipe()
Serializes an example workflow which has three plug-ins, a source and sink, which forms a pipe.


testSerializationOfMinimalWorkflow

public void testSerializationOfMinimalWorkflow()
Serializes the minimal workflow.