Class IoTest.GraphSONTest
- java.lang.Object
 - 
- org.apache.tinkerpop.gremlin.AbstractGremlinTest
 - 
- org.apache.tinkerpop.gremlin.structure.io.IoTest.GraphSONTest
 
 
 
- 
- Enclosing class:
 - IoTest
 
public static final class IoTest.GraphSONTest extends AbstractGremlinTest
 
- 
- 
Field Summary
- 
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
config, g, graph, graphProvider, name, shouldTestIteratorLeak 
 - 
 
- 
Constructor Summary
Constructors Constructor Description GraphSONTest() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetupBeforeEachTest()voidshouldProperlySerializeCustomIdWithGraphSON()This is just a serialization check for JSON.voidshouldReadWriteModernWrappedInJsonObject()voidshouldReadWriteSelfLoopingEdges()voidshouldWriteNormalizedGraphSON()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 ExceptionOnly 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 ExceptionThis is just a serialization check for JSON.- Throws:
 Exception
 
 - 
 
 -