Class IoGraphTest
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.AbstractGremlinTest
-
- org.apache.tinkerpop.gremlin.structure.io.IoGraphTest
-
public class IoGraphTest extends AbstractGremlinTest
Tests for all IO implementations that are specific to reading and writing of aGraph
.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Field Summary
Fields Modifier and Type Field Description boolean
assertDouble
String
fileExtension
Io.Builder
ioBuilderToTest
String
ioType
boolean
lossyForId
-
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
config, g, graph, graphProvider, name, shouldTestIteratorLeak
-
-
Constructor Summary
Constructors Constructor Description IoGraphTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Iterable<Object[]>
data()
void
shouldMigrateClassicGraph()
void
shouldMigrateModernGraph()
void
shouldReadWriteClassic()
void
shouldReadWriteClassicToFileWithHelpers()
void
shouldReadWriteCrew()
void
shouldReadWriteModern()
void
shouldReadWriteModernToFileWithHelpers()
-
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
-
-
-
-
Field Detail
-
ioType
public String ioType
-
ioBuilderToTest
public Io.Builder ioBuilderToTest
-
assertDouble
public boolean assertDouble
-
lossyForId
public boolean lossyForId
-
fileExtension
public String fileExtension
-
-
Method Detail
-
shouldReadWriteClassicToFileWithHelpers
public void shouldReadWriteClassicToFileWithHelpers() throws Exception
- Throws:
Exception
-
shouldMigrateClassicGraph
public void shouldMigrateClassicGraph() throws Exception
- Throws:
Exception
-
shouldReadWriteModernToFileWithHelpers
public void shouldReadWriteModernToFileWithHelpers() throws Exception
- Throws:
Exception
-
-