Package de.hsh.graja.modules.junit.api
Class GrajaRunner
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
- org.junit.runners.BlockJUnit4ClassRunner
-
- de.hsh.graja.modules.junit.api.GrajaRunner
-
- All Implemented Interfaces:
org.junit.runner.Describable
,org.junit.runner.manipulation.Filterable
,org.junit.runner.manipulation.Orderable
,org.junit.runner.manipulation.Sortable
public class GrajaRunner extends org.junit.runners.BlockJUnit4ClassRunner
-
-
Constructor Summary
Constructors Constructor Description GrajaRunner(Class<?> klass)
Instances a new JUnit runner.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
classBlock(org.junit.runner.notification.RunNotifier notifier)
org.junit.runners.model.Statement
methodBlock(org.junit.runners.model.FrameworkMethod method)
-
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, createTest, describeChild, getChildren, getTestRules, isIgnored, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
-
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
-
-
-
-
Constructor Detail
-
GrajaRunner
public GrajaRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
Instances a new JUnit runner.- Parameters:
klass
- The test class- Throws:
org.junit.runners.model.InitializationError
-
-
Method Detail
-
classBlock
public org.junit.runners.model.Statement classBlock(org.junit.runner.notification.RunNotifier notifier)
- Overrides:
classBlock
in classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
methodBlock
public org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
- Overrides:
methodBlock
in classorg.junit.runners.BlockJUnit4ClassRunner
-
-