Class FeatureSupportTest.GraphFunctionalityTest
java.lang.Object
org.apache.tinkerpop.gremlin.AbstractGremlinTest
org.apache.tinkerpop.gremlin.structure.FeatureSupportTest.GraphFunctionalityTest
- Enclosing class:
- FeatureSupportTest
Feature checks that test
Graph functionality to determine if a feature should be on when it is marked
as not supported.-
Field Summary
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
config, g, graph, graphProvider, name, shouldTestIteratorLeak -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis isn't really a test.voidAGraphthat does not supportGraph.Features.GraphFeatures.FEATURE_COMPUTERmust callGraph.Exceptions.graphComputerNotSupported().voidAGraphthat does not supportGraph.Features.VariableFeatures.FEATURE_VARIABLESmust callGraph.Exceptions.variablesNotSupported().voidAGraphthat does not supportGraph.Features.GraphFeatures.FEATURE_TRANSACTIONSmust callGraph.Exceptions.transactionsNotSupported().voidMethods 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
-
Constructor Details
-
GraphFunctionalityTest
public GraphFunctionalityTest()
-
-
Method Details
-
shouldPrintTheFeatureList
public void shouldPrintTheFeatureList()This isn't really a test. It just pretty prints the features for the graph for reference. Of course, if the implementing classes use anonymous inner classes it will -
shouldSupportComputerIfAGraphCanCompute
AGraphthat does not supportGraph.Features.GraphFeatures.FEATURE_COMPUTERmust callGraph.Exceptions.graphComputerNotSupported().- Throws:
Exception
-
shouldSupportTransactionsIfAGraphConstructsATx
public void shouldSupportTransactionsIfAGraphConstructsATx()AGraphthat does not supportGraph.Features.GraphFeatures.FEATURE_TRANSACTIONSmust callGraph.Exceptions.transactionsNotSupported(). -
shouldSupportMemoryIfAGraphAcceptsMemory
AGraphthat does not supportGraph.Features.VariableFeatures.FEATURE_VARIABLESmust callGraph.Exceptions.variablesNotSupported().- Throws:
Exception
-
shouldThrowOnThreadedTransactionNotSupported
public void shouldThrowOnThreadedTransactionNotSupported()
-