public class LithoTestRunner
extends RobolectricTestRunner
| Modifier and Type | Class and Description |
|---|---|
static class |
LithoTestRunner.LithoTestLifecycle |
| Constructor and Description |
|---|
LithoTestRunner(java.lang.Class<?> testClass)
Creates a runner to run
testClass. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterTest(FrameworkMethod method,
java.lang.reflect.Method bootstrappedMethod) |
protected void |
beforeTest(Sandbox sandbox,
FrameworkMethod method,
java.lang.reflect.Method bootstrappedMethod) |
protected java.util.List<FrameworkMethod> |
getChildren() |
protected java.lang.Class<? extends TestLifecycle> |
getTestLifecycleClass() |
public LithoTestRunner(java.lang.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 java.util.List<FrameworkMethod> getChildren()
protected void beforeTest(Sandbox sandbox,
FrameworkMethod method,
java.lang.reflect.Method bootstrappedMethod)
throws java.lang.Throwable
java.lang.Throwableprotected void afterTest(FrameworkMethod method,
java.lang.reflect.Method bootstrappedMethod)
protected java.lang.Class<? extends TestLifecycle> getTestLifecycleClass()