Class IoTest.GraphSONV2D0Test
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.AbstractGremlinTest
-
- org.apache.tinkerpop.gremlin.structure.io.IoTest.GraphSONV2D0Test
-
- Enclosing class:
- IoTest
public static final class IoTest.GraphSONV2D0Test extends AbstractGremlinTest
-
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
config, g, graph, graphProvider, name, shouldTestIteratorLeak
-
-
Constructor Summary
Constructors Constructor Description GraphSONV2D0Test()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setupBeforeEachTest()
void
shouldProperlySerializeCustomIdWithGraphSON()
This is just a serialization check for JSON.void
shouldReadWriteModernWrappedInJsonObject()
void
shouldReadWriteSelfLoopingEdges()
void
shouldWriteNormalizedGraphSON()
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, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, getAssertVertexEdgeCounts, printTraversalForm, setup, tearDown, tryCommit, tryCommit, tryRollback, validateException, verifyRootIdentification, verifyUniqueStepIds
-
-
-
-
Method Detail
-
setupBeforeEachTest
public void setupBeforeEachTest()
-
shouldWriteNormalizedGraphSON
public void shouldWriteNormalizedGraphSON() throws Exception
Only need to execute this test with TinkerGraph or other graphs that support user supplied identifiers.- Throws:
Exception
-
shouldReadWriteModernWrappedInJsonObject
public void shouldReadWriteModernWrappedInJsonObject() throws Exception
- Throws:
Exception
-
shouldProperlySerializeCustomIdWithGraphSON
public void shouldProperlySerializeCustomIdWithGraphSON() throws Exception
This is just a serialization check for JSON.- Throws:
Exception
-
-