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 boolean
attached
protected T
component
protected Intent
intent
protected C
myself
protected ShadowLooper
shadowMainLooper
-
Constructor Summary
Constructors Constructor Description ComponentController(T component)
ComponentController(T component, Intent intent)
-
Method Summary
Modifier and Type Method Description abstract C
create()
abstract C
destroy()
T
get()
Intent
getIntent()
protected C
invokeWhilePaused(Runnable runnable)
protected C
invokeWhilePaused(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
-