public class LithoTestRunner
extends RobolectricTestRunner
Modifier and Type | Class and Description |
---|---|
static class |
LithoTestRunner.LithoTestLifecycle |
Constructor and Description |
---|
LithoTestRunner(Class<?> testClass)
Creates a runner to run
testClass . |
Modifier and Type | Method and Description |
---|---|
protected Config |
buildGlobalConfig() |
protected Class<? extends TestLifecycle> |
getTestLifecycleClass() |
public LithoTestRunner(Class<?> testClass) throws InitializationError
testClass
. Looks in your working directory for your
AndroidManifest.xml file and res directory by default. Use the Config
annotation to
configure.testClass
- the test class to be runInitializationError
- if junit says soprotected Config buildGlobalConfig()
protected Class<? extends TestLifecycle> getTestLifecycleClass()