Class FeatureSupportTest.GraphFunctionalityTest
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.AbstractGremlinTest
-
- org.apache.tinkerpop.gremlin.structure.FeatureSupportTest.GraphFunctionalityTest
-
- Enclosing class:
- FeatureSupportTest
public static class FeatureSupportTest.GraphFunctionalityTest extends AbstractGremlinTest
Feature checks that testGraphfunctionality 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 Constructor Description GraphFunctionalityTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidshouldPrintTheFeatureList()This isn't really a test.voidshouldSupportComputerIfAGraphCanCompute()AGraphthat does not supportGraph.Features.GraphFeatures.FEATURE_COMPUTERmust callGraph.Exceptions.graphComputerNotSupported().voidshouldSupportMemoryIfAGraphAcceptsMemory()AGraphthat does not supportGraph.Features.VariableFeatures.FEATURE_VARIABLESmust callGraph.Exceptions.variablesNotSupported().voidshouldSupportTransactionsIfAGraphConstructsATx()AGraphthat does not supportGraph.Features.GraphFeatures.FEATURE_TRANSACTIONSmust callGraph.Exceptions.transactionsNotSupported().voidshouldThrowOnThreadedTransactionNotSupported()-
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
-
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
public void shouldSupportComputerIfAGraphCanCompute() throws ExceptionAGraphthat does not supportGraph.Features.GraphFeatures.FEATURE_COMPUTERmust callGraph.Exceptions.graphComputerNotSupported().- Throws:
Exception
-
shouldSupportTransactionsIfAGraphConstructsATx
public void shouldSupportTransactionsIfAGraphConstructsATx() throws ExceptionAGraphthat does not supportGraph.Features.GraphFeatures.FEATURE_TRANSACTIONSmust callGraph.Exceptions.transactionsNotSupported().- Throws:
Exception
-
shouldSupportMemoryIfAGraphAcceptsMemory
public void shouldSupportMemoryIfAGraphAcceptsMemory() throws ExceptionAGraphthat does not supportGraph.Features.VariableFeatures.FEATURE_VARIABLESmust callGraph.Exceptions.variablesNotSupported().- Throws:
Exception
-
shouldThrowOnThreadedTransactionNotSupported
public void shouldThrowOnThreadedTransactionNotSupported()
-
-