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
Modifier and Type Method Description abstract Ccreate()abstract Cdestroy()Tget()IntentgetIntent()protected CinvokeWhilePaused(Runnable runnable)protected CinvokeWhilePaused(String methodName, ReflectionHelpers.ClassParameter<?>... classParameters)
-
Field Details
-
myself
-
component
-
shadowMainLooper
-
intent
-
attached
protected boolean attached
-
-
Constructor Details
-
Method Details
-
get
-
create
-
destroy
-
getIntent
-
invokeWhilePaused
protected C invokeWhilePaused(String methodName, ReflectionHelpers.ClassParameter<?>... classParameters) -
invokeWhilePaused
-