blob: 1503d9d18cbccc9a5d0ea056f57896462f3fd3d5 [file] [log] [blame]
// Signature format: 4.0
package androidx.wear.protolayout.testing {
public final class FiltersKt {
method public static androidx.wear.protolayout.testing.LayoutElementMatcher containsTag(String value);
method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasChild(androidx.wear.protolayout.testing.LayoutElementMatcher matcher);
method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasClickable(androidx.wear.protolayout.ModifiersBuilders.Clickable clickable);
method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasColor(@ColorInt int argb);
method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasContentDescription(String value);
method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasContentDescription(kotlin.text.Regex pattern);
method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasDescendant(androidx.wear.protolayout.testing.LayoutElementMatcher matcher);
method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasHeight(androidx.wear.protolayout.DimensionBuilders.ContainerDimension height);
method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasHeight(androidx.wear.protolayout.DimensionBuilders.ProportionalDimensionProp height);
method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasImage(String protolayoutResId);
method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasText(androidx.wear.protolayout.types.LayoutString value);
method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasText(String value);
method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasText(String value, optional boolean subString);
method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasText(String value, optional boolean subString, optional boolean ignoreCase);
method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasWidth(androidx.wear.protolayout.DimensionBuilders.ContainerDimension width);
method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasWidth(androidx.wear.protolayout.DimensionBuilders.ProportionalDimensionProp width);
method public static androidx.wear.protolayout.testing.LayoutElementMatcher isClickable();
}
public final class LayoutElementAssertion {
method public androidx.wear.protolayout.testing.LayoutElementAssertion assert(androidx.wear.protolayout.testing.LayoutElementMatcher matcher);
method public void assertDoesNotExist();
method public void assertExists();
}
public final class LayoutElementAssertionsProvider {
ctor public LayoutElementAssertionsProvider(androidx.wear.protolayout.LayoutElementBuilders.Layout layout);
ctor public LayoutElementAssertionsProvider(androidx.wear.protolayout.LayoutElementBuilders.LayoutElement layoutRoot);
method public androidx.wear.protolayout.testing.LayoutElementAssertion onElement(androidx.wear.protolayout.testing.LayoutElementMatcher matcher);
method public androidx.wear.protolayout.testing.LayoutElementAssertion onRoot();
}
public final class LayoutElementMatcher {
ctor public LayoutElementMatcher(String description, kotlin.jvm.functions.Function1<? super androidx.wear.protolayout.LayoutElementBuilders.LayoutElement,java.lang.Boolean> matcher);
method public infix androidx.wear.protolayout.testing.LayoutElementMatcher and(androidx.wear.protolayout.testing.LayoutElementMatcher other);
method public operator androidx.wear.protolayout.testing.LayoutElementMatcher not();
method public infix androidx.wear.protolayout.testing.LayoutElementMatcher or(androidx.wear.protolayout.testing.LayoutElementMatcher other);
}
}