Package org.robolectric
Class RobolectricTestRunner.HelperTestRunner
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
org.robolectric.internal.SandboxTestRunner.HelperTestRunner
org.robolectric.RobolectricTestRunner.HelperTestRunner
- All Implemented Interfaces:
org.junit.runner.Describable,org.junit.runner.manipulation.Filterable,org.junit.runner.manipulation.Orderable,org.junit.runner.manipulation.Sortable
- Enclosing class:
- RobolectricTestRunner
public static class RobolectricTestRunner.HelperTestRunner extends SandboxTestRunner.HelperTestRunner
-
Field Summary
Fields inherited from class org.robolectric.internal.SandboxTestRunner.HelperTestRunner
frameworkMethod -
Constructor Summary
Constructors Constructor Description HelperTestRunner(Class bootstrappedTestClass) -
Method Summary
Modifier and Type Method Description protected ObjectcreateTest()protected org.junit.runners.model.StatementmethodBlock(org.junit.runners.model.FrameworkMethod method)Methods inherited from class org.robolectric.internal.SandboxTestRunner.HelperTestRunner
methodInvoker, withPotentialTimeoutMethods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBeforesMethods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
-
Constructor Details
-
HelperTestRunner
public HelperTestRunner(Class bootstrappedTestClass) throws org.junit.runners.model.InitializationError- Throws:
org.junit.runners.model.InitializationError
-
-
Method Details
-
createTest
- Overrides:
createTestin classorg.junit.runners.BlockJUnit4ClassRunner- Throws:
Exception
-
methodBlock
protected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)- Overrides:
methodBlockin classSandboxTestRunner.HelperTestRunner
-