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