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