public class ComponentActivityTestRule extends LithoActivityTestRule<ComponentActivity>
setComponent(com.facebook.litho.Component)
(along with getComponentContext()
) to show the Component they want rendered.Constructor and Description |
---|
ComponentActivityTestRule() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterActivityFinished() |
protected void |
afterActivityLaunched() |
ComponentContext |
getComponentContext() |
LithoView |
getLithoView() |
void |
setComponent(Component component)
Set the Component for the Activity to display.
|
void |
setComponentTree(ComponentTree componentTree)
Set ComponentTree for the Activity to display.
|
beforeActivityLaunched
protected void afterActivityLaunched()
protected void afterActivityFinished()
public ComponentContext getComponentContext()
public void setComponent(Component component)
public void setComponentTree(ComponentTree componentTree)
public LithoView getLithoView()