Package org.opennms.core.test
Class OpenNMSJUnit4ClassRunner
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
- org.junit.runners.BlockJUnit4ClassRunner
-
- org.springframework.test.context.junit4.SpringJUnit4ClassRunner
-
- org.opennms.core.test.OpenNMSJUnit4ClassRunner
-
- All Implemented Interfaces:
org.junit.runner.Describable
,org.junit.runner.manipulation.Filterable
,org.junit.runner.manipulation.Sortable
- Direct Known Subclasses:
JUnitScenarioRunner
public class OpenNMSJUnit4ClassRunner extends org.springframework.test.context.junit4.SpringJUnit4ClassRunner
This runner will automagically register all of the boilerplate TestExecutionListener instances that the OpenNMS code craves.- Author:
- seth
-
-
Constructor Summary
Constructors Constructor Description OpenNMSJUnit4ClassRunner(Class<?> clazz)
-
Method Summary
-
Methods inherited from class org.springframework.test.context.junit4.SpringJUnit4ClassRunner
createTest, createTestContextManager, getDescription, getExpectedException, getJUnitTimeout, getSpringTimeout, getTestContextManager, isTestMethodIgnored, methodBlock, possiblyExpectingExceptions, run, runChild, withAfterClasses, withAfters, withBeforeClasses, withBefores, withPotentialRepeat, withPotentialTimeout
-
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, describeChild, getChildren, getTestRules, isIgnored, methodInvoker, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor
-
-
-
-
Constructor Detail
-
OpenNMSJUnit4ClassRunner
public OpenNMSJUnit4ClassRunner(Class<?> clazz) throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
-
-