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.AbstractGremlinTestconfig, g, graph, graphProvider, name, shouldTestIteratorLeak
 
- 
 - 
Constructor SummaryConstructors Constructor Description GraphFunctionalityTest()
 - 
Method SummaryAll 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.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- 
shouldPrintTheFeatureListpublic 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
 - 
shouldSupportComputerIfAGraphCanComputepublic void shouldSupportComputerIfAGraphCanCompute() throws ExceptionAGraphthat does not supportGraph.Features.GraphFeatures.FEATURE_COMPUTERmust callGraph.Exceptions.graphComputerNotSupported().- Throws:
- Exception
 
 - 
shouldSupportTransactionsIfAGraphConstructsATxpublic void shouldSupportTransactionsIfAGraphConstructsATx() AGraphthat does not supportGraph.Features.GraphFeatures.FEATURE_TRANSACTIONSmust callGraph.Exceptions.transactionsNotSupported().
 - 
shouldSupportMemoryIfAGraphAcceptsMemorypublic void shouldSupportMemoryIfAGraphAcceptsMemory() throws ExceptionAGraphthat does not supportGraph.Features.VariableFeatures.FEATURE_VARIABLESmust callGraph.Exceptions.variablesNotSupported().- Throws:
- Exception
 
 - 
shouldThrowOnThreadedTransactionNotSupportedpublic void shouldThrowOnThreadedTransactionNotSupported() 
 
- 
 
-