public abstract class AbstractGremlinProcessTest extends AbstractGremlinTest
config, g, graph, 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 |
checkOrderedResults(List<T> expectedResults,
Traversal<?,T> traversal) |
static <T> void |
checkResults(List<T> expectedResults,
Traversal<?,T> traversal) |
static <T> void |
checkResults(Map<T,Long> expectedResults,
Traversal<?,T> traversal) |
static void |
checkSideEffects(TraversalSideEffects sideEffects,
Object... keysClasses) |
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, getAssertVertexEdgeCounts, 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 void checkSideEffects(TraversalSideEffects sideEffects, Object... keysClasses)
public static <T> void checkOrderedResults(List<T> expectedResults, Traversal<?,T> traversal)
public static <T> void checkResults(Map<T,Long> expectedResults, Traversal<?,T> traversal)
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.