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 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);
7    method public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollTo(androidx.compose.ui.test.SemanticsNodeInteraction);
8    method @androidx.compose.ui.test.ExperimentalTestApi public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollToIndex(androidx.compose.ui.test.SemanticsNodeInteraction, int index);
9    method @androidx.compose.ui.test.ExperimentalTestApi public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollToKey(androidx.compose.ui.test.SemanticsNodeInteraction, Object key);
10    method 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);
11    method 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);
12  }
13
14  public final class AndroidAssertions_androidKt {
15  }
16
17  public final class AndroidImageHelpers_androidKt {
18    method @RequiresApi(android.os.Build.VERSION_CODES.O) public static androidx.compose.ui.graphics.ImageBitmap captureToImage(androidx.compose.ui.test.SemanticsNodeInteraction);
19  }
20
21  public final class AndroidInputDispatcher_androidKt {
22  }
23
24  public final class AndroidOutput_androidKt {
25  }
26
27  public final class AssertionsKt {
28    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);
29    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertAll(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
30    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertAny(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
31    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertContentDescriptionContains(androidx.compose.ui.test.SemanticsNodeInteraction, String value, optional boolean substring, optional boolean ignoreCase);
32    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertContentDescriptionEquals(androidx.compose.ui.test.SemanticsNodeInteraction, java.lang.String... values);
33    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertCountEquals(androidx.compose.ui.test.SemanticsNodeInteractionCollection, int expectedSize);
34    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHasClickAction(androidx.compose.ui.test.SemanticsNodeInteraction);
35    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHasNoClickAction(androidx.compose.ui.test.SemanticsNodeInteraction);
36    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsDisplayed(androidx.compose.ui.test.SemanticsNodeInteraction);
37    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsEnabled(androidx.compose.ui.test.SemanticsNodeInteraction);
38    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsFocused(androidx.compose.ui.test.SemanticsNodeInteraction);
39    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotDisplayed(androidx.compose.ui.test.SemanticsNodeInteraction);
40    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotEnabled(androidx.compose.ui.test.SemanticsNodeInteraction);
41    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotFocused(androidx.compose.ui.test.SemanticsNodeInteraction);
42    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotSelected(androidx.compose.ui.test.SemanticsNodeInteraction);
43    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsOff(androidx.compose.ui.test.SemanticsNodeInteraction);
44    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsOn(androidx.compose.ui.test.SemanticsNodeInteraction);
45    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsSelectable(androidx.compose.ui.test.SemanticsNodeInteraction);
46    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsSelected(androidx.compose.ui.test.SemanticsNodeInteraction);
47    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsToggleable(androidx.compose.ui.test.SemanticsNodeInteraction);
48    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertRangeInfoEquals(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.semantics.ProgressBarRangeInfo value);
49    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTextContains(androidx.compose.ui.test.SemanticsNodeInteraction, String value, optional boolean substring, optional boolean ignoreCase);
50    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTextEquals(androidx.compose.ui.test.SemanticsNodeInteraction, String![] values, optional boolean includeEditableText);
51    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertValueEquals(androidx.compose.ui.test.SemanticsNodeInteraction, String value);
52  }
53
54  public final class BoundsAssertionsKt {
55    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHeightIsAtLeast(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedMinHeight);
56    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHeightIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedHeight);
57    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertLeftPositionInRootIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedLeft);
58    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertPositionInRootIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedLeft, float expectedTop);
59    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTopPositionInRootIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedTop);
60    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertWidthIsAtLeast(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedMinWidth);
61    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertWidthIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedWidth);
62    method public static float getAlignmentLinePosition(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.layout.AlignmentLine alignmentLine);
63    method public static androidx.compose.ui.unit.DpRect getUnclippedBoundsInRoot(androidx.compose.ui.test.SemanticsNodeInteraction);
64  }
65
66  public final class ComposeTimeoutException extends java.lang.Throwable {
67    ctor public ComposeTimeoutException(String? message);
68  }
69
70  public final class ErrorMessagesKt {
71  }
72
73  @kotlin.RequiresOptIn(message="This testing API is experimental and is likely to be changed or removed entirely") public @interface ExperimentalTestApi {
74  }
75
76  public final class FiltersKt {
77    method public static androidx.compose.ui.test.SemanticsMatcher hasAnyAncestor(androidx.compose.ui.test.SemanticsMatcher matcher);
78    method public static androidx.compose.ui.test.SemanticsMatcher hasAnyChild(androidx.compose.ui.test.SemanticsMatcher matcher);
79    method public static androidx.compose.ui.test.SemanticsMatcher hasAnyDescendant(androidx.compose.ui.test.SemanticsMatcher matcher);
80    method public static androidx.compose.ui.test.SemanticsMatcher hasAnySibling(androidx.compose.ui.test.SemanticsMatcher matcher);
81    method public static androidx.compose.ui.test.SemanticsMatcher hasClickAction();
82    method public static androidx.compose.ui.test.SemanticsMatcher hasContentDescription(String value, optional boolean substring, optional boolean ignoreCase);
83    method public static androidx.compose.ui.test.SemanticsMatcher hasContentDescriptionExactly(java.lang.String... values);
84    method public static androidx.compose.ui.test.SemanticsMatcher hasImeAction(int actionType);
85    method public static androidx.compose.ui.test.SemanticsMatcher hasNoClickAction();
86    method public static androidx.compose.ui.test.SemanticsMatcher hasNoScrollAction();
87    method public static androidx.compose.ui.test.SemanticsMatcher hasParent(androidx.compose.ui.test.SemanticsMatcher matcher);
88    method public static androidx.compose.ui.test.SemanticsMatcher hasProgressBarRangeInfo(androidx.compose.ui.semantics.ProgressBarRangeInfo rangeInfo);
89    method public static androidx.compose.ui.test.SemanticsMatcher hasScrollAction();
90    method @androidx.compose.ui.test.ExperimentalTestApi public static androidx.compose.ui.test.SemanticsMatcher hasScrollToIndexAction();
91    method @androidx.compose.ui.test.ExperimentalTestApi public static androidx.compose.ui.test.SemanticsMatcher hasScrollToKeyAction();
92    method public static androidx.compose.ui.test.SemanticsMatcher hasSetTextAction();
93    method public static androidx.compose.ui.test.SemanticsMatcher hasStateDescription(String value);
94    method public static androidx.compose.ui.test.SemanticsMatcher hasTestTag(String testTag);
95    method public static androidx.compose.ui.test.SemanticsMatcher hasText(String text, optional boolean substring, optional boolean ignoreCase);
96    method public static androidx.compose.ui.test.SemanticsMatcher hasTextExactly(String![] textValues, optional boolean includeEditableText);
97    method public static androidx.compose.ui.test.SemanticsMatcher isDialog();
98    method public static androidx.compose.ui.test.SemanticsMatcher isEnabled();
99    method public static androidx.compose.ui.test.SemanticsMatcher isFocusable();
100    method public static androidx.compose.ui.test.SemanticsMatcher isFocused();
101    method public static androidx.compose.ui.test.SemanticsMatcher isHeading();
102    method public static androidx.compose.ui.test.SemanticsMatcher isNotEnabled();
103    method public static androidx.compose.ui.test.SemanticsMatcher isNotFocusable();
104    method public static androidx.compose.ui.test.SemanticsMatcher isNotFocused();
105    method public static androidx.compose.ui.test.SemanticsMatcher isNotSelected();
106    method public static androidx.compose.ui.test.SemanticsMatcher isOff();
107    method public static androidx.compose.ui.test.SemanticsMatcher isOn();
108    method public static androidx.compose.ui.test.SemanticsMatcher isPopup();
109    method public static androidx.compose.ui.test.SemanticsMatcher isRoot();
110    method public static androidx.compose.ui.test.SemanticsMatcher isSelectable();
111    method public static androidx.compose.ui.test.SemanticsMatcher isSelected();
112    method public static androidx.compose.ui.test.SemanticsMatcher isToggleable();
113  }
114
115  public final class FindersKt {
116    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);
117    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodesWithTag(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String testTag, optional boolean useUnmergedTree);
118    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);
119    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);
120    method public static androidx.compose.ui.test.SemanticsNodeInteraction onNodeWithTag(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String testTag, optional boolean useUnmergedTree);
121    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);
122    method public static androidx.compose.ui.test.SemanticsNodeInteraction onRoot(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, optional boolean useUnmergedTree);
123  }
124
125  public final class GestureScope {
126    ctor public GestureScope(androidx.compose.ui.semantics.SemanticsNode node, androidx.compose.ui.test.TestContext testContext);
127    method public long getVisibleSize();
128    property public final long visibleSize;
129  }
130
131  public final class GestureScopeKt {
132    method public static void cancel(androidx.compose.ui.test.GestureScope);
133    method public static void click(androidx.compose.ui.test.GestureScope, optional long position);
134    method public static void doubleClick(androidx.compose.ui.test.GestureScope, optional long position, optional long delayMillis);
135    method public static void down(androidx.compose.ui.test.GestureScope, int pointerId, long position);
136    method public static void down(androidx.compose.ui.test.GestureScope, long position);
137    method public static inline float getBottom(androidx.compose.ui.test.GestureScope);
138    method public static long getBottomCenter(androidx.compose.ui.test.GestureScope);
139    method public static long getBottomLeft(androidx.compose.ui.test.GestureScope);
140    method public static long getBottomRight(androidx.compose.ui.test.GestureScope);
141    method public static long getCenter(androidx.compose.ui.test.GestureScope);
142    method public static long getCenterLeft(androidx.compose.ui.test.GestureScope);
143    method public static long getCenterRight(androidx.compose.ui.test.GestureScope);
144    method public static inline float getCenterX(androidx.compose.ui.test.GestureScope);
145    method public static inline float getCenterY(androidx.compose.ui.test.GestureScope);
146    method public static inline int getHeight(androidx.compose.ui.test.GestureScope);
147    method public static inline float getLeft(androidx.compose.ui.test.GestureScope);
148    method public static inline float getRight(androidx.compose.ui.test.GestureScope);
149    method public static inline float getTop(androidx.compose.ui.test.GestureScope);
150    method public static long getTopCenter(androidx.compose.ui.test.GestureScope);
151    method public static long getTopLeft(androidx.compose.ui.test.GestureScope);
152    method public static long getTopRight(androidx.compose.ui.test.GestureScope);
153    method public static inline int getWidth(androidx.compose.ui.test.GestureScope);
154    method public static void longClick(androidx.compose.ui.test.GestureScope, optional long position, optional long durationMillis);
155    method public static void move(androidx.compose.ui.test.GestureScope);
156    method public static void moveBy(androidx.compose.ui.test.GestureScope, int pointerId, long delta);
157    method public static void moveBy(androidx.compose.ui.test.GestureScope, long delta);
158    method public static void movePointerBy(androidx.compose.ui.test.GestureScope, int pointerId, long delta);
159    method public static void movePointerTo(androidx.compose.ui.test.GestureScope, int pointerId, long position);
160    method public static void moveTo(androidx.compose.ui.test.GestureScope, int pointerId, long position);
161    method public static void moveTo(androidx.compose.ui.test.GestureScope, long position);
162    method public static long percentOffset(androidx.compose.ui.test.GestureScope, optional float x, optional float y);
163    method public static void pinch(androidx.compose.ui.test.GestureScope, long start0, long end0, long start1, long end1, optional long durationMillis);
164    method public static void swipe(androidx.compose.ui.test.GestureScope, long start, long end, optional long durationMillis);
165    method public static void swipeDown(androidx.compose.ui.test.GestureScope);
166    method @androidx.compose.ui.test.ExperimentalTestApi public static void swipeDown(androidx.compose.ui.test.GestureScope, optional float startY, optional float endY, optional long durationMillis);
167    method public static void swipeLeft(androidx.compose.ui.test.GestureScope);
168    method @androidx.compose.ui.test.ExperimentalTestApi public static void swipeLeft(androidx.compose.ui.test.GestureScope, optional float startX, optional float endX, optional long durationMillis);
169    method public static void swipeRight(androidx.compose.ui.test.GestureScope);
170    method @androidx.compose.ui.test.ExperimentalTestApi public static void swipeRight(androidx.compose.ui.test.GestureScope, optional float startX, optional float endX, optional long durationMillis);
171    method public static void swipeUp(androidx.compose.ui.test.GestureScope);
172    method @androidx.compose.ui.test.ExperimentalTestApi public static void swipeUp(androidx.compose.ui.test.GestureScope, optional float startY, optional float endY, optional long durationMillis);
173    method public static void swipeWithVelocity(androidx.compose.ui.test.GestureScope, long start, long end, float endVelocity, optional long durationMillis);
174    method public static void up(androidx.compose.ui.test.GestureScope, optional int pointerId);
175  }
176
177  public interface IdlingResource {
178    method public default String? getDiagnosticMessageIfBusy();
179    method public boolean isIdleNow();
180    property public abstract boolean isIdleNow;
181  }
182
183  @kotlin.RequiresOptIn(message="This is internal API for Compose modules that may change frequently and without warning.") public @interface InternalTestApi {
184  }
185
186  public final class KeyInputHelpersKt {
187    method public static boolean performKeyPress(androidx.compose.ui.test.SemanticsNodeInteraction, android.view.KeyEvent keyEvent);
188  }
189
190  public interface MainTestClock {
191    method public void advanceTimeBy(long milliseconds, optional boolean ignoreFrameDuration);
192    method public void advanceTimeByFrame();
193    method public void advanceTimeUntil(optional long timeoutMillis, kotlin.jvm.functions.Function0<java.lang.Boolean> condition);
194    method public boolean getAutoAdvance();
195    method public long getCurrentTime();
196    method public void setAutoAdvance(boolean autoAdvance);
197    property public abstract boolean autoAdvance;
198    property public abstract long currentTime;
199  }
200
201  public final class OutputKt {
202    method public static void printToLog(androidx.compose.ui.test.SemanticsNodeInteraction, String tag, optional int maxDepth);
203    method public static void printToLog(androidx.compose.ui.test.SemanticsNodeInteractionCollection, String tag, optional int maxDepth);
204    method public static String printToString(androidx.compose.ui.test.SemanticsNodeInteraction, optional int maxDepth);
205    method public static String printToString(androidx.compose.ui.test.SemanticsNodeInteractionCollection, optional int maxDepth);
206  }
207
208  public final class SelectionResult {
209    ctor public SelectionResult(java.util.List<androidx.compose.ui.semantics.SemanticsNode> selectedNodes, optional String? customErrorOnNoMatch);
210    method public String? getCustomErrorOnNoMatch();
211    method public java.util.List<androidx.compose.ui.semantics.SemanticsNode> getSelectedNodes();
212    property public final String? customErrorOnNoMatch;
213    property public final java.util.List<androidx.compose.ui.semantics.SemanticsNode> selectedNodes;
214  }
215
216  public final class SelectorsKt {
217    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection filter(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
218    method public static androidx.compose.ui.test.SemanticsNodeInteraction filterToOne(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
219    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAncestors(androidx.compose.ui.test.SemanticsNodeInteraction);
220    method public static androidx.compose.ui.test.SemanticsNodeInteraction onChild(androidx.compose.ui.test.SemanticsNodeInteraction);
221    method public static androidx.compose.ui.test.SemanticsNodeInteraction onChildAt(androidx.compose.ui.test.SemanticsNodeInteraction, int index);
222    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onChildren(androidx.compose.ui.test.SemanticsNodeInteraction);
223    method public static androidx.compose.ui.test.SemanticsNodeInteraction onFirst(androidx.compose.ui.test.SemanticsNodeInteractionCollection);
224    method public static androidx.compose.ui.test.SemanticsNodeInteraction onLast(androidx.compose.ui.test.SemanticsNodeInteractionCollection);
225    method public static androidx.compose.ui.test.SemanticsNodeInteraction onParent(androidx.compose.ui.test.SemanticsNodeInteraction);
226    method public static androidx.compose.ui.test.SemanticsNodeInteraction onSibling(androidx.compose.ui.test.SemanticsNodeInteraction);
227    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onSiblings(androidx.compose.ui.test.SemanticsNodeInteraction);
228  }
229
230  public final class SemanticsMatcher {
231    ctor public SemanticsMatcher(String description, kotlin.jvm.functions.Function1<? super androidx.compose.ui.semantics.SemanticsNode,java.lang.Boolean> matcher);
232    method public infix androidx.compose.ui.test.SemanticsMatcher and(androidx.compose.ui.test.SemanticsMatcher other);
233    method public String getDescription();
234    method public boolean matches(androidx.compose.ui.semantics.SemanticsNode node);
235    method public boolean matchesAny(Iterable<androidx.compose.ui.semantics.SemanticsNode> nodes);
236    method public operator androidx.compose.ui.test.SemanticsMatcher not();
237    method public infix androidx.compose.ui.test.SemanticsMatcher or(androidx.compose.ui.test.SemanticsMatcher other);
238    property public final String description;
239    field public static final androidx.compose.ui.test.SemanticsMatcher.Companion Companion;
240  }
241
242  public static final class SemanticsMatcher.Companion {
243    method public <T> androidx.compose.ui.test.SemanticsMatcher expectValue(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key, T? expectedValue);
244    method public <T> androidx.compose.ui.test.SemanticsMatcher keyIsDefined(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key);
245    method public <T> androidx.compose.ui.test.SemanticsMatcher keyNotDefined(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key);
246  }
247
248  public final class SemanticsNodeInteraction {
249    ctor public SemanticsNodeInteraction(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsMatcher matcher);
250    ctor public SemanticsNodeInteraction(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsSelector selector);
251    method public void assertDoesNotExist();
252    method public androidx.compose.ui.test.SemanticsNodeInteraction assertExists(optional String? errorMessageOnFail);
253    method public androidx.compose.ui.semantics.SemanticsNode fetchSemanticsNode(optional String? errorMessageOnFail);
254  }
255
256  public final class SemanticsNodeInteractionCollection {
257    ctor public SemanticsNodeInteractionCollection(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsMatcher matcher);
258    ctor public SemanticsNodeInteractionCollection(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsSelector selector);
259    method public java.util.List<androidx.compose.ui.semantics.SemanticsNode> fetchSemanticsNodes(optional boolean atLeastOneRootRequired, optional String? errorMessageOnFail);
260    method public operator androidx.compose.ui.test.SemanticsNodeInteraction get(int index);
261  }
262
263  public interface SemanticsNodeInteractionsProvider {
264    method public androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodes(androidx.compose.ui.test.SemanticsMatcher matcher, optional boolean useUnmergedTree);
265    method public androidx.compose.ui.test.SemanticsNodeInteraction onNode(androidx.compose.ui.test.SemanticsMatcher matcher, optional boolean useUnmergedTree);
266  }
267
268  public final class SemanticsSelector {
269    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);
270    method public String getDescription();
271    method public androidx.compose.ui.test.SelectionResult map(Iterable<androidx.compose.ui.semantics.SemanticsNode> nodes, String errorOnFail);
272    property public final String description;
273  }
274
275  public final class SemanticsSelectorKt {
276  }
277
278  public final class TestContext {
279  }
280
281  @kotlinx.coroutines.ExperimentalCoroutinesApi public final class TestMonotonicFrameClock implements androidx.compose.runtime.MonotonicFrameClock {
282    ctor public TestMonotonicFrameClock(kotlinx.coroutines.CoroutineScope coroutineScope, kotlinx.coroutines.test.DelayController delayController, optional long frameDelayNanos);
283    method public long getFrameDelayNanos();
284    method public boolean getHasAwaiters();
285    method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p);
286    property public final long frameDelayNanos;
287    property public final boolean hasAwaiters;
288  }
289
290  public final class TestMonotonicFrameClock_jvmKt {
291    method @kotlinx.coroutines.ExperimentalCoroutinesApi public static androidx.compose.ui.test.TestMonotonicFrameClock TestMonotonicFrameClock(kotlinx.coroutines.CoroutineScope coroutineScope, optional long frameDelayNanos);
292    method @kotlinx.coroutines.ExperimentalCoroutinesApi public static long getFrameDelayMillis(androidx.compose.ui.test.TestMonotonicFrameClock);
293  }
294
295  @androidx.compose.ui.test.InternalTestApi public interface TestOwner {
296    method public androidx.compose.ui.test.MainTestClock getMainClock();
297    method public java.util.Set<androidx.compose.ui.node.RootForTest> getRoots(boolean atLeastOneRootExpected);
298    method public <T> T! runOnUiThread(kotlin.jvm.functions.Function0<? extends T> action);
299    method public void sendImeAction(androidx.compose.ui.semantics.SemanticsNode node, int actionSpecified);
300    method public void sendTextInputCommand(androidx.compose.ui.semantics.SemanticsNode node, java.util.List<? extends androidx.compose.ui.text.input.EditCommand> command);
301    property public abstract androidx.compose.ui.test.MainTestClock mainClock;
302  }
303
304  public final class TestOwnerKt {
305    method @androidx.compose.ui.test.InternalTestApi public static androidx.compose.ui.test.TestContext createTestContext(androidx.compose.ui.test.TestOwner owner);
306  }
307
308  public final class TextActionsKt {
309    method public static void performImeAction(androidx.compose.ui.test.SemanticsNodeInteraction);
310    method public static void performTextClearance(androidx.compose.ui.test.SemanticsNodeInteraction);
311    method public static void performTextInput(androidx.compose.ui.test.SemanticsNodeInteraction, String text);
312    method @androidx.compose.ui.test.ExperimentalTestApi public static void performTextInputSelection(androidx.compose.ui.test.SemanticsNodeInteraction, long selection);
313    method public static void performTextReplacement(androidx.compose.ui.test.SemanticsNodeInteraction, String text);
314  }
315
316  public final class UtilsKt {
317  }
318
319}
320
321package androidx.compose.ui.test.android {
322
323  public final class WindowCapture_androidKt {
324  }
325
326}
327
328