Class ComponentController<C extends ComponentController<C,T>,T>
- java.lang.Object
-
- org.robolectric.android.controller.ComponentController<C,T>
-
- Direct Known Subclasses:
ActivityController,BackupAgentController,FragmentController,IntentServiceController,ServiceController,SupportFragmentController
public abstract class ComponentController<C extends ComponentController<C,T>,T> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanattachedprotected Tcomponentprotected Intentintentprotected Cmyselfprotected ShadowLoopershadowMainLooper
-
Constructor Summary
Constructors Constructor Description ComponentController(T component)ComponentController(T component, Intent intent)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Ccreate()abstract Cdestroy()Tget()IntentgetIntent()protected CinvokeWhilePaused(Runnable runnable)protected CinvokeWhilePaused(String methodName, ReflectionHelpers.ClassParameter<?>... classParameters)
-
-
-
Field Detail
-
myself
protected final C extends ComponentController<C,T> myself
-
component
protected T component
-
shadowMainLooper
protected final ShadowLooper shadowMainLooper
-
intent
protected Intent intent
-
attached
protected boolean attached
-
-