blob: fbae5448c6540ceec5e604093972b409f31bed0b [file] [log] [blame]
// Signature format: 4.0
package androidx.compose.ui.test {
public final class ActionsKt {
method public static androidx.compose.ui.test.SemanticsNodeInteraction performClick(androidx.compose.ui.test.SemanticsNodeInteraction);
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static androidx.compose.ui.test.SemanticsNodeInteraction performCustomAccessibilityActionWithLabel(androidx.compose.ui.test.SemanticsNodeInteraction, String label);
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static androidx.compose.ui.test.SemanticsNodeInteraction performCustomAccessibilityActionWithLabelMatching(androidx.compose.ui.test.SemanticsNodeInteraction, optional String? predicateDescription, kotlin.jvm.functions.Function1<? super java.lang.String,java.lang.Boolean> labelPredicate);
method public static androidx.compose.ui.test.SemanticsNodeInteraction performFirstLinkClick(androidx.compose.ui.test.SemanticsNodeInteraction, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.LinkAnnotation>,java.lang.Boolean> predicate);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction performGesture(androidx.compose.ui.test.SemanticsNodeInteraction, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.GestureScope,kotlin.Unit> block);
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static androidx.compose.ui.test.SemanticsNodeInteraction performKeyInput(androidx.compose.ui.test.SemanticsNodeInteraction, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.KeyInjectionScope,kotlin.Unit> block);
method public static androidx.compose.ui.test.SemanticsNodeInteraction performMouseInput(androidx.compose.ui.test.SemanticsNodeInteraction, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.MouseInjectionScope,kotlin.Unit> block);
method public static androidx.compose.ui.test.SemanticsNodeInteraction performMultiModalInput(androidx.compose.ui.test.SemanticsNodeInteraction, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.MultiModalInjectionScope,kotlin.Unit> block);
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static androidx.compose.ui.test.SemanticsNodeInteraction performRotaryScrollInput(androidx.compose.ui.test.SemanticsNodeInteraction, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.RotaryInjectionScope,kotlin.Unit> block);
method public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollTo(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollToIndex(androidx.compose.ui.test.SemanticsNodeInteraction, int index);
method public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollToKey(androidx.compose.ui.test.SemanticsNodeInteraction, Object key);
method public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollToNode(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsNodeInteraction performSemanticsAction(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.semantics.SemanticsPropertyKey<androidx.compose.ui.semantics.AccessibilityAction<kotlin.jvm.functions.Function0<java.lang.Boolean>>> key);
method @Deprecated public static void performSemanticsAction(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.semantics.SemanticsPropertyKey<androidx.compose.ui.semantics.AccessibilityAction<kotlin.jvm.functions.Function0<java.lang.Boolean>>> key);
method public static <T extends kotlin.Function<? extends java.lang.Boolean>> androidx.compose.ui.test.SemanticsNodeInteraction performSemanticsAction(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.semantics.SemanticsPropertyKey<androidx.compose.ui.semantics.AccessibilityAction<T>> key, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> invocation);
method @Deprecated public static <T extends kotlin.Function<? extends java.lang.Boolean>> void performSemanticsAction(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.semantics.SemanticsPropertyKey<androidx.compose.ui.semantics.AccessibilityAction<T>> key, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> invocation);
method public static androidx.compose.ui.test.SemanticsNodeInteraction performTouchInput(androidx.compose.ui.test.SemanticsNodeInteraction, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.TouchInjectionScope,kotlin.Unit> block);
method public static androidx.compose.ui.test.SemanticsNodeInteraction requestFocus(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection tryPerformAccessibilityChecks(androidx.compose.ui.test.SemanticsNodeInteractionCollection);
}
public final class AndroidActions {
method public static androidx.compose.ui.test.SemanticsNodeInteraction tryPerformAccessibilityChecks(androidx.compose.ui.test.SemanticsNodeInteraction);
}
@SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public sealed interface AndroidComposeUiTest<A extends androidx.activity.ComponentActivity> extends androidx.compose.ui.test.ComposeUiTest {
method public A? getActivity();
property public abstract A? activity;
}
@SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public abstract class AndroidComposeUiTestEnvironment<A extends androidx.activity.ComponentActivity> {
ctor public AndroidComposeUiTestEnvironment();
ctor public AndroidComposeUiTestEnvironment(optional kotlin.coroutines.CoroutineContext effectContext);
ctor @KotlinOnly public <A extends androidx.activity.ComponentActivity> AndroidComposeUiTestEnvironment(optional kotlin.coroutines.CoroutineContext effectContext, optional kotlin.coroutines.CoroutineContext runTestContext, optional kotlin.time.Duration testTimeout);
ctor @BytecodeOnly public AndroidComposeUiTestEnvironment(kotlin.coroutines.CoroutineContext!, kotlin.coroutines.CoroutineContext!, long, kotlin.jvm.internal.DefaultConstructorMarker!);
method public final void cancelAndRecreateRecomposer();
method protected abstract A? getActivity();
method public final androidx.compose.ui.test.AndroidComposeUiTest<A> getTest();
method @Deprecated public final <R> R? runTest(kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.AndroidComposeUiTest<A>,? extends R?> block);
method public final <R> void runTest(kotlin.jvm.functions.Function2<? super androidx.compose.ui.test.AndroidComposeUiTest<A>,? super kotlin.coroutines.Continuation<? super R>,? extends java.lang.Object?> block);
property protected abstract A? activity;
property public final androidx.compose.ui.test.AndroidComposeUiTest<A> test;
}
public final class AndroidImageHelpers_androidKt {
method @RequiresApi(android.os.Build.VERSION_CODES.O) public static androidx.compose.ui.graphics.ImageBitmap captureToImage(androidx.compose.ui.test.SemanticsNodeInteraction);
}
public final class AssertionsKt {
method public static androidx.compose.ui.test.SemanticsNodeInteraction assert(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.test.SemanticsMatcher matcher, optional kotlin.jvm.functions.Function0<java.lang.String>? messagePrefixOnError);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertAll(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertAny(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertContentDescriptionContains(androidx.compose.ui.test.SemanticsNodeInteraction, String value, optional boolean substring, optional boolean ignoreCase);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertContentDescriptionEquals(androidx.compose.ui.test.SemanticsNodeInteraction, java.lang.String... values);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertCountEquals(androidx.compose.ui.test.SemanticsNodeInteractionCollection, int expectedSize);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHasClickAction(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHasNoClickAction(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsDisplayed(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsEnabled(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsFocused(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotDisplayed(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotEnabled(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotFocused(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotSelected(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsOff(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsOn(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsSelectable(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsSelected(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsToggleable(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertRangeInfoEquals(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.semantics.ProgressBarRangeInfo value);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTextContains(androidx.compose.ui.test.SemanticsNodeInteraction, String value, optional boolean substring, optional boolean ignoreCase);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTextEquals(androidx.compose.ui.test.SemanticsNodeInteraction, String[] values, optional boolean includeEditableText);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertValueEquals(androidx.compose.ui.test.SemanticsNodeInteraction, String value);
method public static boolean isDisplayed(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static boolean isNotDisplayed(androidx.compose.ui.test.SemanticsNodeInteraction);
}
public final class BoundsAssertionsKt {
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHeightIsAtLeast(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedMinHeight);
method @BytecodeOnly public static androidx.compose.ui.test.SemanticsNodeInteraction assertHeightIsAtLeast-3ABfNKs(androidx.compose.ui.test.SemanticsNodeInteraction, float);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHeightIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedHeight);
method @BytecodeOnly public static androidx.compose.ui.test.SemanticsNodeInteraction assertHeightIsEqualTo-3ABfNKs(androidx.compose.ui.test.SemanticsNodeInteraction, float);
method public static void assertIsEqualTo(float, float expected, String subject, optional float tolerance);
method @BytecodeOnly public static void assertIsEqualTo-cWfXhoU(float, float, String, float);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertLeftPositionInRootIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedLeft);
method @BytecodeOnly public static androidx.compose.ui.test.SemanticsNodeInteraction assertLeftPositionInRootIsEqualTo-3ABfNKs(androidx.compose.ui.test.SemanticsNodeInteraction, float);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertPositionInRootIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedLeft, float expectedTop);
method @BytecodeOnly public static androidx.compose.ui.test.SemanticsNodeInteraction assertPositionInRootIsEqualTo-VpY3zN4(androidx.compose.ui.test.SemanticsNodeInteraction, float, float);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTopPositionInRootIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedTop);
method @BytecodeOnly public static androidx.compose.ui.test.SemanticsNodeInteraction assertTopPositionInRootIsEqualTo-3ABfNKs(androidx.compose.ui.test.SemanticsNodeInteraction, float);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTouchHeightIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedHeight);
method @BytecodeOnly public static androidx.compose.ui.test.SemanticsNodeInteraction assertTouchHeightIsEqualTo-3ABfNKs(androidx.compose.ui.test.SemanticsNodeInteraction, float);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTouchWidthIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedWidth);
method @BytecodeOnly public static androidx.compose.ui.test.SemanticsNodeInteraction assertTouchWidthIsEqualTo-3ABfNKs(androidx.compose.ui.test.SemanticsNodeInteraction, float);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertWidthIsAtLeast(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedMinWidth);
method @BytecodeOnly public static androidx.compose.ui.test.SemanticsNodeInteraction assertWidthIsAtLeast-3ABfNKs(androidx.compose.ui.test.SemanticsNodeInteraction, float);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertWidthIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedWidth);
method @BytecodeOnly public static androidx.compose.ui.test.SemanticsNodeInteraction assertWidthIsEqualTo-3ABfNKs(androidx.compose.ui.test.SemanticsNodeInteraction, float);
method public static float getAlignmentLinePosition(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.layout.AlignmentLine alignmentLine);
method public static androidx.compose.ui.unit.DpRect getBoundsInRoot(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.geometry.Rect? getFirstLinkBounds(androidx.compose.ui.test.SemanticsNodeInteraction, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.text.AnnotatedString.Range<androidx.compose.ui.text.LinkAnnotation>,java.lang.Boolean> predicate);
method public static androidx.compose.ui.unit.DpRect getUnclippedBoundsInRoot(androidx.compose.ui.test.SemanticsNodeInteraction);
}
public final class ComposeTimeoutException extends java.lang.Throwable {
ctor public ComposeTimeoutException(String? message);
}
@SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public sealed interface ComposeUiTest extends androidx.compose.ui.test.SemanticsNodeInteractionsProvider {
method public suspend Object? awaitIdle(kotlin.coroutines.Continuation<? super kotlin.Unit>);
method public androidx.compose.ui.unit.Density getDensity();
method public androidx.compose.ui.test.MainTestClock getMainClock();
method public void registerIdlingResource(androidx.compose.ui.test.IdlingResource idlingResource);
method public <T> T runOnIdle(kotlin.jvm.functions.Function0<? extends T> action);
method public <T> T runOnUiThread(kotlin.jvm.functions.Function0<? extends T> action);
method public void setContent(kotlin.jvm.functions.Function0<kotlin.Unit> composable);
method @BytecodeOnly public void setContent(kotlin.jvm.functions.Function2<? super androidx.compose.runtime.Composer!,? super java.lang.Integer!,kotlin.Unit!>);
method public void unregisterIdlingResource(androidx.compose.ui.test.IdlingResource idlingResource);
method public void waitForIdle();
method public void waitUntil(optional String? conditionDescription, optional long timeoutMillis, kotlin.jvm.functions.Function0<java.lang.Boolean> condition);
property public abstract androidx.compose.ui.unit.Density density;
property public abstract androidx.compose.ui.test.MainTestClock mainClock;
}
public final class ComposeUiTestKt {
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void waitUntilAtLeastOneExists(androidx.compose.ui.test.ComposeUiTest, androidx.compose.ui.test.SemanticsMatcher matcher, optional long timeoutMillis);
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void waitUntilDoesNotExist(androidx.compose.ui.test.ComposeUiTest, androidx.compose.ui.test.SemanticsMatcher matcher, optional long timeoutMillis);
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void waitUntilExactlyOneExists(androidx.compose.ui.test.ComposeUiTest, androidx.compose.ui.test.SemanticsMatcher matcher, optional long timeoutMillis);
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void waitUntilNodeCount(androidx.compose.ui.test.ComposeUiTest, androidx.compose.ui.test.SemanticsMatcher matcher, int count, optional long timeoutMillis);
}
public final class ComposeUiTest_androidKt {
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static inline <A extends androidx.activity.ComponentActivity> androidx.compose.ui.test.AndroidComposeUiTestEnvironment<A> AndroidComposeUiTestEnvironment(optional kotlin.coroutines.CoroutineContext effectContext, optional kotlin.coroutines.CoroutineContext runTestContext, optional long testTimeout, kotlin.jvm.functions.Function0<? extends A?> activityProvider);
method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static inline <A extends androidx.activity.ComponentActivity> androidx.compose.ui.test.AndroidComposeUiTestEnvironment<A> AndroidComposeUiTestEnvironment(optional kotlin.coroutines.CoroutineContext effectContext, kotlin.jvm.functions.Function0<? extends A?> activityProvider);
method @BytecodeOnly @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static <A extends androidx.activity.ComponentActivity> androidx.compose.ui.test.AndroidComposeUiTestEnvironment<A!> AndroidComposeUiTestEnvironment-exY8QGI(kotlin.coroutines.CoroutineContext, kotlin.coroutines.CoroutineContext, long, kotlin.jvm.functions.Function0<? extends A!>);
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static <A extends androidx.activity.ComponentActivity> void runAndroidComposeUiTest(Class<A> activityClass, optional kotlin.coroutines.CoroutineContext effectContext, optional kotlin.coroutines.CoroutineContext runTestContext, optional long testTimeout, kotlin.jvm.functions.Function2<? super androidx.compose.ui.test.AndroidComposeUiTest<A>,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block);
method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static <A extends androidx.activity.ComponentActivity> void runAndroidComposeUiTest(Class<A> activityClass, optional kotlin.coroutines.CoroutineContext effectContext, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.AndroidComposeUiTest<A>,kotlin.Unit> block);
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static inline <reified A extends androidx.activity.ComponentActivity> void runAndroidComposeUiTest(optional kotlin.coroutines.CoroutineContext effectContext, optional kotlin.coroutines.CoroutineContext runTestContext, optional long testTimeout, kotlin.jvm.functions.Function2<? super androidx.compose.ui.test.AndroidComposeUiTest<A>,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block);
method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static inline <reified A extends androidx.activity.ComponentActivity> void runAndroidComposeUiTest(optional kotlin.coroutines.CoroutineContext effectContext, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.AndroidComposeUiTest<A>,kotlin.Unit> block);
method @BytecodeOnly @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static <A extends androidx.activity.ComponentActivity> void runAndroidComposeUiTest-exY8QGI(kotlin.coroutines.CoroutineContext!, kotlin.coroutines.CoroutineContext!, long, kotlin.jvm.functions.Function2<? super androidx.compose.ui.test.AndroidComposeUiTest<A!>!,? super kotlin.coroutines.Continuation<? super kotlin.Unit!>!,? extends java.lang.Object!>!);
method @BytecodeOnly @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static <A extends androidx.activity.ComponentActivity> void runAndroidComposeUiTest-zkXUZaI(Class<A!>, kotlin.coroutines.CoroutineContext, kotlin.coroutines.CoroutineContext, long, kotlin.jvm.functions.Function2<? super androidx.compose.ui.test.AndroidComposeUiTest<A!>!,? super kotlin.coroutines.Continuation<? super kotlin.Unit!>!,? extends java.lang.Object!>);
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void runComposeUiTest(optional kotlin.coroutines.CoroutineContext effectContext, optional kotlin.coroutines.CoroutineContext runTestContext, optional long testTimeout, kotlin.jvm.functions.Function2<? super androidx.compose.ui.test.ComposeUiTest,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block);
method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void runComposeUiTest(optional kotlin.coroutines.CoroutineContext effectContext, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.ComposeUiTest,kotlin.Unit> block);
method @BytecodeOnly @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void runComposeUiTest-exY8QGI(kotlin.coroutines.CoroutineContext, kotlin.coroutines.CoroutineContext, long, kotlin.jvm.functions.Function2<? super androidx.compose.ui.test.ComposeUiTest!,? super kotlin.coroutines.Continuation<? super kotlin.Unit!>!,? extends java.lang.Object!>);
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void runEmptyComposeUiTest(kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.ComposeUiTest,kotlin.Unit> block);
}
public fun interface DeviceConfigurationOverride {
method @androidx.compose.runtime.Composable public void Override(kotlin.jvm.functions.Function0<kotlin.Unit> contentUnderTest);
method @BytecodeOnly @androidx.compose.runtime.Composable public void Override(kotlin.jvm.functions.Function2<? super androidx.compose.runtime.Composer!,? super java.lang.Integer!,kotlin.Unit!>, androidx.compose.runtime.Composer?, int);
field public static final androidx.compose.ui.test.DeviceConfigurationOverride.Companion Companion;
}
public static final class DeviceConfigurationOverride.Companion {
}
public final class DeviceConfigurationOverrideKt {
method @androidx.compose.runtime.Composable public static void DeviceConfigurationOverride(androidx.compose.ui.test.DeviceConfigurationOverride override, kotlin.jvm.functions.Function0<kotlin.Unit> content);
method @BytecodeOnly @androidx.compose.runtime.Composable public static void DeviceConfigurationOverride(androidx.compose.ui.test.DeviceConfigurationOverride, kotlin.jvm.functions.Function2<? super androidx.compose.runtime.Composer!,? super java.lang.Integer!,kotlin.Unit!>, androidx.compose.runtime.Composer?, int);
method public static infix androidx.compose.ui.test.DeviceConfigurationOverride then(androidx.compose.ui.test.DeviceConfigurationOverride, androidx.compose.ui.test.DeviceConfigurationOverride other);
}
public final class DeviceConfigurationOverride_androidKt {
method public static androidx.compose.ui.test.DeviceConfigurationOverride DarkMode(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, boolean isDarkMode);
method public static androidx.compose.ui.test.DeviceConfigurationOverride FontScale(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, float fontScale);
method @RequiresApi(31) public static androidx.compose.ui.test.DeviceConfigurationOverride FontWeightAdjustment(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, int fontWeightAdjustment);
method public static androidx.compose.ui.test.DeviceConfigurationOverride ForcedSize(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, long size);
method @BytecodeOnly public static androidx.compose.ui.test.DeviceConfigurationOverride ForcedSize-6HolHcs(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, long);
method public static androidx.compose.ui.test.DeviceConfigurationOverride LayoutDirection(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, androidx.compose.ui.unit.LayoutDirection layoutDirection);
method public static androidx.compose.ui.test.DeviceConfigurationOverride Locales(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, androidx.compose.ui.text.intl.LocaleList locales);
method @RequiresApi(23) public static androidx.compose.ui.test.DeviceConfigurationOverride RoundScreen(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, boolean isScreenRound);
method public static androidx.compose.ui.test.DeviceConfigurationOverride WindowInsets(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, androidx.core.view.WindowInsetsCompat windowInsets);
}
@SuppressCompatibility @kotlin.RequiresOptIn(message="This testing API is experimental and is likely to be changed or removed entirely") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ExperimentalTestApi {
}
public final class FiltersKt {
method public static androidx.compose.ui.test.SemanticsMatcher hasAnyAncestor(androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsMatcher hasAnyChild(androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsMatcher hasAnyDescendant(androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsMatcher hasAnySibling(androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsMatcher hasClickAction();
method public static androidx.compose.ui.test.SemanticsMatcher hasContentDescription(String value, optional boolean substring, optional boolean ignoreCase);
method public static androidx.compose.ui.test.SemanticsMatcher hasContentDescriptionExactly(java.lang.String... values);
method public static androidx.compose.ui.test.SemanticsMatcher hasImeAction(int actionType);
method @BytecodeOnly public static androidx.compose.ui.test.SemanticsMatcher hasImeAction-KlQnJC8(int);
method public static androidx.compose.ui.test.SemanticsMatcher hasInsertTextAtCursorAction();
method public static androidx.compose.ui.test.SemanticsMatcher hasNoClickAction();
method public static androidx.compose.ui.test.SemanticsMatcher hasNoScrollAction();
method public static androidx.compose.ui.test.SemanticsMatcher hasParent(androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsMatcher hasPerformImeAction();
method public static androidx.compose.ui.test.SemanticsMatcher hasProgressBarRangeInfo(androidx.compose.ui.semantics.ProgressBarRangeInfo rangeInfo);
method public static androidx.compose.ui.test.SemanticsMatcher hasRequestFocusAction();
method public static androidx.compose.ui.test.SemanticsMatcher hasScrollAction();
method public static androidx.compose.ui.test.SemanticsMatcher hasScrollToIndexAction();
method public static androidx.compose.ui.test.SemanticsMatcher hasScrollToKeyAction();
method public static androidx.compose.ui.test.SemanticsMatcher hasScrollToNodeAction();
method public static androidx.compose.ui.test.SemanticsMatcher hasSetTextAction();
method public static androidx.compose.ui.test.SemanticsMatcher hasStateDescription(String value);
method public static androidx.compose.ui.test.SemanticsMatcher hasTestTag(String testTag);
method public static androidx.compose.ui.test.SemanticsMatcher hasText(String text, optional boolean substring, optional boolean ignoreCase);
method public static androidx.compose.ui.test.SemanticsMatcher hasTextExactly(String[] textValues, optional boolean includeEditableText);
method public static androidx.compose.ui.test.SemanticsMatcher isDialog();
method public static androidx.compose.ui.test.SemanticsMatcher isEditable();
method public static androidx.compose.ui.test.SemanticsMatcher isEnabled();
method public static androidx.compose.ui.test.SemanticsMatcher isFocusable();
method public static androidx.compose.ui.test.SemanticsMatcher isFocused();
method public static androidx.compose.ui.test.SemanticsMatcher isHeading();
method public static androidx.compose.ui.test.SemanticsMatcher isNotEnabled();
method public static androidx.compose.ui.test.SemanticsMatcher isNotFocusable();
method public static androidx.compose.ui.test.SemanticsMatcher isNotFocused();
method public static androidx.compose.ui.test.SemanticsMatcher isNotSelected();
method public static androidx.compose.ui.test.SemanticsMatcher isOff();
method public static androidx.compose.ui.test.SemanticsMatcher isOn();
method public static androidx.compose.ui.test.SemanticsMatcher isPopup();
method public static androidx.compose.ui.test.SemanticsMatcher isRoot();
method public static androidx.compose.ui.test.SemanticsMatcher isSelectable();
method public static androidx.compose.ui.test.SemanticsMatcher isSelected();
method public static androidx.compose.ui.test.SemanticsMatcher isToggleable();
}
public final class FindersKt {
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodesWithContentDescription(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String label, optional boolean substring, optional boolean ignoreCase, optional boolean useUnmergedTree);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodesWithTag(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String testTag, optional boolean useUnmergedTree);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodesWithText(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String text, optional boolean substring, optional boolean ignoreCase, optional boolean useUnmergedTree);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onNodeWithContentDescription(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String label, optional boolean substring, optional boolean ignoreCase, optional boolean useUnmergedTree);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onNodeWithTag(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String testTag, optional boolean useUnmergedTree);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onNodeWithText(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String text, optional boolean substring, optional boolean ignoreCase, optional boolean useUnmergedTree);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onRoot(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, optional boolean useUnmergedTree);
}
@Deprecated public final class GestureScope {
ctor @Deprecated public GestureScope(androidx.compose.ui.semantics.SemanticsNode node, androidx.compose.ui.test.TestContext testContext);
method @Deprecated public long getVisibleSize();
method @BytecodeOnly @Deprecated public long getVisibleSize-YbymL2g();
property @Deprecated public long visibleSize;
}
public final class GestureScopeKt {
method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void advanceEventTime(androidx.compose.ui.test.GestureScope, long durationMillis);
method @Deprecated public static void cancel(androidx.compose.ui.test.GestureScope);
method @Deprecated public static void click(androidx.compose.ui.test.GestureScope, optional long position);
method @BytecodeOnly @Deprecated public static void click-Uv8p0NA(androidx.compose.ui.test.GestureScope, long);
method @Deprecated public static void doubleClick(androidx.compose.ui.test.GestureScope, optional long position, optional long delayMillis);
method @BytecodeOnly @Deprecated public static void doubleClick-d-4ec7I(androidx.compose.ui.test.GestureScope, long, long);
method @Deprecated public static void down(androidx.compose.ui.test.GestureScope, int pointerId, long position);
method @Deprecated public static void down(androidx.compose.ui.test.GestureScope, long position);
method @BytecodeOnly @Deprecated public static void down-0AR0LA0(androidx.compose.ui.test.GestureScope, int, long);
method @BytecodeOnly @Deprecated public static void down-Uv8p0NA(androidx.compose.ui.test.GestureScope, long);
method @Deprecated public static inline float getBottom(androidx.compose.ui.test.GestureScope);
method @Deprecated public static long getBottomCenter(androidx.compose.ui.test.GestureScope);
method @Deprecated public static long getBottomLeft(androidx.compose.ui.test.GestureScope);
method @Deprecated public static long getBottomRight(androidx.compose.ui.test.GestureScope);
method @Deprecated public static long getCenter(androidx.compose.ui.test.GestureScope);
method @Deprecated public static long getCenterLeft(androidx.compose.ui.test.GestureScope);
method @Deprecated public static long getCenterRight(androidx.compose.ui.test.GestureScope);
method @Deprecated public static inline float getCenterX(androidx.compose.ui.test.GestureScope);
method @Deprecated public static inline float getCenterY(androidx.compose.ui.test.GestureScope);
method @Deprecated public static inline int getHeight(androidx.compose.ui.test.GestureScope);
method @Deprecated public static inline float getLeft(androidx.compose.ui.test.GestureScope);
method @Deprecated public static inline float getRight(androidx.compose.ui.test.GestureScope);
method @Deprecated public static inline float getTop(androidx.compose.ui.test.GestureScope);
method @Deprecated public static long getTopCenter(androidx.compose.ui.test.GestureScope);
method @Deprecated public static long getTopLeft(androidx.compose.ui.test.GestureScope);
method @Deprecated public static long getTopRight(androidx.compose.ui.test.GestureScope);
method @Deprecated public static inline int getWidth(androidx.compose.ui.test.GestureScope);
method @Deprecated public static void longClick(androidx.compose.ui.test.GestureScope, optional long position, optional long durationMillis);
method @BytecodeOnly @Deprecated public static void longClick-d-4ec7I(androidx.compose.ui.test.GestureScope, long, long);
method @Deprecated public static void move(androidx.compose.ui.test.GestureScope);
method @Deprecated public static void moveBy(androidx.compose.ui.test.GestureScope, int pointerId, long delta);
method @Deprecated public static void moveBy(androidx.compose.ui.test.GestureScope, long delta);
method @BytecodeOnly @Deprecated public static void moveBy-0AR0LA0(androidx.compose.ui.test.GestureScope, int, long);
method @BytecodeOnly @Deprecated public static void moveBy-Uv8p0NA(androidx.compose.ui.test.GestureScope, long);
method @Deprecated public static void movePointerBy(androidx.compose.ui.test.GestureScope, int pointerId, long delta);
method @BytecodeOnly @Deprecated public static void movePointerBy-0AR0LA0(androidx.compose.ui.test.GestureScope, int, long);
method @Deprecated public static void movePointerTo(androidx.compose.ui.test.GestureScope, int pointerId, long position);
method @BytecodeOnly @Deprecated public static void movePointerTo-0AR0LA0(androidx.compose.ui.test.GestureScope, int, long);
method @Deprecated public static void moveTo(androidx.compose.ui.test.GestureScope, int pointerId, long position);
method @Deprecated public static void moveTo(androidx.compose.ui.test.GestureScope, long position);
method @BytecodeOnly @Deprecated public static void moveTo-0AR0LA0(androidx.compose.ui.test.GestureScope, int, long);
method @BytecodeOnly @Deprecated public static void moveTo-Uv8p0NA(androidx.compose.ui.test.GestureScope, long);
method @Deprecated public static long percentOffset(androidx.compose.ui.test.GestureScope, optional float x, optional float y);
method @Deprecated public static void pinch(androidx.compose.ui.test.GestureScope, long start0, long end0, long start1, long end1, optional long durationMillis);
method @BytecodeOnly @Deprecated public static void pinch-_QUENCA(androidx.compose.ui.test.GestureScope, long, long, long, long, long);
method @Deprecated public static void swipe(androidx.compose.ui.test.GestureScope, long start, long end, optional long durationMillis);
method @BytecodeOnly @Deprecated public static void swipe-DUneCvk(androidx.compose.ui.test.GestureScope, long, long, long);
method @Deprecated public static void swipeDown(androidx.compose.ui.test.GestureScope);
method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void swipeDown(androidx.compose.ui.test.GestureScope, optional float startY, optional float endY, optional long durationMillis);
method @Deprecated public static void swipeLeft(androidx.compose.ui.test.GestureScope);
method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void swipeLeft(androidx.compose.ui.test.GestureScope, optional float startX, optional float endX, optional long durationMillis);
method @Deprecated public static void swipeRight(androidx.compose.ui.test.GestureScope);
method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void swipeRight(androidx.compose.ui.test.GestureScope, optional float startX, optional float endX, optional long durationMillis);
method @Deprecated public static void swipeUp(androidx.compose.ui.test.GestureScope);
method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void swipeUp(androidx.compose.ui.test.GestureScope, optional float startY, optional float endY, optional long durationMillis);
method @Deprecated public static void swipeWithVelocity(androidx.compose.ui.test.GestureScope, long start, long end, float endVelocity, optional long durationMillis);
method @BytecodeOnly @Deprecated public static void swipeWithVelocity-5iVPX68(androidx.compose.ui.test.GestureScope, long, long, float, long);
method @Deprecated public static void up(androidx.compose.ui.test.GestureScope, optional int pointerId);
property @Deprecated public static inline float androidx.compose.ui.test.GestureScope.bottom;
property @Deprecated public static long androidx.compose.ui.test.GestureScope.bottomCenter;
property @Deprecated public static long androidx.compose.ui.test.GestureScope.bottomLeft;
property @Deprecated public static long androidx.compose.ui.test.GestureScope.bottomRight;
property @Deprecated public static long androidx.compose.ui.test.GestureScope.center;
property @Deprecated public static long androidx.compose.ui.test.GestureScope.centerLeft;
property @Deprecated public static long androidx.compose.ui.test.GestureScope.centerRight;
property @Deprecated public static inline float androidx.compose.ui.test.GestureScope.centerX;
property @Deprecated public static inline float androidx.compose.ui.test.GestureScope.centerY;
property @Deprecated public static inline int androidx.compose.ui.test.GestureScope.height;
property @Deprecated public static inline float androidx.compose.ui.test.GestureScope.left;
property @Deprecated public static inline float androidx.compose.ui.test.GestureScope.right;
property @Deprecated public static inline float androidx.compose.ui.test.GestureScope.top;
property @Deprecated public static long androidx.compose.ui.test.GestureScope.topCenter;
property @Deprecated public static long androidx.compose.ui.test.GestureScope.topLeft;
property @Deprecated public static long androidx.compose.ui.test.GestureScope.topRight;
property @Deprecated public static inline int androidx.compose.ui.test.GestureScope.width;
}
public final class GlobalAssertions {
method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void addGlobalAssertion(String name, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.SemanticsNodeInteraction,kotlin.Unit> assertion);
method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static androidx.compose.ui.test.SemanticsNodeInteraction invokeGlobalAssertions(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static androidx.compose.ui.test.SemanticsNodeInteractionCollection invokeGlobalAssertions(androidx.compose.ui.test.SemanticsNodeInteractionCollection);
method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void removeGlobalAssertion(String name);
}
@kotlin.jvm.JvmDefaultWithCompatibility public interface IdlingResource {
method public default String? getDiagnosticMessageIfBusy();
method public boolean isIdleNow();
property public abstract boolean isIdleNow;
}
public final class IndirectTouchInputHelpersKt {
method @SuppressCompatibility @androidx.compose.ui.ExperimentalIndirectTouchTypeApi public static boolean performIndirectTouchEvent(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.input.indirect.IndirectTouchEvent indirectTouchEvent);
}
@kotlin.jvm.JvmDefaultWithCompatibility public interface InjectionScope extends androidx.compose.ui.unit.Density {
method public void advanceEventTime(optional long durationMillis);
method public default float getBottom();
method public default long getBottomCenter();
method @BytecodeOnly public default long getBottomCenter-F1C5BW0();
method public default long getBottomLeft();
method @BytecodeOnly public default long getBottomLeft-F1C5BW0();
method public default long getBottomRight();
method @BytecodeOnly public default long getBottomRight-F1C5BW0();
method public default long getCenter();
method @BytecodeOnly public default long getCenter-F1C5BW0();
method public default long getCenterLeft();
method @BytecodeOnly public default long getCenterLeft-F1C5BW0();
method public default long getCenterRight();
method @BytecodeOnly public default long getCenterRight-F1C5BW0();
method public default float getCenterX();
method public default float getCenterY();
method public default long getEventPeriodMillis();
method public default int getHeight();
method public default float getLeft();
method public default float getRight();
method public default float getTop();
method public default long getTopCenter();
method @BytecodeOnly public default long getTopCenter-F1C5BW0();
method public default long getTopLeft();
method @BytecodeOnly public default long getTopLeft-F1C5BW0();
method public default long getTopRight();
method @BytecodeOnly public default long getTopRight-F1C5BW0();
method public androidx.compose.ui.platform.ViewConfiguration getViewConfiguration();
method public long getVisibleSize();
method @BytecodeOnly public long getVisibleSize-YbymL2g();
method public default int getWidth();
method public default long percentOffset(optional float x, optional float y);
method @BytecodeOnly public default long percentOffset-dBAh8RU(float, float);
property public default float bottom;
property public default long bottomCenter;
property public default long bottomLeft;
property public default long bottomRight;
property public default long center;
property public default long centerLeft;
property public default long centerRight;
property public default float centerX;
property public default float centerY;
property public default long eventPeriodMillis;
property public default int height;
property public default float left;
property public default float right;
property public default float top;
property public default long topCenter;
property public default long topLeft;
property public default long topRight;
property public abstract androidx.compose.ui.platform.ViewConfiguration viewConfiguration;
property public abstract long visibleSize;
property public default int width;
}
@SuppressCompatibility @kotlin.RequiresOptIn(message="This is internal API for Compose modules that may change frequently and without warning.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface InternalTestApi {
}
@kotlin.jvm.JvmDefaultWithCompatibility public interface KeyInjectionScope extends androidx.compose.ui.test.InjectionScope {
method public boolean isCapsLockOn();
method public boolean isKeyDown(long key);
method @BytecodeOnly public boolean isKeyDown-YVgTNJs(long);
method public boolean isNumLockOn();
method public boolean isScrollLockOn();
method public void keyDown(long key);
method @BytecodeOnly public void keyDown-YVgTNJs(long);
method public void keyUp(long key);
method @BytecodeOnly public void keyUp-YVgTNJs(long);
property public abstract boolean isCapsLockOn;
property public abstract boolean isNumLockOn;
property public abstract boolean isScrollLockOn;
}
public final class KeyInjectionScopeKt {
method public static boolean isAltDown(androidx.compose.ui.test.KeyInjectionScope);
method public static boolean isCtrlDown(androidx.compose.ui.test.KeyInjectionScope);
method public static boolean isFnDown(androidx.compose.ui.test.KeyInjectionScope);
method public static boolean isMetaDown(androidx.compose.ui.test.KeyInjectionScope);
method public static boolean isShiftDown(androidx.compose.ui.test.KeyInjectionScope);
method public static void pressKey(androidx.compose.ui.test.KeyInjectionScope, long key, optional long pressDurationMillis);
method @BytecodeOnly public static void pressKey-KChvXf4(androidx.compose.ui.test.KeyInjectionScope, long, long);
method public static void withKeyDown(androidx.compose.ui.test.KeyInjectionScope, long key, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.KeyInjectionScope,kotlin.Unit> block);
method @BytecodeOnly public static void withKeyDown-KChvXf4(androidx.compose.ui.test.KeyInjectionScope, long, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.KeyInjectionScope!,kotlin.Unit!>);
method public static void withKeyToggled(androidx.compose.ui.test.KeyInjectionScope, long key, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.KeyInjectionScope,kotlin.Unit> block);
method @BytecodeOnly public static void withKeyToggled-KChvXf4(androidx.compose.ui.test.KeyInjectionScope, long, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.KeyInjectionScope!,kotlin.Unit!>);
method public static void withKeysDown(androidx.compose.ui.test.KeyInjectionScope, java.util.List<androidx.compose.ui.input.key.Key> keys, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.KeyInjectionScope,kotlin.Unit> block);
method public static void withKeysToggled(androidx.compose.ui.test.KeyInjectionScope, java.util.List<androidx.compose.ui.input.key.Key> keys, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.KeyInjectionScope,kotlin.Unit> block);
property public static boolean androidx.compose.ui.test.KeyInjectionScope.isAltDown;
property public static boolean androidx.compose.ui.test.KeyInjectionScope.isCtrlDown;
property public static boolean androidx.compose.ui.test.KeyInjectionScope.isFnDown;
property public static boolean androidx.compose.ui.test.KeyInjectionScope.isMetaDown;
property public static boolean androidx.compose.ui.test.KeyInjectionScope.isShiftDown;
}
public final class KeyInputHelpersKt {
method public static boolean performKeyPress(androidx.compose.ui.test.SemanticsNodeInteraction, android.view.KeyEvent keyEvent);
method @BytecodeOnly public static boolean performKeyPress-34rOyRA(androidx.compose.ui.test.SemanticsNodeInteraction, android.view.KeyEvent);
}
@kotlin.jvm.JvmDefaultWithCompatibility public interface MainTestClock {
method public void advanceTimeBy(long milliseconds, optional boolean ignoreFrameDuration);
method public void advanceTimeByFrame();
method public void advanceTimeUntil(optional long timeoutMillis, kotlin.jvm.functions.Function0<java.lang.Boolean> condition);
method public boolean getAutoAdvance();
method public long getCurrentTime();
method public void setAutoAdvance(boolean);
property public abstract boolean autoAdvance;
property public abstract long currentTime;
}
@kotlin.jvm.JvmInline public final value class MouseButton {
ctor @KotlinOnly public MouseButton(int buttonId);
method @BytecodeOnly public static androidx.compose.ui.test.MouseButton! box-impl(int);
method @BytecodeOnly public static int constructor-impl(int);
method public int getButtonId();
method @BytecodeOnly public int unbox-impl();
property public int buttonId;
field public static final androidx.compose.ui.test.MouseButton.Companion Companion;
}
public static final class MouseButton.Companion {
method public int getPrimary();
method @BytecodeOnly public int getPrimary-ipIFwKQ();
method public int getSecondary();
method @BytecodeOnly public int getSecondary-ipIFwKQ();
method public int getTertiary();
method @BytecodeOnly public int getTertiary-ipIFwKQ();
property public int Primary;
property public int Secondary;
property public int Tertiary;
}
public interface MouseInjectionScope extends androidx.compose.ui.test.InjectionScope {
method public void cancel(optional long delayMillis);
method public void enter(optional long position, optional long delayMillis);
method @BytecodeOnly public void enter-3MmeM6k(long, long);
method public void exit(optional long position, optional long delayMillis);
method @BytecodeOnly public void exit-3MmeM6k(long, long);
method public long getCurrentPosition();
method @BytecodeOnly public long getCurrentPosition-F1C5BW0();
method public default void moveBy(long delta, optional long delayMillis);
method @BytecodeOnly public default void moveBy-3MmeM6k(long, long);
method public void moveTo(long position, optional long delayMillis);
method @BytecodeOnly public void moveTo-3MmeM6k(long, long);
method public void press(optional int button);
method @BytecodeOnly public void press-SMKQcqU(int);
method public void release(optional int button);
method @BytecodeOnly public void release-SMKQcqU(int);
method public void scroll(float delta, optional int scrollWheel);
method @BytecodeOnly public void scroll-I7Dg0i0(float, int);
method public default void updatePointerBy(long delta);
method @BytecodeOnly public default void updatePointerBy-k-4lQ0M(long);
method public void updatePointerTo(long position);
method @BytecodeOnly public void updatePointerTo-k-4lQ0M(long);
property public abstract long currentPosition;
}
public final class MouseInjectionScopeKt {
method public static void animateMoveAlong(androidx.compose.ui.test.MouseInjectionScope, kotlin.jvm.functions.Function1<? super java.lang.Long,androidx.compose.ui.geometry.Offset> curve, optional long durationMillis);
method public static void animateMoveBy(androidx.compose.ui.test.MouseInjectionScope, long delta, optional long durationMillis);
method @BytecodeOnly public static void animateMoveBy-d-4ec7I(androidx.compose.ui.test.MouseInjectionScope, long, long);
method public static void animateMoveTo(androidx.compose.ui.test.MouseInjectionScope, long position, optional long durationMillis);
method @BytecodeOnly public static void animateMoveTo-d-4ec7I(androidx.compose.ui.test.MouseInjectionScope, long, long);
method public static void click(androidx.compose.ui.test.MouseInjectionScope, optional long position, optional int button);
method @BytecodeOnly public static void click-xhG_qxo(androidx.compose.ui.test.MouseInjectionScope, long, int);
method public static void doubleClick(androidx.compose.ui.test.MouseInjectionScope, optional long position, optional int button);
method @BytecodeOnly public static void doubleClick-xhG_qxo(androidx.compose.ui.test.MouseInjectionScope, long, int);
method public static void dragAndDrop(androidx.compose.ui.test.MouseInjectionScope, long start, long end, optional int button, optional long durationMillis);
method @BytecodeOnly public static void dragAndDrop-cI4L0Fs(androidx.compose.ui.test.MouseInjectionScope, long, long, int, long);
method public static void longClick(androidx.compose.ui.test.MouseInjectionScope, optional long position, optional int button);
method @BytecodeOnly public static void longClick-xhG_qxo(androidx.compose.ui.test.MouseInjectionScope, long, int);
method public static void rightClick(androidx.compose.ui.test.MouseInjectionScope, optional long position);
method @BytecodeOnly public static void rightClick-Uv8p0NA(androidx.compose.ui.test.MouseInjectionScope, long);
method public static void smoothScroll(androidx.compose.ui.test.MouseInjectionScope, float scrollAmount, optional long durationMillis, optional int scrollWheel);
method @BytecodeOnly public static void smoothScroll-rNbqR-4(androidx.compose.ui.test.MouseInjectionScope, float, long, int);
method public static void tripleClick(androidx.compose.ui.test.MouseInjectionScope, optional long position, optional int button);
method @BytecodeOnly public static void tripleClick-xhG_qxo(androidx.compose.ui.test.MouseInjectionScope, long, int);
}
public sealed interface MultiModalInjectionScope extends androidx.compose.ui.test.InjectionScope {
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public void key(kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.KeyInjectionScope,kotlin.Unit> block);
method public void mouse(kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.MouseInjectionScope,kotlin.Unit> block);
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public void rotary(kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.RotaryInjectionScope,kotlin.Unit> block);
method public void touch(kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.TouchInjectionScope,kotlin.Unit> block);
}
public final class OutputKt {
method public static void printToLog(androidx.compose.ui.test.SemanticsNodeInteraction, String tag, optional int maxDepth);
method public static void printToLog(androidx.compose.ui.test.SemanticsNodeInteractionCollection, String tag, optional int maxDepth);
method public static String printToString(androidx.compose.ui.test.SemanticsNodeInteraction, optional int maxDepth);
method public static String printToString(androidx.compose.ui.test.SemanticsNodeInteractionCollection, optional int maxDepth);
}
public final class PlatformTextInputMethodOverrideKt {
method @Deprecated @SuppressCompatibility @androidx.compose.runtime.Composable @androidx.compose.ui.test.ExperimentalTestApi public static void PlatformTextInputMethodTestOverride(androidx.compose.ui.platform.PlatformTextInputSession sessionHandler, kotlin.jvm.functions.Function0<kotlin.Unit> content);
method @BytecodeOnly @Deprecated @SuppressCompatibility @androidx.compose.runtime.Composable @androidx.compose.ui.test.ExperimentalTestApi public static void PlatformTextInputMethodTestOverride(androidx.compose.ui.platform.PlatformTextInputSession, kotlin.jvm.functions.Function2<? super androidx.compose.runtime.Composer!,? super java.lang.Integer!,kotlin.Unit!>, androidx.compose.runtime.Composer?, int);
}
@SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public interface RotaryInjectionScope extends androidx.compose.ui.test.InjectionScope {
method public void rotateToScrollHorizontally(float horizontalScrollPixels);
method public void rotateToScrollVertically(float verticalScrollPixels);
}
@kotlin.jvm.JvmInline public final value class ScrollWheel {
method @BytecodeOnly public static androidx.compose.ui.test.ScrollWheel! box-impl(int);
method public int getValue();
method @BytecodeOnly public int unbox-impl();
property public int value;
field public static final androidx.compose.ui.test.ScrollWheel.Companion Companion;
}
public static final class ScrollWheel.Companion {
method public int getHorizontal();
method @BytecodeOnly public int getHorizontal-LTdd5XU();
method public int getVertical();
method @BytecodeOnly public int getVertical-LTdd5XU();
property public int Horizontal;
property public int Vertical;
}
public final class SelectionResult {
ctor public SelectionResult(java.util.List<androidx.compose.ui.semantics.SemanticsNode> selectedNodes, optional String? customErrorOnNoMatch);
method public String? getCustomErrorOnNoMatch();
method public java.util.List<androidx.compose.ui.semantics.SemanticsNode> getSelectedNodes();
property public String? customErrorOnNoMatch;
property public java.util.List<androidx.compose.ui.semantics.SemanticsNode> selectedNodes;
}
public final class SelectorsKt {
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection filter(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsNodeInteraction filterToOne(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAncestors(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onChild(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onChildAt(androidx.compose.ui.test.SemanticsNodeInteraction, int index);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onChildren(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onFirst(androidx.compose.ui.test.SemanticsNodeInteractionCollection);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onLast(androidx.compose.ui.test.SemanticsNodeInteractionCollection);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onParent(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onSibling(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onSiblings(androidx.compose.ui.test.SemanticsNodeInteraction);
}
public final class SemanticsMatcher {
ctor public SemanticsMatcher(String description, kotlin.jvm.functions.Function1<? super androidx.compose.ui.semantics.SemanticsNode,java.lang.Boolean> matcher);
method public infix androidx.compose.ui.test.SemanticsMatcher and(androidx.compose.ui.test.SemanticsMatcher other);
method public String getDescription();
method public boolean matches(androidx.compose.ui.semantics.SemanticsNode node);
method public boolean matchesAny(Iterable<androidx.compose.ui.semantics.SemanticsNode> nodes);
method public operator androidx.compose.ui.test.SemanticsMatcher not();
method public infix androidx.compose.ui.test.SemanticsMatcher or(androidx.compose.ui.test.SemanticsMatcher other);
property public String description;
field public static final androidx.compose.ui.test.SemanticsMatcher.Companion Companion;
}
public static final class SemanticsMatcher.Companion {
method public <T> androidx.compose.ui.test.SemanticsMatcher expectValue(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key, T expectedValue);
method public <T> androidx.compose.ui.test.SemanticsMatcher keyIsDefined(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key);
method public <T> androidx.compose.ui.test.SemanticsMatcher keyNotDefined(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key);
}
public final class SemanticsNodeInteraction {
ctor public SemanticsNodeInteraction(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsMatcher matcher);
ctor public SemanticsNodeInteraction(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsSelector selector);
method public void assertDoesNotExist();
method public androidx.compose.ui.test.SemanticsNodeInteraction assertExists(optional String? errorMessageOnFail);
method public void assertIsDeactivated(optional String? errorMessageOnFail);
method public androidx.compose.ui.semantics.SemanticsNode fetchSemanticsNode(optional String? errorMessageOnFail);
}
public final class SemanticsNodeInteractionCollection {
ctor public SemanticsNodeInteractionCollection(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsMatcher matcher);
ctor public SemanticsNodeInteractionCollection(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsSelector selector);
method public java.util.List<androidx.compose.ui.semantics.SemanticsNode> fetchSemanticsNodes(optional boolean atLeastOneRootRequired, optional String? errorMessageOnFail);
method public operator androidx.compose.ui.test.SemanticsNodeInteraction get(int index);
}
@kotlin.jvm.JvmDefaultWithCompatibility public interface SemanticsNodeInteractionsProvider {
method public androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodes(androidx.compose.ui.test.SemanticsMatcher matcher, optional boolean useUnmergedTree);
method public androidx.compose.ui.test.SemanticsNodeInteraction onNode(androidx.compose.ui.test.SemanticsMatcher matcher, optional boolean useUnmergedTree);
}
public final class SemanticsSelector {
ctor public SemanticsSelector(String description, boolean requiresExactlyOneNode, optional androidx.compose.ui.test.SemanticsSelector? chainedInputSelector, kotlin.jvm.functions.Function1<? super java.lang.Iterable<androidx.compose.ui.semantics.SemanticsNode>,androidx.compose.ui.test.SelectionResult> selector);
method public String getDescription();
method public androidx.compose.ui.test.SelectionResult map(Iterable<androidx.compose.ui.semantics.SemanticsNode> nodes, String errorOnFail);
property public String description;
}
@SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public final class StateRestorationTester {
ctor public StateRestorationTester(androidx.compose.ui.test.ComposeUiTest composeTest);
method public void emulateSaveAndRestore();
method public void setContent(kotlin.jvm.functions.Function0<kotlin.Unit> composable);
method @BytecodeOnly public void setContent(kotlin.jvm.functions.Function2<? super androidx.compose.runtime.Composer!,? super java.lang.Integer!,kotlin.Unit!>);
}
public final class TestContext {
}
@SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi @kotlinx.coroutines.ExperimentalCoroutinesApi public final class TestMonotonicFrameClock implements androidx.compose.runtime.MonotonicFrameClock {
ctor public TestMonotonicFrameClock(kotlinx.coroutines.CoroutineScope coroutineScope, optional long frameDelayNanos, optional kotlin.jvm.functions.Function1<? super java.lang.Long,kotlin.Unit> onPerformTraversals);
method @BytecodeOnly public <R> R! fold(R!, kotlin.jvm.functions.Function2<? super R!,? super kotlin.coroutines.CoroutineContext.Element!,? extends R!>);
method @BytecodeOnly public <E extends kotlin.coroutines.CoroutineContext.Element> E? get(kotlin.coroutines.CoroutineContext.Key<E!>);
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public kotlin.coroutines.ContinuationInterceptor getContinuationInterceptor();
method public long getFrameDelayNanos();
method public boolean getHasAwaiters();
method @BytecodeOnly public kotlin.coroutines.CoroutineContext minusKey(kotlin.coroutines.CoroutineContext.Key<? extends java.lang.Object!>);
method @BytecodeOnly public kotlin.coroutines.CoroutineContext plus(kotlin.coroutines.CoroutineContext);
method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R>);
property @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public kotlin.coroutines.ContinuationInterceptor continuationInterceptor;
property public long frameDelayNanos;
property public boolean hasAwaiters;
}
public final class TestMonotonicFrameClock_jvmKt {
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static long getFrameDelayMillis(androidx.compose.ui.test.TestMonotonicFrameClock);
property @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static long androidx.compose.ui.test.TestMonotonicFrameClock.frameDelayMillis;
}
public final class TextActionsKt {
method public static void performImeAction(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static void performTextClearance(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static void performTextInput(androidx.compose.ui.test.SemanticsNodeInteraction, String text);
method @Deprecated public static void performTextInputSelection(androidx.compose.ui.test.SemanticsNodeInteraction, long selection);
method public static void performTextInputSelection(androidx.compose.ui.test.SemanticsNodeInteraction, long selection, optional boolean relativeToOriginalText);
method @BytecodeOnly @Deprecated public static void performTextInputSelection-FDrldGo(androidx.compose.ui.test.SemanticsNodeInteraction!, long);
method @BytecodeOnly public static void performTextInputSelection-Sb-Bc2M(androidx.compose.ui.test.SemanticsNodeInteraction, long, boolean);
method public static void performTextReplacement(androidx.compose.ui.test.SemanticsNodeInteraction, String text);
}
@kotlin.jvm.JvmDefaultWithCompatibility public interface TouchInjectionScope extends androidx.compose.ui.test.InjectionScope {
method public void cancel(optional long delayMillis);
method public androidx.compose.ui.geometry.Offset? currentPosition(optional int pointerId);
method @BytecodeOnly public androidx.compose.ui.geometry.Offset? currentPosition-x-9fifI(int);
method public void down(int pointerId, long position);
method public default void down(long position);
method @BytecodeOnly public void down-Uv8p0NA(int, long);
method @BytecodeOnly public default void down-k-4lQ0M(long);
method public void move(optional long delayMillis);
method public default void moveBy(int pointerId, long delta, optional long delayMillis);
method public default void moveBy(long delta, optional long delayMillis);
method @BytecodeOnly public default void moveBy-3MmeM6k(long, long);
method @BytecodeOnly public default void moveBy-d-4ec7I(int, long, long);
method public default void moveTo(int pointerId, long position, optional long delayMillis);
method public default void moveTo(long position, optional long delayMillis);
method @BytecodeOnly public default void moveTo-3MmeM6k(long, long);
method @BytecodeOnly public default void moveTo-d-4ec7I(int, long, long);
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public default void moveWithHistory(java.util.List<java.lang.Long> relativeHistoricalTimes, java.util.List<androidx.compose.ui.geometry.Offset> historicalCoordinates, optional long delayMillis);
method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public void moveWithHistoryMultiPointer(java.util.List<java.lang.Long> relativeHistoricalTimes, java.util.List<? extends java.util.List<androidx.compose.ui.geometry.Offset>> historicalCoordinates, optional long delayMillis);
method public void up(optional int pointerId);
method public default void updatePointerBy(int pointerId, long delta);
method @BytecodeOnly public default void updatePointerBy-Uv8p0NA(int, long);
method public void updatePointerTo(int pointerId, long position);
method @BytecodeOnly public void updatePointerTo-Uv8p0NA(int, long);
}
public final class TouchInjectionScopeKt {
method public static void click(androidx.compose.ui.test.TouchInjectionScope, optional long position);
method @BytecodeOnly public static void click-Uv8p0NA(androidx.compose.ui.test.TouchInjectionScope, long);
method public static void doubleClick(androidx.compose.ui.test.TouchInjectionScope, optional long position, optional long delayMillis);
method @BytecodeOnly public static void doubleClick-d-4ec7I(androidx.compose.ui.test.TouchInjectionScope, long, long);
method public static void longClick(androidx.compose.ui.test.TouchInjectionScope, optional long position, optional long durationMillis);
method @BytecodeOnly public static void longClick-d-4ec7I(androidx.compose.ui.test.TouchInjectionScope, long, long);
method public static void multiTouchSwipe(androidx.compose.ui.test.TouchInjectionScope, java.util.List<? extends kotlin.jvm.functions.Function1<? super java.lang.Long,androidx.compose.ui.geometry.Offset>> curves, optional long durationMillis, optional java.util.List<java.lang.Long> keyTimes);
method public static void pinch(androidx.compose.ui.test.TouchInjectionScope, long start0, long end0, long start1, long end1, optional long durationMillis);
method @BytecodeOnly public static void pinch-_QUENCA(androidx.compose.ui.test.TouchInjectionScope, long, long, long, long, long);
method public static void swipe(androidx.compose.ui.test.TouchInjectionScope, kotlin.jvm.functions.Function1<? super java.lang.Long,androidx.compose.ui.geometry.Offset> curve, optional long durationMillis, optional java.util.List<java.lang.Long> keyTimes);
method public static void swipe(androidx.compose.ui.test.TouchInjectionScope, long start, long end, optional long durationMillis);
method @BytecodeOnly public static void swipe-DUneCvk(androidx.compose.ui.test.TouchInjectionScope, long, long, long);
method public static void swipeDown(androidx.compose.ui.test.TouchInjectionScope, optional float startY, optional float endY, optional long durationMillis);
method public static void swipeLeft(androidx.compose.ui.test.TouchInjectionScope, optional float startX, optional float endX, optional long durationMillis);
method public static void swipeRight(androidx.compose.ui.test.TouchInjectionScope, optional float startX, optional float endX, optional long durationMillis);
method public static void swipeUp(androidx.compose.ui.test.TouchInjectionScope, optional float startY, optional float endY, optional long durationMillis);
method public static void swipeWithVelocity(androidx.compose.ui.test.TouchInjectionScope, long start, long end, float endVelocity, optional long durationMillis);
method @BytecodeOnly public static void swipeWithVelocity-5iVPX68(androidx.compose.ui.test.TouchInjectionScope, long, long, float, long);
}
}
package androidx.compose.ui.test.internal {
@SuppressCompatibility @androidx.compose.ui.test.InternalTestApi public abstract class DelayPropagatingContinuationInterceptorWrapper extends kotlin.coroutines.AbstractCoroutineContextElement implements kotlin.coroutines.ContinuationInterceptor kotlinx.coroutines.Delay {
ctor public DelayPropagatingContinuationInterceptorWrapper(kotlin.coroutines.ContinuationInterceptor wrappedInterceptor);
method @BytecodeOnly @Deprecated public Object? delay(long, kotlin.coroutines.Continuation<? super kotlin.Unit!>);
method @BytecodeOnly public kotlinx.coroutines.DisposableHandle invokeOnTimeout(long, Runnable, kotlin.coroutines.CoroutineContext);
method @BytecodeOnly public void releaseInterceptedContinuation(kotlin.coroutines.Continuation<? extends java.lang.Object!>);
method @BytecodeOnly public void scheduleResumeAfterDelay(long, kotlinx.coroutines.CancellableContinuation<? super kotlin.Unit!>);
}
}
package androidx.compose.ui.test.junit4.android {
public final class ComposeNotIdleException extends java.lang.Exception {
ctor public ComposeNotIdleException(String? message, Throwable? cause);
}
}