public class ProcessComputerSuite extends AbstractGremlinSuite
ProcessComputerStandardSuite
is a JUnit test runner that executes the Gremlin Test Suite over a
Graph
implementation. This specialized test suite and runner is for use
by Gremlin implementers to test their Graph
implementations. The
ProcessComputerStandardSuite
ensures consistency and validity of the implementations that they test.
To use the ProcessComputerStandardSuite
define a class in a test module. Simple naming would expect the
name of the implementation followed by "ProcessComputerStandardSuite". This class should be annotated as follows
(note that the "Suite" implements ProcessComputerStandardSuite.GraphProvider as a convenience only. It could be
implemented in a separate class file):
AbstractGremlinSuite.GraphProviderClass, AbstractGremlinSuite.OptOutTestFilter
Constructor and Description |
---|
ProcessComputerSuite(Class<?> klass,
RunnerBuilder builder) |
ProcessComputerSuite(Class<?> klass,
RunnerBuilder builder,
Class<?>[] testsToExecute,
Class<?>[] testsToEnforce) |
ProcessComputerSuite(Class<?> klass,
RunnerBuilder builder,
Class<?>[] testsToExecute,
Class<?>[] testsToEnforce,
boolean gremlinFlavorSuite) |
Modifier and Type | Method and Description |
---|---|
boolean |
beforeTestExecution(Class<? extends AbstractGremlinTest> testClass)
Called just prior to test class execution.
|
afterTestExecution, getGraphProviderClass, isHelperMethodOverriden, runChild, validateOptInAndOutAnnotationsOnGraph
public ProcessComputerSuite(Class<?> klass, RunnerBuilder builder) throws InitializationError
InitializationError
public ProcessComputerSuite(Class<?> klass, RunnerBuilder builder, Class<?>[] testsToExecute, Class<?>[] testsToEnforce) throws InitializationError
InitializationError
public boolean beforeTestExecution(Class<? extends AbstractGremlinTest> testClass)
AbstractGremlinSuite
beforeTestExecution
in class AbstractGremlinSuite
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.