Class IoTest.GraphMLTest
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.AbstractGremlinTest
-
- org.apache.tinkerpop.gremlin.structure.io.IoTest.GraphMLTest
-
- Enclosing class:
- IoTest
public static class IoTest.GraphMLTest extends AbstractGremlinTest
-
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
config, g, graph, graphProvider, name, shouldTestIteratorLeak
-
-
Constructor Summary
Constructors Constructor Description GraphMLTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidshouldNotWriteGraphMLFromGraphWithMultiProperties()voidshouldProperlyEncodeWithGraphML()Note: this is only a very lightweight test of writer/reader encoding.voidshouldReadGraphML()voidshouldReadGraphMLUnorderedElements()voidshouldReadGraphMLWithAllSupportedDataTypes()voidshouldReadGraphMLWithCommonVertexAndEdgePropertyNames()voidshouldReadGraphMLWithNoEdgeLabels()voidshouldReadGraphMLWithoutEdgeIds()voidshouldReadGraphMLWithoutStrictOption()voidshouldReadGraphMLWithStrictOption()voidshouldReadWriteSelfLoopingEdges()voidshouldTransformGraphMLV2ToV3ViaXSLT()voidshouldWriteNormalizedGraphML()Only need to execute this test with TinkerGraph or other graphs that support user supplied identifiers.-
Methods inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
afterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdge, convertToEdge, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, getAssertVertexEdgeCounts, printTraversalForm, setup, tearDown, tryCommit, tryCommit, tryRollback, validateException, verifyRootIdentification, verifyUniqueStepIds
-
-
-
-
Method Detail
-
shouldReadGraphML
public void shouldReadGraphML() throws IOException- Throws:
IOException
-
shouldReadGraphMLWithNoEdgeLabels
public void shouldReadGraphMLWithNoEdgeLabels() throws IOException- Throws:
IOException
-
shouldReadGraphMLUnorderedElements
public void shouldReadGraphMLUnorderedElements() throws IOException- Throws:
IOException
-
shouldReadGraphMLWithAllSupportedDataTypes
public void shouldReadGraphMLWithAllSupportedDataTypes() throws IOException- Throws:
IOException
-
shouldReadGraphMLWithoutStrictOption
public void shouldReadGraphMLWithoutStrictOption() throws IOException- Throws:
IOException
-
shouldReadGraphMLWithoutEdgeIds
public void shouldReadGraphMLWithoutEdgeIds() throws IOException- Throws:
IOException
-
shouldReadGraphMLWithCommonVertexAndEdgePropertyNames
public void shouldReadGraphMLWithCommonVertexAndEdgePropertyNames() throws IOException- Throws:
IOException
-
shouldReadGraphMLWithStrictOption
public void shouldReadGraphMLWithStrictOption() throws IOException- Throws:
IOException
-
shouldWriteNormalizedGraphML
public void shouldWriteNormalizedGraphML() throws ExceptionOnly need to execute this test with TinkerGraph or other graphs that support user supplied identifiers.- Throws:
Exception
-
shouldNotWriteGraphMLFromGraphWithMultiProperties
public void shouldNotWriteGraphMLFromGraphWithMultiProperties() throws Exception- Throws:
Exception
-
shouldProperlyEncodeWithGraphML
public void shouldProperlyEncodeWithGraphML() throws ExceptionNote: this is only a very lightweight test of writer/reader encoding. It is known that there are characters which, when written by GraphMLWriter, cause parse errors for GraphMLReader. However, this happens uncommonly enough that is not yet known which characters those are. Only need to execute this test with TinkerGraph or other graphs that support user supplied identifiers.- Throws:
Exception
-
shouldReadWriteSelfLoopingEdges
public void shouldReadWriteSelfLoopingEdges() throws Exception- Throws:
Exception
-
-