public class JPutSpringRunner
extends org.springframework.test.context.junit4.SpringJUnit4ClassRunner
| Constructor and Description |
|---|
JPutSpringRunner(Class<?> clazz)
Construct a new
SpringJUnit4ClassRunner and initialize a
TestContextManager to provide Spring testing functionality to
standard JUnit tests. |
| Modifier and Type | Method and Description |
|---|---|
void |
run(org.junit.runner.notification.RunNotifier notifier) |
protected void |
runChild(org.junit.runners.model.FrameworkMethod frameworkMethod,
org.junit.runner.notification.RunNotifier notifier) |
createTest, createTestContextManager, getDescription, getExpectedException, getJUnitTimeout, getSpringTimeout, getTestContextManager, isTestMethodIgnored, methodBlock, possiblyExpectingExceptions, withAfterClasses, withAfters, withBeforeClasses, withBefores, withPotentialRepeat, withPotentialTimeoutcollectInitializationErrors, computeTestMethods, describeChild, getChildren, getTestRules, isIgnored, methodInvoker, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructorpublic JPutSpringRunner(Class<?> clazz) throws org.junit.runners.model.InitializationError
SpringJUnit4ClassRunner and initialize a
TestContextManager to provide Spring testing functionality to
standard JUnit tests.clazz - the test class to be runorg.junit.runners.model.InitializationErrorSpringJUnit4ClassRunner.createTestContextManager(Class)public void run(org.junit.runner.notification.RunNotifier notifier)
run in class org.springframework.test.context.junit4.SpringJUnit4ClassRunnerprotected void runChild(org.junit.runners.model.FrameworkMethod frameworkMethod,
org.junit.runner.notification.RunNotifier notifier)
runChild in class org.springframework.test.context.junit4.SpringJUnit4ClassRunnerCopyright © 2017. All rights reserved.