Class IoTest.GraphMLTest
java.lang.Object
org.apache.tinkerpop.gremlin.AbstractGremlinTest
org.apache.tinkerpop.gremlin.structure.io.IoTest.GraphMLTest
- Enclosing class:
- IoTest
-
Field Summary
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
config, g, graph, graphProvider, name, shouldTestIteratorLeak -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidNote: this is only a very lightweight test of writer/reader encoding.voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidOnly 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
-
Constructor Details
-
GraphMLTest
public GraphMLTest()
-
-
Method Details
-
shouldReadGraphML
- Throws:
IOException
-
shouldReadGraphMLWithNoEdgeLabels
- Throws:
IOException
-
shouldReadGraphMLUnorderedElements
- Throws:
IOException
-
shouldReadGraphMLWithAllSupportedDataTypes
- Throws:
IOException
-
shouldReadGraphMLWithoutStrictOption
- Throws:
IOException
-
shouldReadGraphMLWithoutEdgeIds
- Throws:
IOException
-
shouldReadGraphMLWithCommonVertexAndEdgePropertyNames
- Throws:
IOException
-
shouldReadGraphMLWithStrictOption
- Throws:
IOException
-
shouldWriteNormalizedGraphML
Only need to execute this test with TinkerGraph or other graphs that support user supplied identifiers.- Throws:
Exception
-
shouldNotWriteGraphMLFromGraphWithMultiProperties
- Throws:
Exception
-
shouldProperlyEncodeWithGraphML
Note: 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
- Throws:
Exception
-
shouldTransformGraphMLV2ToV3ViaXSLT
- Throws:
Exception
-