Class IoTest.GraphSONV2Test
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.AbstractGremlinTest
- 
- org.apache.tinkerpop.gremlin.structure.io.IoTest.GraphSONV2Test
 
 
- 
- Enclosing class:
- IoTest
 
 public static final class IoTest.GraphSONV2Test extends AbstractGremlinTest 
- 
- 
Field Summary- 
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTestconfig, g, graph, graphProvider, name, shouldTestIteratorLeak
 
- 
 - 
Constructor SummaryConstructors Constructor Description GraphSONV2Test()
 - 
Method SummaryAll 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.AbstractGremlinTestafterLoadGraphWith, 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- 
setupBeforeEachTestpublic void setupBeforeEachTest() 
 - 
shouldWriteNormalizedGraphSONpublic void shouldWriteNormalizedGraphSON() throws ExceptionOnly need to execute this test with TinkerGraph or other graphs that support user supplied identifiers.- Throws:
- Exception
 
 - 
shouldReadWriteModernWrappedInJsonObjectpublic void shouldReadWriteModernWrappedInJsonObject() throws Exception- Throws:
- Exception
 
 - 
shouldProperlySerializeCustomIdWithGraphSONpublic void shouldProperlySerializeCustomIdWithGraphSON() throws ExceptionThis is just a serialization check for JSON.- Throws:
- Exception
 
 
- 
 
-