Class BridgeJUnitTestRunner
Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
com.liferay.portal.kernel.test.junit.BridgeJUnitTestRunner
- All Implemented Interfaces:
org.junit.runner.Describable
,org.junit.runner.manipulation.Filterable
,org.junit.runner.manipulation.Orderable
,org.junit.runner.manipulation.Sortable
public class BridgeJUnitTestRunner
extends org.junit.runners.BlockJUnit4ClassRunner
- Author:
- Shuyang Zhou
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.junit.runner.notification.RunNotifier
getRunNotifier
(Class<?> clazz) void
run
(org.junit.runner.notification.RunNotifier runNotifier) static org.junit.runner.Result
runBridgeTests
(BridgeJUnitTestRunner.BridgeRunListener bridgeRunListener, Class<?>... testClasses) Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
Methods inherited from class org.junit.runner.Runner
testCount
-
Constructor Details
-
BridgeJUnitTestRunner
- Throws:
org.junit.runners.model.InitializationError
-
-
Method Details
-
getRunNotifier
-
runBridgeTests
public static org.junit.runner.Result runBridgeTests(BridgeJUnitTestRunner.BridgeRunListener bridgeRunListener, Class<?>... testClasses) -
run
public void run(org.junit.runner.notification.RunNotifier runNotifier) - Overrides:
run
in classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-