public abstract class AbstractGremlinSuite
extends Suite
| Modifier and Type | Class and Description | 
|---|---|
| static class  | AbstractGremlinSuite.OptOutTestFilterFilter for tests in the suite which is controlled by the  Graph.OptOutannotation. | 
| Constructor and Description | 
|---|
| AbstractGremlinSuite(Class<?> klass,
                    RunnerBuilder builder,
                    Class<?>[] testsToExecute,
                    Class<?>[] testsToEnforce,
                    boolean gremlinFlavorSuite,
                    TraversalEngine.Type traversalEngineType)Constructs a Gremlin Test Suite implementation. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterTestExecution(Class<? extends AbstractGremlinTest> testClass)Called just after test class execution. | 
| boolean | beforeTestExecution(Class<? extends AbstractGremlinTest> testClass)Called just prior to test class execution. | 
| static <any> | getGraphProviderClass(Class<?> klass) | 
| protected void | runChild(Runner runner,
        RunNotifier notifier) | 
| static void | validateOptInAndOutAnnotationsOnGraph(Class<? extends Graph> klass) | 
public AbstractGremlinSuite(Class<?> klass, RunnerBuilder builder, Class<?>[] testsToExecute, Class<?>[] testsToEnforce, boolean gremlinFlavorSuite, TraversalEngine.Type traversalEngineType) throws InitializationError
klass - Required for JUnit Suite constructionbuilder - Required for JUnit Suite constructiontestsToExecute - The list of tests to executetestsToEnforce - The list of tests to "enforce" such that a check is made to ensure that in this list,
                            there exists an implementation in the testsToExecute (use null for no
                            enforcement).gremlinFlavorSuite - Ignore validation of Graph.OptIn
                            annotations which is typically reserved for structure teststraversalEngineType - The TraversalEngine.Type to
                            enforce on this suiteInitializationErrorpublic static <any> getGraphProviderClass(Class<?> klass) throws InitializationError
InitializationErrorpublic static void validateOptInAndOutAnnotationsOnGraph(Class<? extends Graph> klass) throws InitializationError
InitializationErrorprotected void runChild(Runner runner,
                        RunNotifier notifier)
public boolean beforeTestExecution(Class<? extends AbstractGremlinTest> testClass)
public void afterTestExecution(Class<? extends AbstractGremlinTest> testClass)
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.