@Deprecated public class TestComponent extends Component
Component
that wraps another component for testing purposes. This component has a
lifecycle that doesn't override any methods except for isEquivalentTo().Component.Builder<T extends Component.Builder<T>>, Component.ContainerBuilder<T extends Component.ContainerBuilder<T>>, Component.MountType, Component.RenderData
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSimpleName()
Deprecated.
|
Component |
getWrappedComponent()
Deprecated.
|
boolean |
isEquivalentProps(Component other,
boolean shouldCompareCommonProps)
Deprecated.
Determine if this component has equivalent props to a given component.
|
canMeasure, clone, createMountContent, dispatchErrorEvent, dispatchOnEvent, dispatchOnEventImpl, equals, excludeFromIncrementalMount, getCommonProps, getDynamicProps, getErrorHandler, getEventDispatcher, getEventTrigger, getEventTrigger, getHandle, getMountType, getTreePropFromParent, getTypeId, hasChildLithoViews, hasClickHandlerSet, hashCode, implementsShouldUpdate, isEqualivalentTreeProps, isEquivalentCommonProps, isEquivalentTo, isEquivalentTo, isLayoutSpecWithSizeSpec, isPureRender, isPureRender, makeShallowCopy, measure, measure, measureMightNotCacheInternalNode, newEventHandler, newEventTrigger, newEventTrigger, onCreateMountContent, onCreateTransition, onLoadStyle, onPopulateAccessibilityNode, onPopulateExtraAccessibilityNode, prepare, registerWorkingRange, render, resolve, retrieveValue, shouldUpdate, toString, transferState, usesLocalStateContainer, willRender
public Component getWrappedComponent()
public boolean isEquivalentProps(Component other, boolean shouldCompareCommonProps)
Component
isEquivalentProps
in class Component
other
- the component to compare topublic java.lang.String getSimpleName()
getSimpleName
in class Component