public class BenchmarkTestHelper extends Object
Constructor and Description |
---|
BenchmarkTestHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
bindComponent(ComponentContext c,
Component component,
Object content) |
static LithoView |
createAndMeasureLithoView(ComponentContext c,
Component component,
int widthSpec,
int heightSpec) |
static void |
createLithoViewAndExecLifecycleMethods(ComponentContext c,
Component component,
int widthSpec,
int heightSpec) |
static void |
ensureMountSpec(Component component) |
static Object |
getMountContent(ComponentContext c,
Component component) |
static void |
initComponentStateValues(ComponentContext c,
Component component) |
static void |
mountLithoView(LithoView lithoView) |
static void |
prepareComponent(ComponentContext c,
Component component) |
static void |
setMountStateDirty(LithoView lithoView) |
static void |
unbindComponent(ComponentContext c,
Component component,
Object content) |
static void |
unmountLithoView(LithoView lithoView) |
public static LithoView createAndMeasureLithoView(ComponentContext c, Component component, int widthSpec, int heightSpec)
public static void createLithoViewAndExecLifecycleMethods(ComponentContext c, Component component, int widthSpec, int heightSpec)
public static void mountLithoView(LithoView lithoView)
public static void unmountLithoView(LithoView lithoView)
public static void prepareComponent(ComponentContext c, Component component)
public static void bindComponent(ComponentContext c, Component component, Object content)
public static void unbindComponent(ComponentContext c, Component component, Object content)
public static void ensureMountSpec(Component component)
public static Object getMountContent(ComponentContext c, Component component)
public static void initComponentStateValues(ComponentContext c, Component component)
public static void setMountStateDirty(LithoView lithoView)