public abstract class AbstractGremlinSuite
extends org.junit.runners.Suite
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
AbstractGremlinSuite.OptOutTestFilter
Filter for tests in the suite which is controlled by the  
Graph.OptOut annotation. | 
| Constructor and Description | 
|---|
AbstractGremlinSuite(Class<?> klass,
                    org.junit.runners.model.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 org.javatuples.Pair<Class<? extends GraphProvider>,Class<? extends Graph>> | 
getGraphProviderClass(Class<?> klass)  | 
protected void | 
runChild(org.junit.runner.Runner runner,
        org.junit.runner.notification.RunNotifier notifier)  | 
protected org.junit.runners.model.Statement | 
withAfterClasses(org.junit.runners.model.Statement statement)  | 
childrenInvoker, classBlock, classRules, collectInitializationErrors, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, isIgnored, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withBeforeClasses, withInterruptIsolationpublic AbstractGremlinSuite(Class<?> klass, org.junit.runners.model.RunnerBuilder builder, Class<?>[] testsToExecute, Class<?>[] testsToEnforce, boolean gremlinFlavorSuite, TraversalEngine.Type traversalEngineType) throws org.junit.runners.model.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 suiteorg.junit.runners.model.InitializationErrorpublic static org.javatuples.Pair<Class<? extends GraphProvider>,Class<? extends Graph>> getGraphProviderClass(Class<?> klass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprotected void runChild(org.junit.runner.Runner runner,
                        org.junit.runner.notification.RunNotifier notifier)
runChild in class org.junit.runners.Suiteprotected org.junit.runners.model.Statement withAfterClasses(org.junit.runners.model.Statement statement)
withAfterClasses in class org.junit.runners.ParentRunner<org.junit.runner.Runner>public boolean beforeTestExecution(Class<? extends AbstractGremlinTest> testClass)
public void afterTestExecution(Class<? extends AbstractGremlinTest> testClass)
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.