public final class ParameterizedRobolectricTestRunner
extends org.junit.runners.Suite
A Parameterized test runner for Robolectric. Copied from the Parameterized
class, then modified the custom test runner to extend the RobolectricTestRunner
. The RobolectricTestRunner.getHelperTestRunner(Class)
is overridden in order to create instances of the test class with the appropriate parameters. Merged in the ability to name your tests through the ParameterizedRobolectricTestRunner.Parameters.name()
property.
Modifier and Type | Class and Description |
---|---|
static interface |
ParameterizedRobolectricTestRunner.Parameters
Annotation for a method which provides parameters to be injected into the test class constructor by
Parameterized |
Constructor and Description |
---|
ParameterizedRobolectricTestRunner(java.lang.Class<?> klass) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<org.junit.runner.Runner> |
getChildren() |
childrenInvoker, classBlock, classRules, collectInitializationErrors, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, isIgnored, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses