Class IoTest.GraphSONTest
java.lang.Object
org.apache.tinkerpop.gremlin.AbstractGremlinTest
org.apache.tinkerpop.gremlin.structure.io.IoTest.GraphSONTest
- 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 TypeMethodDescriptionvoidvoidThis is just a serialization check for JSON.voidvoidvoidOnly 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
-
GraphSONTest
public GraphSONTest()
-
-
Method Details
-
setupBeforeEachTest
public void setupBeforeEachTest() -
shouldWriteNormalizedGraphSON
Only need to execute this test with TinkerGraph or other graphs that support user supplied identifiers.- Throws:
Exception
-
shouldReadWriteModernWrappedInJsonObject
- Throws:
Exception
-
shouldProperlySerializeCustomIdWithGraphSON
This is just a serialization check for JSON.- Throws:
Exception
-
shouldReadWriteSelfLoopingEdges
- Throws:
Exception
-