Class GraphConstructionTest
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.AbstractGremlinTest
-
- org.apache.tinkerpop.gremlin.structure.GraphConstructionTest
-
public class GraphConstructionTest extends AbstractGremlinTest
Tests that support the creation ofGraph
instances which occurs viaGraphFactory
.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
config, g, graph, graphProvider, name, shouldTestIteratorLeak
-
-
Constructor Summary
Constructors Constructor Description GraphConstructionTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
shouldConstructAnEmptyGraph()
Graphs should be empty on creation.void
shouldMaintainOriginalConfigurationObjectGivenToFactory()
void
shouldOpenGraphThroughGraphFactoryViaApacheConfig()
All Gremlin Structure implementations should be constructable throughGraphFactory
.-
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
-
-
-
-
Method Detail
-
shouldOpenGraphThroughGraphFactoryViaApacheConfig
public void shouldOpenGraphThroughGraphFactoryViaApacheConfig() throws Exception
All Gremlin Structure implementations should be constructable throughGraphFactory
.- Throws:
Exception
-
shouldConstructAnEmptyGraph
public void shouldConstructAnEmptyGraph()
Graphs should be empty on creation.
-
-