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
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected T
protected Intent
protected final C
protected final ShadowLooper
-
Constructor Summary
ConstructorDescriptionComponentController
(T component) ComponentController
(T component, Intent intent) -
Method Summary
Modifier and TypeMethodDescriptionabstract C
create()
abstract C
destroy()
get()
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
-
ComponentController
-
ComponentController
-
-
Method Details
-
get
-
create
-
destroy
-
getIntent
-
invokeWhilePaused
protected C invokeWhilePaused(String methodName, ReflectionHelpers.ClassParameter<?>... classParameters) -
invokeWhilePaused
-