public static class FeatureSupportTest.GraphFunctionalityTest extends AbstractGremlinTest
Graph
functionality to determine if a feature should be on when it is marked
as not supported.config, g, graph, graphProvider, name, shouldTestIteratorLeak
Constructor and Description |
---|
GraphFunctionalityTest() |
Modifier and Type | Method and Description |
---|---|
void |
shouldPrintTheFeatureList()
This isn't really a test.
|
void |
shouldSupportComputerIfAGraphCanCompute()
A
Graph that does not support Graph.Features.GraphFeatures.FEATURE_COMPUTER must call
Graph.Exceptions.graphComputerNotSupported() . |
void |
shouldSupportMemoryIfAGraphAcceptsMemory()
A
Graph that does not support Graph.Features.VariableFeatures.FEATURE_VARIABLES must call
Graph.Exceptions.variablesNotSupported() . |
void |
shouldSupportTransactionsIfAGraphConstructsATx()
A
Graph that does not support Graph.Features.GraphFeatures.FEATURE_TRANSACTIONS must call
Graph.Exceptions.transactionsNotSupported() . |
void |
shouldThrowOnThreadedTransactionNotSupported() |
afterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdge, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, getAssertVertexEdgeCounts, printTraversalForm, setup, tearDown, tryCommit, tryCommit, tryRollback, validateException
public void shouldPrintTheFeatureList()
public void shouldSupportComputerIfAGraphCanCompute() throws Exception
Graph
that does not support Graph.Features.GraphFeatures.FEATURE_COMPUTER
must call
Graph.Exceptions.graphComputerNotSupported()
.Exception
public void shouldSupportTransactionsIfAGraphConstructsATx() throws Exception
Graph
that does not support Graph.Features.GraphFeatures.FEATURE_TRANSACTIONS
must call
Graph.Exceptions.transactionsNotSupported()
.Exception
public void shouldSupportMemoryIfAGraphAcceptsMemory() throws Exception
Graph
that does not support Graph.Features.VariableFeatures.FEATURE_VARIABLES
must call
Graph.Exceptions.variablesNotSupported()
.Exception
public void shouldThrowOnThreadedTransactionNotSupported()
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.