public abstract class AbstractGremlinProcessTest extends AbstractGremlinTest
config, g, graph, graphComputerClass, graphProvider, name
Constructor and Description |
---|
AbstractGremlinProcessTest() |
Modifier and Type | Method and Description |
---|---|
static <A,B> void |
checkMap(Map<A,B> expectedMap,
Map<A,B> actualMap) |
static <T> void |
checkResults(List<T> expectedResults,
Traversal<?,T> traversal) |
static <T> void |
checkResults(Map<T,Long> expectedResults,
Traversal<?,T> traversal) |
protected boolean |
graphMeetsTestRequirements()
Determines if a graph meets requirements for execution.
|
protected boolean |
hasGraphComputerRequirement()
Determines if this test suite has "computer" requirements.
|
<A,B> List<Map<A,B>> |
makeMapList(int size,
Object... keyValues) |
void |
setupTest() |
afterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, isComputerTest, printTraversalForm, setup, tearDown, tryCommit, tryCommit, tryRandomCommit, tryRollback, validateException, verifyUniqueStepIds
protected boolean graphMeetsTestRequirements()
assumeTrue
to ensure that the test doesn't require the computer
feature or if it does require the computer feature then ensure that the graph being tested supports it.protected boolean hasGraphComputerRequirement()
public void setupTest()
public static <T> void checkResults(Map<T,Long> expectedResults, Traversal<?,T> traversal)
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.