1// Signature format: 4.0
2package androidx.compose.ui.test {
3
4  public final class ActionsKt {
5    method public static androidx.compose.ui.test.SemanticsNodeInteraction performClick(androidx.compose.ui.test.SemanticsNodeInteraction);
6    method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static androidx.compose.ui.test.SemanticsNodeInteraction performCustomAccessibilityActionWithLabel(androidx.compose.ui.test.SemanticsNodeInteraction, String label);
7    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);
8    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);
9    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);
10    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);
11    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);
12    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);
13    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);
14    method public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollTo(androidx.compose.ui.test.SemanticsNodeInteraction);
15    method public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollToIndex(androidx.compose.ui.test.SemanticsNodeInteraction, int index);
16    method public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollToKey(androidx.compose.ui.test.SemanticsNodeInteraction, Object key);
17    method public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollToNode(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.test.SemanticsMatcher matcher);
18    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);
19    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);
20    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);
21    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);
22    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);
23    method public static androidx.compose.ui.test.SemanticsNodeInteraction requestFocus(androidx.compose.ui.test.SemanticsNodeInteraction);
24    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection tryPerformAccessibilityChecks(androidx.compose.ui.test.SemanticsNodeInteractionCollection);
25  }
26
27  public final class AndroidActions {
28    method public static androidx.compose.ui.test.SemanticsNodeInteraction tryPerformAccessibilityChecks(androidx.compose.ui.test.SemanticsNodeInteraction);
29  }
30
31  @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public sealed interface AndroidComposeUiTest<A extends androidx.activity.ComponentActivity> extends androidx.compose.ui.test.ComposeUiTest {
32    method public A? getActivity();
33    property public abstract A? activity;
34  }
35
36  @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public abstract class AndroidComposeUiTestEnvironment<A extends androidx.activity.ComponentActivity> {
37    ctor public AndroidComposeUiTestEnvironment();
38    ctor public AndroidComposeUiTestEnvironment(optional kotlin.coroutines.CoroutineContext effectContext);
39    ctor public AndroidComposeUiTestEnvironment(optional kotlin.coroutines.CoroutineContext effectContext, optional kotlin.coroutines.CoroutineContext runTestContext, optional long testTimeout);
40    method public final void cancelAndRecreateRecomposer();
41    method protected abstract A? getActivity();
42    method public final androidx.compose.ui.test.AndroidComposeUiTest<A> getTest();
43    method @Deprecated public final <R> R? runTest(kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.AndroidComposeUiTest<A>,? extends R?> block);
44    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);
45    property protected abstract A? activity;
46    property public final androidx.compose.ui.test.AndroidComposeUiTest<A> test;
47  }
48
49  public final class AndroidImageHelpers_androidKt {
50    method @RequiresApi(android.os.Build.VERSION_CODES.O) public static androidx.compose.ui.graphics.ImageBitmap captureToImage(androidx.compose.ui.test.SemanticsNodeInteraction);
51  }
52
53  public final class AssertionsKt {
54    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);
55    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertAll(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
56    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertAny(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
57    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertContentDescriptionContains(androidx.compose.ui.test.SemanticsNodeInteraction, String value, optional boolean substring, optional boolean ignoreCase);
58    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertContentDescriptionEquals(androidx.compose.ui.test.SemanticsNodeInteraction, java.lang.String... values);
59    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertCountEquals(androidx.compose.ui.test.SemanticsNodeInteractionCollection, int expectedSize);
60    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHasClickAction(androidx.compose.ui.test.SemanticsNodeInteraction);
61    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHasNoClickAction(androidx.compose.ui.test.SemanticsNodeInteraction);
62    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsDisplayed(androidx.compose.ui.test.SemanticsNodeInteraction);
63    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsEnabled(androidx.compose.ui.test.SemanticsNodeInteraction);
64    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsFocused(androidx.compose.ui.test.SemanticsNodeInteraction);
65    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotDisplayed(androidx.compose.ui.test.SemanticsNodeInteraction);
66    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotEnabled(androidx.compose.ui.test.SemanticsNodeInteraction);
67    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotFocused(androidx.compose.ui.test.SemanticsNodeInteraction);
68    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotSelected(androidx.compose.ui.test.SemanticsNodeInteraction);
69    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsOff(androidx.compose.ui.test.SemanticsNodeInteraction);
70    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsOn(androidx.compose.ui.test.SemanticsNodeInteraction);
71    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsSelectable(androidx.compose.ui.test.SemanticsNodeInteraction);
72    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsSelected(androidx.compose.ui.test.SemanticsNodeInteraction);
73    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsToggleable(androidx.compose.ui.test.SemanticsNodeInteraction);
74    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertRangeInfoEquals(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.semantics.ProgressBarRangeInfo value);
75    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTextContains(androidx.compose.ui.test.SemanticsNodeInteraction, String value, optional boolean substring, optional boolean ignoreCase);
76    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTextEquals(androidx.compose.ui.test.SemanticsNodeInteraction, String[] values, optional boolean includeEditableText);
77    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertValueEquals(androidx.compose.ui.test.SemanticsNodeInteraction, String value);
78    method public static boolean isDisplayed(androidx.compose.ui.test.SemanticsNodeInteraction);
79    method public static boolean isNotDisplayed(androidx.compose.ui.test.SemanticsNodeInteraction);
80  }
81
82  public final class BoundsAssertionsKt {
83    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHeightIsAtLeast(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedMinHeight);
84    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHeightIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedHeight);
85    method public static void assertIsEqualTo(float, float expected, String subject, optional float tolerance);
86    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertLeftPositionInRootIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedLeft);
87    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertPositionInRootIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedLeft, float expectedTop);
88    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTopPositionInRootIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedTop);
89    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTouchHeightIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedHeight);
90    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTouchWidthIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedWidth);
91    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertWidthIsAtLeast(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedMinWidth);
92    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertWidthIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedWidth);
93    method public static float getAlignmentLinePosition(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.layout.AlignmentLine alignmentLine);
94    method public static androidx.compose.ui.unit.DpRect getBoundsInRoot(androidx.compose.ui.test.SemanticsNodeInteraction);
95    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);
96    method public static androidx.compose.ui.unit.DpRect getUnclippedBoundsInRoot(androidx.compose.ui.test.SemanticsNodeInteraction);
97  }
98
99  public final class ComposeTimeoutException extends java.lang.Throwable {
100    ctor public ComposeTimeoutException(String? message);
101  }
102
103  @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public sealed interface ComposeUiTest extends androidx.compose.ui.test.SemanticsNodeInteractionsProvider {
104    method public suspend Object? awaitIdle(kotlin.coroutines.Continuation<? super kotlin.Unit>);
105    method public androidx.compose.ui.unit.Density getDensity();
106    method public androidx.compose.ui.test.MainTestClock getMainClock();
107    method public void registerIdlingResource(androidx.compose.ui.test.IdlingResource idlingResource);
108    method public <T> T runOnIdle(kotlin.jvm.functions.Function0<? extends T> action);
109    method public <T> T runOnUiThread(kotlin.jvm.functions.Function0<? extends T> action);
110    method public void setContent(kotlin.jvm.functions.Function0<kotlin.Unit> composable);
111    method public void unregisterIdlingResource(androidx.compose.ui.test.IdlingResource idlingResource);
112    method public void waitForIdle();
113    method public void waitUntil(optional String? conditionDescription, optional long timeoutMillis, kotlin.jvm.functions.Function0<java.lang.Boolean> condition);
114    property public abstract androidx.compose.ui.unit.Density density;
115    property public abstract androidx.compose.ui.test.MainTestClock mainClock;
116  }
117
118  public final class ComposeUiTestKt {
119    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);
120    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);
121    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);
122    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);
123  }
124
125  public final class ComposeUiTest_androidKt {
126    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);
127    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);
128    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);
129    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);
130    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);
131    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);
132    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);
133    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);
134    method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void runEmptyComposeUiTest(kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.ComposeUiTest,kotlin.Unit> block);
135  }
136
137  public fun interface DeviceConfigurationOverride {
138    method @androidx.compose.runtime.Composable public void Override(kotlin.jvm.functions.Function0<kotlin.Unit> contentUnderTest);
139    field public static final androidx.compose.ui.test.DeviceConfigurationOverride.Companion Companion;
140  }
141
142  public static final class DeviceConfigurationOverride.Companion {
143  }
144
145  public final class DeviceConfigurationOverrideKt {
146    method @androidx.compose.runtime.Composable public static void DeviceConfigurationOverride(androidx.compose.ui.test.DeviceConfigurationOverride override, kotlin.jvm.functions.Function0<kotlin.Unit> content);
147    method public static infix androidx.compose.ui.test.DeviceConfigurationOverride then(androidx.compose.ui.test.DeviceConfigurationOverride, androidx.compose.ui.test.DeviceConfigurationOverride other);
148  }
149
150  public final class DeviceConfigurationOverride_androidKt {
151    method public static androidx.compose.ui.test.DeviceConfigurationOverride DarkMode(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, boolean isDarkMode);
152    method public static androidx.compose.ui.test.DeviceConfigurationOverride FontScale(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, float fontScale);
153    method @RequiresApi(31) public static androidx.compose.ui.test.DeviceConfigurationOverride FontWeightAdjustment(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, int fontWeightAdjustment);
154    method public static androidx.compose.ui.test.DeviceConfigurationOverride ForcedSize(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, long size);
155    method public static androidx.compose.ui.test.DeviceConfigurationOverride LayoutDirection(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, androidx.compose.ui.unit.LayoutDirection layoutDirection);
156    method public static androidx.compose.ui.test.DeviceConfigurationOverride Locales(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, androidx.compose.ui.text.intl.LocaleList locales);
157    method @RequiresApi(23) public static androidx.compose.ui.test.DeviceConfigurationOverride RoundScreen(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, boolean isScreenRound);
158    method public static androidx.compose.ui.test.DeviceConfigurationOverride WindowInsets(androidx.compose.ui.test.DeviceConfigurationOverride.Companion, androidx.core.view.WindowInsetsCompat windowInsets);
159  }
160
161  @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 {
162  }
163
164  public final class FiltersKt {
165    method public static androidx.compose.ui.test.SemanticsMatcher hasAnyAncestor(androidx.compose.ui.test.SemanticsMatcher matcher);
166    method public static androidx.compose.ui.test.SemanticsMatcher hasAnyChild(androidx.compose.ui.test.SemanticsMatcher matcher);
167    method public static androidx.compose.ui.test.SemanticsMatcher hasAnyDescendant(androidx.compose.ui.test.SemanticsMatcher matcher);
168    method public static androidx.compose.ui.test.SemanticsMatcher hasAnySibling(androidx.compose.ui.test.SemanticsMatcher matcher);
169    method public static androidx.compose.ui.test.SemanticsMatcher hasClickAction();
170    method public static androidx.compose.ui.test.SemanticsMatcher hasContentDescription(String value, optional boolean substring, optional boolean ignoreCase);
171    method public static androidx.compose.ui.test.SemanticsMatcher hasContentDescriptionExactly(java.lang.String... values);
172    method public static androidx.compose.ui.test.SemanticsMatcher hasImeAction(int actionType);
173    method public static androidx.compose.ui.test.SemanticsMatcher hasInsertTextAtCursorAction();
174    method public static androidx.compose.ui.test.SemanticsMatcher hasNoClickAction();
175    method public static androidx.compose.ui.test.SemanticsMatcher hasNoScrollAction();
176    method public static androidx.compose.ui.test.SemanticsMatcher hasParent(androidx.compose.ui.test.SemanticsMatcher matcher);
177    method public static androidx.compose.ui.test.SemanticsMatcher hasPerformImeAction();
178    method public static androidx.compose.ui.test.SemanticsMatcher hasProgressBarRangeInfo(androidx.compose.ui.semantics.ProgressBarRangeInfo rangeInfo);
179    method public static androidx.compose.ui.test.SemanticsMatcher hasRequestFocusAction();
180    method public static androidx.compose.ui.test.SemanticsMatcher hasScrollAction();
181    method public static androidx.compose.ui.test.SemanticsMatcher hasScrollToIndexAction();
182    method public static androidx.compose.ui.test.SemanticsMatcher hasScrollToKeyAction();
183    method public static androidx.compose.ui.test.SemanticsMatcher hasScrollToNodeAction();
184    method public static androidx.compose.ui.test.SemanticsMatcher hasSetTextAction();
185    method public static androidx.compose.ui.test.SemanticsMatcher hasStateDescription(String value);
186    method public static androidx.compose.ui.test.SemanticsMatcher hasTestTag(String testTag);
187    method public static androidx.compose.ui.test.SemanticsMatcher hasText(String text, optional boolean substring, optional boolean ignoreCase);
188    method public static androidx.compose.ui.test.SemanticsMatcher hasTextExactly(String[] textValues, optional boolean includeEditableText);
189    method public static androidx.compose.ui.test.SemanticsMatcher isDialog();
190    method public static androidx.compose.ui.test.SemanticsMatcher isEditable();
191    method public static androidx.compose.ui.test.SemanticsMatcher isEnabled();
192    method public static androidx.compose.ui.test.SemanticsMatcher isFocusable();
193    method public static androidx.compose.ui.test.SemanticsMatcher isFocused();
194    method public static androidx.compose.ui.test.SemanticsMatcher isHeading();
195    method public static androidx.compose.ui.test.SemanticsMatcher isNotEnabled();
196    method public static androidx.compose.ui.test.SemanticsMatcher isNotFocusable();
197    method public static androidx.compose.ui.test.SemanticsMatcher isNotFocused();
198    method public static androidx.compose.ui.test.SemanticsMatcher isNotSelected();
199    method public static androidx.compose.ui.test.SemanticsMatcher isOff();
200    method public static androidx.compose.ui.test.SemanticsMatcher isOn();
201    method public static androidx.compose.ui.test.SemanticsMatcher isPopup();
202    method public static androidx.compose.ui.test.SemanticsMatcher isRoot();
203    method public static androidx.compose.ui.test.SemanticsMatcher isSelectable();
204    method public static androidx.compose.ui.test.SemanticsMatcher isSelected();
205    method public static androidx.compose.ui.test.SemanticsMatcher isToggleable();
206  }
207
208  public final class FindersKt {
209    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);
210    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodesWithTag(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String testTag, optional boolean useUnmergedTree);
211    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);
212    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);
213    method public static androidx.compose.ui.test.SemanticsNodeInteraction onNodeWithTag(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String testTag, optional boolean useUnmergedTree);
214    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);
215    method public static androidx.compose.ui.test.SemanticsNodeInteraction onRoot(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, optional boolean useUnmergedTree);
216  }
217
218  @Deprecated public final class GestureScope {
219    ctor @Deprecated public GestureScope(androidx.compose.ui.semantics.SemanticsNode node, androidx.compose.ui.test.TestContext testContext);
220    method @Deprecated public long getVisibleSize();
221    property @Deprecated @kotlin.PublishedApi internal androidx.compose.ui.test.MultiModalInjectionScope delegateScope;
222    property @Deprecated public long visibleSize;
223    field @Deprecated @kotlin.PublishedApi internal final androidx.compose.ui.test.MultiModalInjectionScope delegateScope;
224  }
225
226  public final class GestureScopeKt {
227    method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void advanceEventTime(androidx.compose.ui.test.GestureScope, long durationMillis);
228    method @Deprecated public static void cancel(androidx.compose.ui.test.GestureScope);
229    method @Deprecated public static void click(androidx.compose.ui.test.GestureScope, optional long position);
230    method @Deprecated public static void doubleClick(androidx.compose.ui.test.GestureScope, optional long position, optional long delayMillis);
231    method @Deprecated public static void down(androidx.compose.ui.test.GestureScope, int pointerId, long position);
232    method @Deprecated public static void down(androidx.compose.ui.test.GestureScope, long position);
233    method @Deprecated public static inline float getBottom(androidx.compose.ui.test.GestureScope);
234    method @Deprecated public static long getBottomCenter(androidx.compose.ui.test.GestureScope);
235    method @Deprecated public static long getBottomLeft(androidx.compose.ui.test.GestureScope);
236    method @Deprecated public static long getBottomRight(androidx.compose.ui.test.GestureScope);
237    method @Deprecated public static long getCenter(androidx.compose.ui.test.GestureScope);
238    method @Deprecated public static long getCenterLeft(androidx.compose.ui.test.GestureScope);
239    method @Deprecated public static long getCenterRight(androidx.compose.ui.test.GestureScope);
240    method @Deprecated public static inline float getCenterX(androidx.compose.ui.test.GestureScope);
241    method @Deprecated public static inline float getCenterY(androidx.compose.ui.test.GestureScope);
242    method @Deprecated public static inline int getHeight(androidx.compose.ui.test.GestureScope);
243    method @Deprecated public static inline float getLeft(androidx.compose.ui.test.GestureScope);
244    method @Deprecated public static inline float getRight(androidx.compose.ui.test.GestureScope);
245    method @Deprecated public static inline float getTop(androidx.compose.ui.test.GestureScope);
246    method @Deprecated public static long getTopCenter(androidx.compose.ui.test.GestureScope);
247    method @Deprecated public static long getTopLeft(androidx.compose.ui.test.GestureScope);
248    method @Deprecated public static long getTopRight(androidx.compose.ui.test.GestureScope);
249    method @Deprecated public static inline int getWidth(androidx.compose.ui.test.GestureScope);
250    method @Deprecated public static void longClick(androidx.compose.ui.test.GestureScope, optional long position, optional long durationMillis);
251    method @Deprecated public static void move(androidx.compose.ui.test.GestureScope);
252    method @Deprecated public static void moveBy(androidx.compose.ui.test.GestureScope, int pointerId, long delta);
253    method @Deprecated public static void moveBy(androidx.compose.ui.test.GestureScope, long delta);
254    method @Deprecated public static void movePointerBy(androidx.compose.ui.test.GestureScope, int pointerId, long delta);
255    method @Deprecated public static void movePointerTo(androidx.compose.ui.test.GestureScope, int pointerId, long position);
256    method @Deprecated public static void moveTo(androidx.compose.ui.test.GestureScope, int pointerId, long position);
257    method @Deprecated public static void moveTo(androidx.compose.ui.test.GestureScope, long position);
258    method @Deprecated public static long percentOffset(androidx.compose.ui.test.GestureScope, optional float x, optional float y);
259    method @Deprecated public static void pinch(androidx.compose.ui.test.GestureScope, long start0, long end0, long start1, long end1, optional long durationMillis);
260    method @Deprecated public static void swipe(androidx.compose.ui.test.GestureScope, long start, long end, optional long durationMillis);
261    method @Deprecated public static void swipeDown(androidx.compose.ui.test.GestureScope);
262    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);
263    method @Deprecated public static void swipeLeft(androidx.compose.ui.test.GestureScope);
264    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);
265    method @Deprecated public static void swipeRight(androidx.compose.ui.test.GestureScope);
266    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);
267    method @Deprecated public static void swipeUp(androidx.compose.ui.test.GestureScope);
268    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);
269    method @Deprecated public static void swipeWithVelocity(androidx.compose.ui.test.GestureScope, long start, long end, float endVelocity, optional long durationMillis);
270    method @Deprecated public static void up(androidx.compose.ui.test.GestureScope, optional int pointerId);
271    property @Deprecated public static inline float androidx.compose.ui.test.GestureScope.bottom;
272    property @Deprecated public static long androidx.compose.ui.test.GestureScope.bottomCenter;
273    property @Deprecated public static long androidx.compose.ui.test.GestureScope.bottomLeft;
274    property @Deprecated public static long androidx.compose.ui.test.GestureScope.bottomRight;
275    property @Deprecated public static long androidx.compose.ui.test.GestureScope.center;
276    property @Deprecated public static long androidx.compose.ui.test.GestureScope.centerLeft;
277    property @Deprecated public static long androidx.compose.ui.test.GestureScope.centerRight;
278    property @Deprecated public static inline float androidx.compose.ui.test.GestureScope.centerX;
279    property @Deprecated public static inline float androidx.compose.ui.test.GestureScope.centerY;
280    property @Deprecated public static inline int androidx.compose.ui.test.GestureScope.height;
281    property @Deprecated public static inline float androidx.compose.ui.test.GestureScope.left;
282    property @Deprecated public static inline float androidx.compose.ui.test.GestureScope.right;
283    property @Deprecated public static inline float androidx.compose.ui.test.GestureScope.top;
284    property @Deprecated public static long androidx.compose.ui.test.GestureScope.topCenter;
285    property @Deprecated public static long androidx.compose.ui.test.GestureScope.topLeft;
286    property @Deprecated public static long androidx.compose.ui.test.GestureScope.topRight;
287    property @Deprecated public static inline int androidx.compose.ui.test.GestureScope.width;
288  }
289
290  public final class GlobalAssertions {
291    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);
292    method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static androidx.compose.ui.test.SemanticsNodeInteraction invokeGlobalAssertions(androidx.compose.ui.test.SemanticsNodeInteraction);
293    method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static androidx.compose.ui.test.SemanticsNodeInteractionCollection invokeGlobalAssertions(androidx.compose.ui.test.SemanticsNodeInteractionCollection);
294    method @Deprecated @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static void removeGlobalAssertion(String name);
295  }
296
297  @kotlin.jvm.JvmDefaultWithCompatibility public interface IdlingResource {
298    method public default String? getDiagnosticMessageIfBusy();
299    method public boolean isIdleNow();
300    property public abstract boolean isIdleNow;
301  }
302
303  public final class IndirectTouchInputHelpersKt {
304    method @SuppressCompatibility @androidx.compose.ui.ExperimentalComposeUiApi public static boolean performIndirectTouchEvent(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.input.indirect.IndirectTouchEvent indirectTouchEvent);
305  }
306
307  @kotlin.jvm.JvmDefaultWithCompatibility public interface InjectionScope extends androidx.compose.ui.unit.Density {
308    method public void advanceEventTime(optional long durationMillis);
309    method public default float getBottom();
310    method public default long getBottomCenter();
311    method public default long getBottomLeft();
312    method public default long getBottomRight();
313    method public default long getCenter();
314    method public default long getCenterLeft();
315    method public default long getCenterRight();
316    method public default float getCenterX();
317    method public default float getCenterY();
318    method public default long getEventPeriodMillis();
319    method public default int getHeight();
320    method public default float getLeft();
321    method public default float getRight();
322    method public default float getTop();
323    method public default long getTopCenter();
324    method public default long getTopLeft();
325    method public default long getTopRight();
326    method public androidx.compose.ui.platform.ViewConfiguration getViewConfiguration();
327    method public long getVisibleSize();
328    method public default int getWidth();
329    method public default long percentOffset(optional float x, optional float y);
330    property public default float bottom;
331    property public default long bottomCenter;
332    property public default long bottomLeft;
333    property public default long bottomRight;
334    property public default long center;
335    property public default long centerLeft;
336    property public default long centerRight;
337    property public default float centerX;
338    property public default float centerY;
339    property public default long eventPeriodMillis;
340    property public default int height;
341    property public default float left;
342    property public default float right;
343    property public default float top;
344    property public default long topCenter;
345    property public default long topLeft;
346    property public default long topRight;
347    property public abstract androidx.compose.ui.platform.ViewConfiguration viewConfiguration;
348    property public abstract long visibleSize;
349    property public default int width;
350  }
351
352  @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 {
353  }
354
355  @kotlin.jvm.JvmDefaultWithCompatibility public interface KeyInjectionScope extends androidx.compose.ui.test.InjectionScope {
356    method public boolean isCapsLockOn();
357    method public boolean isKeyDown(long key);
358    method public boolean isNumLockOn();
359    method public boolean isScrollLockOn();
360    method public void keyDown(long key);
361    method public void keyUp(long key);
362    property public abstract boolean isCapsLockOn;
363    property public abstract boolean isNumLockOn;
364    property public abstract boolean isScrollLockOn;
365  }
366
367  public final class KeyInjectionScopeKt {
368    method public static boolean isAltDown(androidx.compose.ui.test.KeyInjectionScope);
369    method public static boolean isCtrlDown(androidx.compose.ui.test.KeyInjectionScope);
370    method public static boolean isFnDown(androidx.compose.ui.test.KeyInjectionScope);
371    method public static boolean isMetaDown(androidx.compose.ui.test.KeyInjectionScope);
372    method public static boolean isShiftDown(androidx.compose.ui.test.KeyInjectionScope);
373    method public static void pressKey(androidx.compose.ui.test.KeyInjectionScope, long key, optional long pressDurationMillis);
374    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);
375    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);
376    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);
377    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);
378    property public static boolean androidx.compose.ui.test.KeyInjectionScope.isAltDown;
379    property public static boolean androidx.compose.ui.test.KeyInjectionScope.isCtrlDown;
380    property public static boolean androidx.compose.ui.test.KeyInjectionScope.isFnDown;
381    property public static boolean androidx.compose.ui.test.KeyInjectionScope.isMetaDown;
382    property public static boolean androidx.compose.ui.test.KeyInjectionScope.isShiftDown;
383  }
384
385  public final class KeyInputHelpersKt {
386    method public static boolean performKeyPress(androidx.compose.ui.test.SemanticsNodeInteraction, android.view.KeyEvent keyEvent);
387  }
388
389  @kotlin.jvm.JvmDefaultWithCompatibility public interface MainTestClock {
390    method public void advanceTimeBy(long milliseconds, optional boolean ignoreFrameDuration);
391    method public void advanceTimeByFrame();
392    method public void advanceTimeUntil(optional long timeoutMillis, kotlin.jvm.functions.Function0<java.lang.Boolean> condition);
393    method public boolean getAutoAdvance();
394    method public long getCurrentTime();
395    method public void setAutoAdvance(boolean);
396    property public abstract boolean autoAdvance;
397    property public abstract long currentTime;
398  }
399
400  @kotlin.jvm.JvmInline public final value class MouseButton {
401    ctor public MouseButton(int buttonId);
402    method public int getButtonId();
403    property public int buttonId;
404    field public static final androidx.compose.ui.test.MouseButton.Companion Companion;
405  }
406
407  public static final class MouseButton.Companion {
408    method public int getPrimary();
409    method public int getSecondary();
410    method public int getTertiary();
411    property public int Primary;
412    property public int Secondary;
413    property public int Tertiary;
414  }
415
416  public interface MouseInjectionScope extends androidx.compose.ui.test.InjectionScope {
417    method public void cancel(optional long delayMillis);
418    method public void enter(optional long position, optional long delayMillis);
419    method public void exit(optional long position, optional long delayMillis);
420    method public long getCurrentPosition();
421    method public default void moveBy(long delta, optional long delayMillis);
422    method public void moveTo(long position, optional long delayMillis);
423    method public void press(optional int button);
424    method public void release(optional int button);
425    method public void scroll(float delta, optional int scrollWheel);
426    method public default void updatePointerBy(long delta);
427    method public void updatePointerTo(long position);
428    property public abstract long currentPosition;
429  }
430
431  public final class MouseInjectionScopeKt {
432    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);
433    method public static void animateMoveBy(androidx.compose.ui.test.MouseInjectionScope, long delta, optional long durationMillis);
434    method public static void animateMoveTo(androidx.compose.ui.test.MouseInjectionScope, long position, optional long durationMillis);
435    method public static void click(androidx.compose.ui.test.MouseInjectionScope, optional long position, optional int button);
436    method public static void doubleClick(androidx.compose.ui.test.MouseInjectionScope, optional long position, optional int button);
437    method public static void dragAndDrop(androidx.compose.ui.test.MouseInjectionScope, long start, long end, optional int button, optional long durationMillis);
438    method public static void longClick(androidx.compose.ui.test.MouseInjectionScope, optional long position, optional int button);
439    method public static void rightClick(androidx.compose.ui.test.MouseInjectionScope, optional long position);
440    method public static void smoothScroll(androidx.compose.ui.test.MouseInjectionScope, float scrollAmount, optional long durationMillis, optional int scrollWheel);
441    method public static void tripleClick(androidx.compose.ui.test.MouseInjectionScope, optional long position, optional int button);
442  }
443
444  public sealed interface MultiModalInjectionScope extends androidx.compose.ui.test.InjectionScope {
445    method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public void key(kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.KeyInjectionScope,kotlin.Unit> block);
446    method public void mouse(kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.MouseInjectionScope,kotlin.Unit> block);
447    method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public void rotary(kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.RotaryInjectionScope,kotlin.Unit> block);
448    method public void touch(kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.TouchInjectionScope,kotlin.Unit> block);
449  }
450
451  public final class OutputKt {
452    method public static void printToLog(androidx.compose.ui.test.SemanticsNodeInteraction, String tag, optional int maxDepth);
453    method public static void printToLog(androidx.compose.ui.test.SemanticsNodeInteractionCollection, String tag, optional int maxDepth);
454    method public static String printToString(androidx.compose.ui.test.SemanticsNodeInteraction, optional int maxDepth);
455    method public static String printToString(androidx.compose.ui.test.SemanticsNodeInteractionCollection, optional int maxDepth);
456  }
457
458  public final class PlatformTextInputMethodOverrideKt {
459    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);
460  }
461
462  @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public interface RotaryInjectionScope extends androidx.compose.ui.test.InjectionScope {
463    method public void rotateToScrollHorizontally(float horizontalScrollPixels);
464    method public void rotateToScrollVertically(float verticalScrollPixels);
465  }
466
467  @kotlin.jvm.JvmInline public final value class ScrollWheel {
468    method public int getValue();
469    property public int value;
470    field public static final androidx.compose.ui.test.ScrollWheel.Companion Companion;
471  }
472
473  public static final class ScrollWheel.Companion {
474    method public int getHorizontal();
475    method public int getVertical();
476    property public int Horizontal;
477    property public int Vertical;
478  }
479
480  public final class SelectionResult {
481    ctor public SelectionResult(java.util.List<androidx.compose.ui.semantics.SemanticsNode> selectedNodes, optional String? customErrorOnNoMatch);
482    method public String? getCustomErrorOnNoMatch();
483    method public java.util.List<androidx.compose.ui.semantics.SemanticsNode> getSelectedNodes();
484    property public String? customErrorOnNoMatch;
485    property public java.util.List<androidx.compose.ui.semantics.SemanticsNode> selectedNodes;
486  }
487
488  public final class SelectorsKt {
489    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection filter(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
490    method public static androidx.compose.ui.test.SemanticsNodeInteraction filterToOne(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
491    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAncestors(androidx.compose.ui.test.SemanticsNodeInteraction);
492    method public static androidx.compose.ui.test.SemanticsNodeInteraction onChild(androidx.compose.ui.test.SemanticsNodeInteraction);
493    method public static androidx.compose.ui.test.SemanticsNodeInteraction onChildAt(androidx.compose.ui.test.SemanticsNodeInteraction, int index);
494    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onChildren(androidx.compose.ui.test.SemanticsNodeInteraction);
495    method public static androidx.compose.ui.test.SemanticsNodeInteraction onFirst(androidx.compose.ui.test.SemanticsNodeInteractionCollection);
496    method public static androidx.compose.ui.test.SemanticsNodeInteraction onLast(androidx.compose.ui.test.SemanticsNodeInteractionCollection);
497    method public static androidx.compose.ui.test.SemanticsNodeInteraction onParent(androidx.compose.ui.test.SemanticsNodeInteraction);
498    method public static androidx.compose.ui.test.SemanticsNodeInteraction onSibling(androidx.compose.ui.test.SemanticsNodeInteraction);
499    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onSiblings(androidx.compose.ui.test.SemanticsNodeInteraction);
500  }
501
502  public final class SemanticsMatcher {
503    ctor public SemanticsMatcher(String description, kotlin.jvm.functions.Function1<? super androidx.compose.ui.semantics.SemanticsNode,java.lang.Boolean> matcher);
504    method public infix androidx.compose.ui.test.SemanticsMatcher and(androidx.compose.ui.test.SemanticsMatcher other);
505    method public String getDescription();
506    method public boolean matches(androidx.compose.ui.semantics.SemanticsNode node);
507    method public boolean matchesAny(Iterable<androidx.compose.ui.semantics.SemanticsNode> nodes);
508    method public operator androidx.compose.ui.test.SemanticsMatcher not();
509    method public infix androidx.compose.ui.test.SemanticsMatcher or(androidx.compose.ui.test.SemanticsMatcher other);
510    property public String description;
511    field public static final androidx.compose.ui.test.SemanticsMatcher.Companion Companion;
512  }
513
514  public static final class SemanticsMatcher.Companion {
515    method public <T> androidx.compose.ui.test.SemanticsMatcher expectValue(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key, T expectedValue);
516    method public <T> androidx.compose.ui.test.SemanticsMatcher keyIsDefined(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key);
517    method public <T> androidx.compose.ui.test.SemanticsMatcher keyNotDefined(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key);
518  }
519
520  public final class SemanticsNodeInteraction {
521    ctor public SemanticsNodeInteraction(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsMatcher matcher);
522    ctor public SemanticsNodeInteraction(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsSelector selector);
523    method public void assertDoesNotExist();
524    method public androidx.compose.ui.test.SemanticsNodeInteraction assertExists(optional String? errorMessageOnFail);
525    method public void assertIsDeactivated(optional String? errorMessageOnFail);
526    method public androidx.compose.ui.semantics.SemanticsNode fetchSemanticsNode(optional String? errorMessageOnFail);
527  }
528
529  public final class SemanticsNodeInteractionCollection {
530    ctor public SemanticsNodeInteractionCollection(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsMatcher matcher);
531    ctor public SemanticsNodeInteractionCollection(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsSelector selector);
532    method public java.util.List<androidx.compose.ui.semantics.SemanticsNode> fetchSemanticsNodes(optional boolean atLeastOneRootRequired, optional String? errorMessageOnFail);
533    method public operator androidx.compose.ui.test.SemanticsNodeInteraction get(int index);
534  }
535
536  @kotlin.jvm.JvmDefaultWithCompatibility public interface SemanticsNodeInteractionsProvider {
537    method public androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodes(androidx.compose.ui.test.SemanticsMatcher matcher, optional boolean useUnmergedTree);
538    method public androidx.compose.ui.test.SemanticsNodeInteraction onNode(androidx.compose.ui.test.SemanticsMatcher matcher, optional boolean useUnmergedTree);
539  }
540
541  public final class SemanticsSelector {
542    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);
543    method public String getDescription();
544    method public androidx.compose.ui.test.SelectionResult map(Iterable<androidx.compose.ui.semantics.SemanticsNode> nodes, String errorOnFail);
545    property public String description;
546  }
547
548  @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public final class StateRestorationTester {
549    ctor public StateRestorationTester(androidx.compose.ui.test.ComposeUiTest composeTest);
550    method public void emulateSaveAndRestore();
551    method public void setContent(kotlin.jvm.functions.Function0<kotlin.Unit> composable);
552  }
553
554  public final class TestContext {
555  }
556
557  @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi @kotlinx.coroutines.ExperimentalCoroutinesApi public final class TestMonotonicFrameClock implements androidx.compose.runtime.MonotonicFrameClock {
558    ctor public TestMonotonicFrameClock(kotlinx.coroutines.CoroutineScope coroutineScope, optional long frameDelayNanos, optional kotlin.jvm.functions.Function1<? super java.lang.Long,kotlin.Unit> onPerformTraversals);
559    method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public kotlin.coroutines.ContinuationInterceptor getContinuationInterceptor();
560    method public long getFrameDelayNanos();
561    method public boolean getHasAwaiters();
562    method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R>);
563    property @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public kotlin.coroutines.ContinuationInterceptor continuationInterceptor;
564    property public long frameDelayNanos;
565    property public boolean hasAwaiters;
566  }
567
568  public final class TestMonotonicFrameClock_jvmKt {
569    method @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static long getFrameDelayMillis(androidx.compose.ui.test.TestMonotonicFrameClock);
570    property @SuppressCompatibility @androidx.compose.ui.test.ExperimentalTestApi public static long androidx.compose.ui.test.TestMonotonicFrameClock.frameDelayMillis;
571  }
572
573  public final class TextActionsKt {
574    method public static void performImeAction(androidx.compose.ui.test.SemanticsNodeInteraction);
575    method public static void performTextClearance(androidx.compose.ui.test.SemanticsNodeInteraction);
576    method public static void performTextInput(androidx.compose.ui.test.SemanticsNodeInteraction, String text);
577    method @Deprecated public static void performTextInputSelection(androidx.compose.ui.test.SemanticsNodeInteraction, long selection);
578    method public static void performTextInputSelection(androidx.compose.ui.test.SemanticsNodeInteraction, long selection, optional boolean relativeToOriginalText);
579    method public static void performTextReplacement(androidx.compose.ui.test.SemanticsNodeInteraction, String text);
580  }
581
582  @kotlin.jvm.JvmDefaultWithCompatibility public interface TouchInjectionScope extends androidx.compose.ui.test.InjectionScope {
583    method public void cancel(optional long delayMillis);
584    method public androidx.compose.ui.geometry.Offset? currentPosition(optional int pointerId);
585    method public void down(int pointerId, long position);
586    method public default void down(long position);
587    method public void move(optional long delayMillis);
588    method public default void moveBy(int pointerId, long delta, optional long delayMillis);
589    method public default void moveBy(long delta, optional long delayMillis);
590    method public default void moveTo(int pointerId, long position, optional long delayMillis);
591    method public default void moveTo(long position, optional long delayMillis);
592    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);
593    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);
594    method public void up(optional int pointerId);
595    method public default void updatePointerBy(int pointerId, long delta);
596    method public void updatePointerTo(int pointerId, long position);
597  }
598
599  public final class TouchInjectionScopeKt {
600    method public static void click(androidx.compose.ui.test.TouchInjectionScope, optional long position);
601    method public static void doubleClick(androidx.compose.ui.test.TouchInjectionScope, optional long position, optional long delayMillis);
602    method public static void longClick(androidx.compose.ui.test.TouchInjectionScope, optional long position, optional long durationMillis);
603    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);
604    method public static void pinch(androidx.compose.ui.test.TouchInjectionScope, long start0, long end0, long start1, long end1, optional long durationMillis);
605    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);
606    method public static void swipe(androidx.compose.ui.test.TouchInjectionScope, long start, long end, optional long durationMillis);
607    method public static void swipeDown(androidx.compose.ui.test.TouchInjectionScope, optional float startY, optional float endY, optional long durationMillis);
608    method public static void swipeLeft(androidx.compose.ui.test.TouchInjectionScope, optional float startX, optional float endX, optional long durationMillis);
609    method public static void swipeRight(androidx.compose.ui.test.TouchInjectionScope, optional float startX, optional float endX, optional long durationMillis);
610    method public static void swipeUp(androidx.compose.ui.test.TouchInjectionScope, optional float startY, optional float endY, optional long durationMillis);
611    method public static void swipeWithVelocity(androidx.compose.ui.test.TouchInjectionScope, long start, long end, float endVelocity, optional long durationMillis);
612  }
613
614}
615
616package androidx.compose.ui.test.internal {
617
618  @SuppressCompatibility @androidx.compose.ui.test.InternalTestApi public abstract class DelayPropagatingContinuationInterceptorWrapper extends kotlin.coroutines.AbstractCoroutineContextElement implements kotlin.coroutines.ContinuationInterceptor kotlinx.coroutines.Delay {
619    ctor public DelayPropagatingContinuationInterceptorWrapper(kotlin.coroutines.ContinuationInterceptor wrappedInterceptor);
620  }
621
622}
623
624package androidx.compose.ui.test.junit4.android {
625
626  public final class ComposeNotIdleException extends java.lang.Exception {
627    ctor public ComposeNotIdleException(String? message, Throwable? cause);
628  }
629
630}
631
632