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 public static void swipeLeft(androidx.compose.ui.test.GestureScope); 161 method public static void swipeRight(androidx.compose.ui.test.GestureScope); 162 method public static void swipeUp(androidx.compose.ui.test.GestureScope); 163 method public static void swipeWithVelocity(androidx.compose.ui.test.GestureScope, long start, long end, float endVelocity, optional long durationMillis); 164 method public static void up(androidx.compose.ui.test.GestureScope, optional int pointerId); 165 } 166 167 public interface IdlingResource { 168 method public default String? getDiagnosticMessageIfBusy(); 169 method public boolean isIdleNow(); 170 property public abstract boolean isIdleNow; 171 } 172 173 @kotlin.RequiresOptIn(message="This is internal API for Compose modules that may change frequently and without warning.") public @interface InternalTestApi { 174 } 175 176 public final class KeyInputHelpersKt { 177 method public static boolean performKeyPress(androidx.compose.ui.test.SemanticsNodeInteraction, android.view.KeyEvent keyEvent); 178 } 179 180 public interface MainTestClock { 181 method public void advanceTimeBy(long milliseconds, optional boolean ignoreFrameDuration); 182 method public void advanceTimeByFrame(); 183 method public void advanceTimeUntil(optional long timeoutMillis, kotlin.jvm.functions.Function0<java.lang.Boolean> condition); 184 method public boolean getAutoAdvance(); 185 method public long getCurrentTime(); 186 method public void setAutoAdvance(boolean autoAdvance); 187 property public abstract boolean autoAdvance; 188 property public abstract long currentTime; 189 } 190 191 public final class OutputKt { 192 method public static void printToLog(androidx.compose.ui.test.SemanticsNodeInteraction, String tag, optional int maxDepth); 193 method public static void printToLog(androidx.compose.ui.test.SemanticsNodeInteractionCollection, String tag, optional int maxDepth); 194 method public static String printToString(androidx.compose.ui.test.SemanticsNodeInteraction, optional int maxDepth); 195 method public static String printToString(androidx.compose.ui.test.SemanticsNodeInteractionCollection, optional int maxDepth); 196 } 197 198 public final class SelectionResult { 199 ctor public SelectionResult(java.util.List<androidx.compose.ui.semantics.SemanticsNode> selectedNodes, optional String? customErrorOnNoMatch); 200 method public String? getCustomErrorOnNoMatch(); 201 method public java.util.List<androidx.compose.ui.semantics.SemanticsNode> getSelectedNodes(); 202 property public final String? customErrorOnNoMatch; 203 property public final java.util.List<androidx.compose.ui.semantics.SemanticsNode> selectedNodes; 204 } 205 206 public final class SelectorsKt { 207 method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection filter(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher); 208 method public static androidx.compose.ui.test.SemanticsNodeInteraction filterToOne(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher); 209 method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAncestors(androidx.compose.ui.test.SemanticsNodeInteraction); 210 method public static androidx.compose.ui.test.SemanticsNodeInteraction onChild(androidx.compose.ui.test.SemanticsNodeInteraction); 211 method public static androidx.compose.ui.test.SemanticsNodeInteraction onChildAt(androidx.compose.ui.test.SemanticsNodeInteraction, int index); 212 method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onChildren(androidx.compose.ui.test.SemanticsNodeInteraction); 213 method public static androidx.compose.ui.test.SemanticsNodeInteraction onFirst(androidx.compose.ui.test.SemanticsNodeInteractionCollection); 214 method public static androidx.compose.ui.test.SemanticsNodeInteraction onLast(androidx.compose.ui.test.SemanticsNodeInteractionCollection); 215 method public static androidx.compose.ui.test.SemanticsNodeInteraction onParent(androidx.compose.ui.test.SemanticsNodeInteraction); 216 method public static androidx.compose.ui.test.SemanticsNodeInteraction onSibling(androidx.compose.ui.test.SemanticsNodeInteraction); 217 method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onSiblings(androidx.compose.ui.test.SemanticsNodeInteraction); 218 } 219 220 public final class SemanticsMatcher { 221 ctor public SemanticsMatcher(String description, kotlin.jvm.functions.Function1<? super androidx.compose.ui.semantics.SemanticsNode,java.lang.Boolean> matcher); 222 method public infix androidx.compose.ui.test.SemanticsMatcher and(androidx.compose.ui.test.SemanticsMatcher other); 223 method public String getDescription(); 224 method public boolean matches(androidx.compose.ui.semantics.SemanticsNode node); 225 method public boolean matchesAny(Iterable<androidx.compose.ui.semantics.SemanticsNode> nodes); 226 method public operator androidx.compose.ui.test.SemanticsMatcher not(); 227 method public infix androidx.compose.ui.test.SemanticsMatcher or(androidx.compose.ui.test.SemanticsMatcher other); 228 property public final String description; 229 field public static final androidx.compose.ui.test.SemanticsMatcher.Companion Companion; 230 } 231 232 public static final class SemanticsMatcher.Companion { 233 method public <T> androidx.compose.ui.test.SemanticsMatcher expectValue(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key, T? expectedValue); 234 method public <T> androidx.compose.ui.test.SemanticsMatcher keyIsDefined(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key); 235 method public <T> androidx.compose.ui.test.SemanticsMatcher keyNotDefined(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key); 236 } 237 238 public final class SemanticsNodeInteraction { 239 ctor public SemanticsNodeInteraction(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsMatcher matcher); 240 ctor public SemanticsNodeInteraction(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsSelector selector); 241 method public void assertDoesNotExist(); 242 method public androidx.compose.ui.test.SemanticsNodeInteraction assertExists(optional String? errorMessageOnFail); 243 method public androidx.compose.ui.semantics.SemanticsNode fetchSemanticsNode(optional String? errorMessageOnFail); 244 } 245 246 public final class SemanticsNodeInteractionCollection { 247 ctor public SemanticsNodeInteractionCollection(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsMatcher matcher); 248 ctor public SemanticsNodeInteractionCollection(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsSelector selector); 249 method public java.util.List<androidx.compose.ui.semantics.SemanticsNode> fetchSemanticsNodes(optional boolean atLeastOneRootRequired, optional String? errorMessageOnFail); 250 method public operator androidx.compose.ui.test.SemanticsNodeInteraction get(int index); 251 } 252 253 public interface SemanticsNodeInteractionsProvider { 254 method public androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodes(androidx.compose.ui.test.SemanticsMatcher matcher, optional boolean useUnmergedTree); 255 method public androidx.compose.ui.test.SemanticsNodeInteraction onNode(androidx.compose.ui.test.SemanticsMatcher matcher, optional boolean useUnmergedTree); 256 } 257 258 public final class SemanticsSelector { 259 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); 260 method public String getDescription(); 261 method public androidx.compose.ui.test.SelectionResult map(Iterable<androidx.compose.ui.semantics.SemanticsNode> nodes, String errorOnFail); 262 property public final String description; 263 } 264 265 public final class SemanticsSelectorKt { 266 } 267 268 public final class TestContext { 269 } 270 271 @kotlinx.coroutines.ExperimentalCoroutinesApi public final class TestMonotonicFrameClock implements androidx.compose.runtime.MonotonicFrameClock { 272 ctor public TestMonotonicFrameClock(kotlinx.coroutines.CoroutineScope coroutineScope, kotlinx.coroutines.test.DelayController delayController, optional long frameDelayNanos); 273 method public long getFrameDelayNanos(); 274 method public boolean getHasAwaiters(); 275 method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p); 276 property public final long frameDelayNanos; 277 property public final boolean hasAwaiters; 278 } 279 280 public final class TestMonotonicFrameClock_jvmKt { 281 method @kotlinx.coroutines.ExperimentalCoroutinesApi public static androidx.compose.ui.test.TestMonotonicFrameClock TestMonotonicFrameClock(kotlinx.coroutines.CoroutineScope coroutineScope, optional long frameDelayNanos); 282 method @kotlinx.coroutines.ExperimentalCoroutinesApi public static long getFrameDelayMillis(androidx.compose.ui.test.TestMonotonicFrameClock); 283 } 284 285 @androidx.compose.ui.test.InternalTestApi public interface TestOwner { 286 method public androidx.compose.ui.test.MainTestClock getMainClock(); 287 method public java.util.Set<androidx.compose.ui.node.RootForTest> getRoots(boolean atLeastOneRootExpected); 288 method public <T> T! runOnUiThread(kotlin.jvm.functions.Function0<? extends T> action); 289 method public void sendImeAction(androidx.compose.ui.semantics.SemanticsNode node, androidx.compose.ui.text.input.ImeAction actionSpecified); 290 method public void sendTextInputCommand(androidx.compose.ui.semantics.SemanticsNode node, java.util.List<? extends androidx.compose.ui.text.input.EditCommand> command); 291 property public abstract androidx.compose.ui.test.MainTestClock mainClock; 292 } 293 294 public final class TestOwnerKt { 295 method @androidx.compose.ui.test.InternalTestApi public static androidx.compose.ui.test.TestContext createTestContext(androidx.compose.ui.test.TestOwner owner); 296 } 297 298 public final class TextActionsKt { 299 method public static void performImeAction(androidx.compose.ui.test.SemanticsNodeInteraction); 300 method public static void performTextClearance(androidx.compose.ui.test.SemanticsNodeInteraction); 301 method public static void performTextInput(androidx.compose.ui.test.SemanticsNodeInteraction, String text); 302 method public static void performTextReplacement(androidx.compose.ui.test.SemanticsNodeInteraction, String text); 303 } 304 305 public final class UtilsKt { 306 } 307 308} 309 310package androidx.compose.ui.test.android { 311 312 public final class WindowCapture_androidKt { 313 } 314 315} 316 317