[go: nahoru, domu]

blob: 051fd35c1d44214bdb5ac31d187b3a31efabbb6e [file] [log] [blame]
// Signature format: 4.0
package androidx.compose.ui.test {
public final class ActionsKt {
method public static androidx.compose.ui.test.SemanticsNodeInteraction performClick(androidx.compose.ui.test.SemanticsNodeInteraction);
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);
method public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollTo(androidx.compose.ui.test.SemanticsNodeInteraction);
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);
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);
}
public final class AndroidAssertionsKt {
}
public final class AndroidBitmapHelpersKt {
method @Deprecated public static android.graphics.Bitmap assertContainsColor-VZNGtkI(android.graphics.Bitmap, long expectedColor);
method @Deprecated public static void assertPixelColor-eWrXCG0(android.graphics.Bitmap, long expected, int x, int y, optional kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.Color,java.lang.String> error);
method @Deprecated public static void assertPixels-mvPU1zk(android.graphics.Bitmap, optional androidx.compose.ui.unit.IntSize? expectedSize, kotlin.jvm.functions.Function1<? super androidx.compose.ui.unit.IntOffset,androidx.compose.ui.graphics.Color> expectedColorProvider);
method @Deprecated public static void assertShape-LBqplUo(android.graphics.Bitmap, androidx.compose.ui.unit.Density density, androidx.compose.ui.graphics.Shape shape, long shapeColor, long backgroundColor, optional androidx.compose.ui.graphics.Shape backgroundShape, optional float sizeX, optional float sizeY, optional float shapeSizeX, optional float shapeSizeY, optional float centerX, optional float centerY, optional float shapeOverlapPixelCount);
method @Deprecated public static void assertShape-WOPiG5A(android.graphics.Bitmap, androidx.compose.ui.unit.Density density, float horizontalPadding, float verticalPadding, long backgroundColor, long shapeColor, optional androidx.compose.ui.graphics.Shape shape, optional float shapeOverlapPixelCount);
method @Deprecated @RequiresApi(android.os.Build.VERSION_CODES.O) public static android.graphics.Bitmap captureToBitmap(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated @RequiresApi(android.os.Build.VERSION_CODES.O) public static android.graphics.Bitmap captureToBitmap(android.view.View);
method @RequiresApi(android.os.Build.VERSION_CODES.O) public static androidx.compose.ui.graphics.ImageBitmap captureToImage(androidx.compose.ui.test.SemanticsNodeInteraction);
method @RequiresApi(android.os.Build.VERSION_CODES.O) public static androidx.compose.ui.graphics.ImageBitmap captureToImage(android.view.View);
method @Deprecated public static boolean contains-ej0GBII(androidx.compose.ui.graphics.Path, long offset);
}
public final class AndroidInputDispatcherKt {
}
public final class AndroidOutputKt {
}
public final class AnimationClocksKt {
method @androidx.compose.ui.test.ExperimentalTesting public static androidx.compose.animation.core.MonotonicFrameAnimationClock monotonicFrameAnimationClockOf(kotlin.coroutines.CoroutineContext coroutineContext, androidx.compose.runtime.dispatch.MonotonicFrameClock clock);
method @androidx.compose.ui.test.ExperimentalTesting public static androidx.compose.animation.core.MonotonicFrameAnimationClock monotonicFrameAnimationClockOf(kotlin.coroutines.CoroutineContext coroutineContext);
}
public final class AssertionsKt {
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);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertAll(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertAny(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertCountEquals(androidx.compose.ui.test.SemanticsNodeInteractionCollection, int expectedSize);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHasClickAction(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHasNoClickAction(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsDisplayed(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsEnabled(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsFocused(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsHidden(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsInMutuallyExclusiveGroup(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotDisplayed(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotEnabled(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotFocused(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotHidden(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotSelected(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsOff(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsOn(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsSelectable(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsSelected(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsToggleable(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertLabelEquals(androidx.compose.ui.test.SemanticsNodeInteraction, String value);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertRangeInfoEquals(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.semantics.AccessibilityRangeInfo value);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTextEquals(androidx.compose.ui.test.SemanticsNodeInteraction, String value);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertValueEquals(androidx.compose.ui.test.SemanticsNodeInteraction, String value);
}
public final class BoundsAssertionsKt {
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHeightIsAtLeast-3AN6ZEs(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedMinHeight);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHeightIsEqualTo-3AN6ZEs(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedHeight);
method public static void assertIsEqualTo-nR2IGDg(float, float expected, optional String subject, optional float tolerance);
method public static void assertIsNotEqualTo-nR2IGDg(float, float unexpected, optional String subject, optional float tolerance);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertLeftPositionInRootIsEqualTo-3AN6ZEs(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedLeft);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertPositionInRootIsEqualTo-aELHoiQ(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedLeft, float expectedTop);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTopPositionInRootIsEqualTo-3AN6ZEs(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedTop);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertWidthIsAtLeast-3AN6ZEs(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedMinWidth);
method public static androidx.compose.ui.test.SemanticsNodeInteraction assertWidthIsEqualTo-3AN6ZEs(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedWidth);
method public static float getAlignmentLinePosition(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.layout.AlignmentLine line);
method public static androidx.compose.ui.unit.Bounds getUnclippedBoundsInRoot(androidx.compose.ui.test.SemanticsNodeInteraction);
}
public final class CoroutineBuildersKt {
method @androidx.compose.ui.test.ExperimentalTesting public static <R> void runBlockingWithManualClock(optional boolean compatibleWithManualAnimationClock, kotlin.jvm.functions.Function3<? super kotlinx.coroutines.CoroutineScope,? super androidx.compose.animation.core.ManualFrameClock,? super kotlin.coroutines.Continuation<? super R>,?> block);
}
public final class ErrorMessagesKt {
}
@kotlin.RequiresOptIn(message="This testing API is experimental and is likely to be changed or removed entirely") public @interface ExperimentalTesting {
}
public final class FiltersKt {
method public static androidx.compose.ui.test.SemanticsMatcher hasAnyAncestor(androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsMatcher hasAnyChild(androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsMatcher hasAnyDescendant(androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsMatcher hasAnySibling(androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsMatcher hasClickAction();
method public static androidx.compose.ui.test.SemanticsMatcher hasImeAction(androidx.compose.ui.text.input.ImeAction actionType);
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasInputMethodsSupport();
method public static androidx.compose.ui.test.SemanticsMatcher hasLabel(String label, optional boolean ignoreCase);
method public static androidx.compose.ui.test.SemanticsMatcher hasNoClickAction();
method public static androidx.compose.ui.test.SemanticsMatcher hasNoScrollAction();
method public static androidx.compose.ui.test.SemanticsMatcher hasParent(androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsMatcher hasRangeInfo(androidx.compose.ui.semantics.AccessibilityRangeInfo rangeInfo);
method public static androidx.compose.ui.test.SemanticsMatcher hasScrollAction();
method public static androidx.compose.ui.test.SemanticsMatcher hasSetTextAction();
method public static androidx.compose.ui.test.SemanticsMatcher hasSubstring(String substring, optional boolean ignoreCase);
method public static androidx.compose.ui.test.SemanticsMatcher hasTestTag(String testTag);
method public static androidx.compose.ui.test.SemanticsMatcher hasText(String text, optional boolean ignoreCase);
method public static androidx.compose.ui.test.SemanticsMatcher hasValue(String value);
method public static androidx.compose.ui.test.SemanticsMatcher isDialog();
method public static androidx.compose.ui.test.SemanticsMatcher isEnabled();
method public static androidx.compose.ui.test.SemanticsMatcher isFocusable();
method public static androidx.compose.ui.test.SemanticsMatcher isFocused();
method public static androidx.compose.ui.test.SemanticsMatcher isHidden();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isInMutuallyExclusiveGroup();
method public static androidx.compose.ui.test.SemanticsMatcher isNotEnabled();
method public static androidx.compose.ui.test.SemanticsMatcher isNotFocusable();
method public static androidx.compose.ui.test.SemanticsMatcher isNotFocused();
method public static androidx.compose.ui.test.SemanticsMatcher isNotHidden();
method public static androidx.compose.ui.test.SemanticsMatcher isNotSelected();
method public static androidx.compose.ui.test.SemanticsMatcher isOff();
method public static androidx.compose.ui.test.SemanticsMatcher isOn();
method public static androidx.compose.ui.test.SemanticsMatcher isPopup();
method public static androidx.compose.ui.test.SemanticsMatcher isRoot();
method public static androidx.compose.ui.test.SemanticsMatcher isSelectable();
method public static androidx.compose.ui.test.SemanticsMatcher isSelected();
method public static androidx.compose.ui.test.SemanticsMatcher isToggleable();
}
public final class FindersKt {
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodesWithLabel(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String label, optional boolean ignoreCase, optional boolean useUnmergedTree);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodesWithSubstring(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String text, optional boolean ignoreCase, optional boolean useUnmergedTree);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodesWithTag(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String testTag, optional boolean useUnmergedTree);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodesWithText(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String text, optional boolean ignoreCase, optional boolean useUnmergedTree);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onNodeWithLabel(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String label, optional boolean ignoreCase, optional boolean useUnmergedTree);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onNodeWithSubstring(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String text, optional boolean ignoreCase, optional boolean useUnmergedTree);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onNodeWithTag(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String testTag, optional boolean useUnmergedTree);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onNodeWithText(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String text, optional boolean ignoreCase, optional boolean useUnmergedTree);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onRoot(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, optional boolean useUnmergedTree);
}
public final class GestureScope {
ctor public GestureScope(androidx.compose.ui.semantics.SemanticsNode node, androidx.compose.ui.test.TestContext testContext);
method public long getVisibleSize-YbymL2g();
property public final long visibleSize;
}
public final class GestureScopeKt {
method public static void cancel(androidx.compose.ui.test.GestureScope);
method public static void click-ssxj34k(androidx.compose.ui.test.GestureScope, optional long position);
method public static void doubleClick-TASV4bY(androidx.compose.ui.test.GestureScope, optional long position, optional long delay);
method public static void down-NAWZHwc(androidx.compose.ui.test.GestureScope, int pointerId, long position);
method public static void down-ssxj34k(androidx.compose.ui.test.GestureScope, long position);
method public static inline float getBottom(androidx.compose.ui.test.GestureScope);
method public static long getBottomCenter(androidx.compose.ui.test.GestureScope);
method public static long getBottomLeft(androidx.compose.ui.test.GestureScope);
method public static long getBottomRight(androidx.compose.ui.test.GestureScope);
method public static long getCenter(androidx.compose.ui.test.GestureScope);
method public static long getCenterLeft(androidx.compose.ui.test.GestureScope);
method public static long getCenterRight(androidx.compose.ui.test.GestureScope);
method public static inline float getCenterX(androidx.compose.ui.test.GestureScope);
method public static inline float getCenterY(androidx.compose.ui.test.GestureScope);
method public static inline int getHeight(androidx.compose.ui.test.GestureScope);
method public static inline float getLeft(androidx.compose.ui.test.GestureScope);
method public static inline float getRight(androidx.compose.ui.test.GestureScope);
method public static inline float getTop(androidx.compose.ui.test.GestureScope);
method public static long getTopCenter(androidx.compose.ui.test.GestureScope);
method public static long getTopLeft(androidx.compose.ui.test.GestureScope);
method public static long getTopRight(androidx.compose.ui.test.GestureScope);
method public static inline int getWidth(androidx.compose.ui.test.GestureScope);
method public static void longClick-TASV4bY(androidx.compose.ui.test.GestureScope, optional long position, optional long duration);
method public static void move(androidx.compose.ui.test.GestureScope);
method public static void moveBy-NAWZHwc(androidx.compose.ui.test.GestureScope, int pointerId, long delta);
method public static void moveBy-ssxj34k(androidx.compose.ui.test.GestureScope, long delta);
method public static void movePointerBy-NAWZHwc(androidx.compose.ui.test.GestureScope, int pointerId, long delta);
method public static void movePointerTo-NAWZHwc(androidx.compose.ui.test.GestureScope, int pointerId, long position);
method public static void moveTo-NAWZHwc(androidx.compose.ui.test.GestureScope, int pointerId, long position);
method public static void moveTo-ssxj34k(androidx.compose.ui.test.GestureScope, long position);
method public static long percentOffset(androidx.compose.ui.test.GestureScope, optional @FloatRange(from=-1.0, to=1.0) float x, optional @FloatRange(from=-1.0, to=1.0) float y);
method public static void pinch-cILxG1Y(androidx.compose.ui.test.GestureScope, long start0, long end0, long start1, long end1, optional long duration);
method public static void swipe-4SDgcys(androidx.compose.ui.test.GestureScope, long start, long end, optional long duration);
method public static void swipeDown(androidx.compose.ui.test.GestureScope);
method public static void swipeLeft(androidx.compose.ui.test.GestureScope);
method public static void swipeRight(androidx.compose.ui.test.GestureScope);
method public static void swipeUp(androidx.compose.ui.test.GestureScope);
method public static void swipeWithVelocity-f-x_cs4(androidx.compose.ui.test.GestureScope, long start, long end, @FloatRange(from=0.0, to=3.4E38) float endVelocity, optional long duration);
method public static void up(androidx.compose.ui.test.GestureScope, optional int pointerId);
}
@kotlin.RequiresOptIn(message="This is internal API for Compose modules that may change frequently and without warning.") public @interface InternalTestingApi {
}
public final class KeyInputHelpersKt {
method public static boolean performKeyPress(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.input.key.KeyEvent keyEvent);
}
public final class OutputKt {
method public static void printToLog(androidx.compose.ui.test.SemanticsNodeInteraction, String tag, optional @IntRange(from=0) int maxDepth);
method public static void printToLog(androidx.compose.ui.test.SemanticsNodeInteractionCollection, String tag, optional @IntRange(from=0) int maxDepth);
method public static String printToString(androidx.compose.ui.test.SemanticsNodeInteraction, optional @IntRange(from=0) int maxDepth);
method public static String printToString(androidx.compose.ui.test.SemanticsNodeInteractionCollection, optional @IntRange(from=0) int maxDepth);
}
public final class SelectionResult {
ctor public SelectionResult(java.util.List<androidx.compose.ui.semantics.SemanticsNode> selectedNodes, String? customErrorOnNoMatch);
method public String? getCustomErrorOnNoMatch();
method public java.util.List<androidx.compose.ui.semantics.SemanticsNode> getSelectedNodes();
property public final String? customErrorOnNoMatch;
property public final java.util.List<androidx.compose.ui.semantics.SemanticsNode> selectedNodes;
}
public final class SelectorsKt {
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection filter(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsNodeInteraction filterToOne(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAncestors(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onChild(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onChildAt(androidx.compose.ui.test.SemanticsNodeInteraction, int index);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onChildren(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onFirst(androidx.compose.ui.test.SemanticsNodeInteractionCollection);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onLast(androidx.compose.ui.test.SemanticsNodeInteractionCollection);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onParent(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteraction onSibling(androidx.compose.ui.test.SemanticsNodeInteraction);
method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onSiblings(androidx.compose.ui.test.SemanticsNodeInteraction);
}
public final class SemanticsMatcher {
ctor public SemanticsMatcher(String description, kotlin.jvm.functions.Function1<? super androidx.compose.ui.semantics.SemanticsNode,java.lang.Boolean> matcher);
method public infix androidx.compose.ui.test.SemanticsMatcher and(androidx.compose.ui.test.SemanticsMatcher other);
method public String getDescription();
method public boolean matches(androidx.compose.ui.semantics.SemanticsNode node);
method public boolean matchesAny(Iterable<androidx.compose.ui.semantics.SemanticsNode> nodes);
method public operator androidx.compose.ui.test.SemanticsMatcher not();
method public infix androidx.compose.ui.test.SemanticsMatcher or(androidx.compose.ui.test.SemanticsMatcher other);
property public final String description;
field public static final androidx.compose.ui.test.SemanticsMatcher.Companion Companion;
}
public static final class SemanticsMatcher.Companion {
method public <T> androidx.compose.ui.test.SemanticsMatcher expectValue(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key, T? expectedValue);
method public <T> androidx.compose.ui.test.SemanticsMatcher keyIsDefined(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key);
method public <T> androidx.compose.ui.test.SemanticsMatcher keyNotDefined(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key);
}
public final class SemanticsNodeInteraction {
ctor public SemanticsNodeInteraction(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsMatcher matcher);
method public void assertDoesNotExist();
method public androidx.compose.ui.test.SemanticsNodeInteraction assertExists(optional String? errorMessageOnFail);
method public androidx.compose.ui.semantics.SemanticsNode fetchSemanticsNode(optional String? errorMessageOnFail);
}
public final class SemanticsNodeInteractionCollection {
ctor public SemanticsNodeInteractionCollection(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsMatcher matcher);
method public java.util.List<androidx.compose.ui.semantics.SemanticsNode> fetchSemanticsNodes(optional String? errorMessageOnFail);
method public operator androidx.compose.ui.test.SemanticsNodeInteraction get(int index);
}
public final class SemanticsNodeInteractionKt {
}
public interface SemanticsNodeInteractionsProvider {
method public androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodes(androidx.compose.ui.test.SemanticsMatcher matcher, optional boolean useUnmergedTree);
method public androidx.compose.ui.test.SemanticsNodeInteraction onNode(androidx.compose.ui.test.SemanticsMatcher matcher, optional boolean useUnmergedTree);
}
public final class SemanticsSelector {
ctor public SemanticsSelector(String description, boolean requiresExactlyOneNode, 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);
method public String getDescription();
method public androidx.compose.ui.test.SelectionResult map(Iterable<androidx.compose.ui.semantics.SemanticsNode> nodes, String errorOnFail);
property public final String description;
}
public final class SemanticsSelectorKt {
}
@androidx.compose.ui.test.ExperimentalTesting public interface TestAnimationClock extends androidx.compose.animation.core.AnimationClockObservable {
method public void advanceClock(long milliseconds);
method public boolean isIdle();
method public boolean isPaused();
method public void pauseClock();
method public void resumeClock();
property public abstract boolean isIdle;
property public abstract boolean isPaused;
}
public final class TestContext {
}
@kotlinx.coroutines.ExperimentalCoroutinesApi public final class TestMonotonicFrameClock implements androidx.compose.runtime.dispatch.MonotonicFrameClock {
ctor public TestMonotonicFrameClock(kotlinx.coroutines.CoroutineScope coroutineScope, kotlinx.coroutines.test.DelayController delayController, long frameDelayNanos);
method public long getFrameDelayNanos();
method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p);
property public final long frameDelayNanos;
}
public final class TestMonotonicFrameClockKt {
method @kotlinx.coroutines.ExperimentalCoroutinesApi public static androidx.compose.ui.test.TestMonotonicFrameClock TestMonotonicFrameClock(kotlinx.coroutines.CoroutineScope coroutineScope, optional long frameDelayNanos);
method public static long getFrameDelayMillis(androidx.compose.ui.test.TestMonotonicFrameClock);
}
@androidx.compose.ui.test.InternalTestingApi public interface TestOwner {
method public java.util.Set<androidx.compose.ui.node.Owner> getOwners();
method public <T> T! runOnUiThread(kotlin.jvm.functions.Function0<? extends T> action);
method public void sendImeAction(androidx.compose.ui.semantics.SemanticsNode node, androidx.compose.ui.text.input.ImeAction actionSpecified);
method public void sendTextInputCommand(androidx.compose.ui.semantics.SemanticsNode node, java.util.List<? extends androidx.compose.ui.text.input.EditOperation> command);
}
public final class TestOwnerKt {
method @androidx.compose.ui.test.InternalTestingApi public static androidx.compose.ui.test.TestContext createTestContext(androidx.compose.ui.test.TestOwner owner);
}
@androidx.compose.ui.test.ExperimentalTesting public final class TestUiDispatcher {
method public kotlin.coroutines.CoroutineContext getMain();
property public final kotlin.coroutines.CoroutineContext Main;
field public static final androidx.compose.ui.test.TestUiDispatcher INSTANCE;
}
public final class TextActionsKt {
method public static void performImeAction(androidx.compose.ui.test.SemanticsNodeInteraction, optional boolean alreadyHasFocus);
method public static void performTextClearance(androidx.compose.ui.test.SemanticsNodeInteraction, optional boolean alreadyHasFocus);
method public static void performTextInput(androidx.compose.ui.test.SemanticsNodeInteraction, String text, optional boolean alreadyHasFocus);
method public static void performTextReplacement(androidx.compose.ui.test.SemanticsNodeInteraction, String text, optional boolean alreadyHasFocus);
}
public final class UtilsKt {
}
}
package androidx.compose.ui.test.android {
public final class WindowCaptureKt {
}
}
package androidx.ui.test {
public final class ActionsStubsKt {
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction performClick(androidx.compose.ui.test.SemanticsNodeInteraction);
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);
method @Deprecated public static void performImeAction(androidx.compose.ui.test.SemanticsNodeInteraction, optional boolean alreadyHasFocus);
method @Deprecated public static boolean performKeyPress(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.input.key.KeyEvent keyEvent);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollTo(androidx.compose.ui.test.SemanticsNodeInteraction);
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);
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);
method @Deprecated public static void performTextClearance(androidx.compose.ui.test.SemanticsNodeInteraction, optional boolean alreadyHasFocus);
method @Deprecated public static void performTextInput(androidx.compose.ui.test.SemanticsNodeInteraction, String text, optional boolean alreadyHasFocus);
method @Deprecated public static void performTextReplacement(androidx.compose.ui.test.SemanticsNodeInteraction, String text, optional boolean alreadyHasFocus);
}
public final class AssertionsStubsKt {
method @Deprecated 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);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertAll(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertAny(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertCountEquals(androidx.compose.ui.test.SemanticsNodeInteractionCollection, int expectedSize);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertHasClickAction(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertHasNoClickAction(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertHeightIsAtLeast-3AN6ZEs(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedMinHeight);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertHeightIsEqualTo-3AN6ZEs(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedHeight);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsDisplayed(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsEnabled(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsHidden(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsInMutuallyExclusiveGroup(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotDisplayed(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotEnabled(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotHidden(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotSelected(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsOff(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsOn(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsSelectable(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsSelected(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsToggleable(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertLabelEquals(androidx.compose.ui.test.SemanticsNodeInteraction, String value);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertLeftPositionInRootIsEqualTo-3AN6ZEs(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedTop);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertPositionInRootIsEqualTo-aELHoiQ(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedLeft, float expectedTop);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertRangeInfoEquals(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.semantics.AccessibilityRangeInfo value);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertTextEquals(androidx.compose.ui.test.SemanticsNodeInteraction, String value);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertTopPositionInRootIsEqualTo-3AN6ZEs(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedTop);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertValueEquals(androidx.compose.ui.test.SemanticsNodeInteraction, String value);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertWidthIsAtLeast-3AN6ZEs(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedMinWidth);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction assertWidthIsEqualTo-3AN6ZEs(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedWidth);
method @Deprecated public static float getAlignmentLinePosition(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.layout.AlignmentLine line);
method @Deprecated public static androidx.compose.ui.unit.Bounds getUnclippedBoundsInRoot(androidx.compose.ui.test.SemanticsNodeInteraction);
}
public final class CaptureToBitmapStubsKt {
method @Deprecated @RequiresApi(android.os.Build.VERSION_CODES.O) public static android.graphics.Bitmap captureToBitmap(androidx.compose.ui.test.SemanticsNodeInteraction);
}
public final class FindersStubsKt {
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodesWithLabel(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String label, optional boolean ignoreCase, optional boolean useUnmergedTree);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodesWithTag(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String testTag, optional boolean useUnmergedTree);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodesWithText(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String text, optional boolean ignoreCase, optional boolean useUnmergedTree);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction onNodeWithLabel(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String label, optional boolean ignoreCase, optional boolean useUnmergedTree);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction onNodeWithSubstring(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String text, optional boolean ignoreCase, optional boolean useUnmergedTree);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction onNodeWithTag(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String testTag, optional boolean useUnmergedTree);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction onNodeWithText(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String text, optional boolean ignoreCase, optional boolean useUnmergedTree);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction onRoot(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, optional boolean useUnmergedTree);
}
public final class GestureScopeStubsKt {
method @Deprecated public static void cancel(androidx.compose.ui.test.GestureScope);
method @Deprecated public static void click-ssxj34k(androidx.compose.ui.test.GestureScope, optional long position);
method @Deprecated public static void doubleClick-TASV4bY(androidx.compose.ui.test.GestureScope, optional long position, optional long delay);
method @Deprecated public static void down-NAWZHwc(androidx.compose.ui.test.GestureScope, int pointerId, long position);
method @Deprecated public static void down-ssxj34k(androidx.compose.ui.test.GestureScope, long position);
method @Deprecated public static void longClick-TASV4bY(androidx.compose.ui.test.GestureScope, optional long position, optional long duration);
method @Deprecated public static void move(androidx.compose.ui.test.GestureScope);
method @Deprecated public static void moveBy-NAWZHwc(androidx.compose.ui.test.GestureScope, int pointerId, long delta);
method @Deprecated public static void moveBy-ssxj34k(androidx.compose.ui.test.GestureScope, long delta);
method @Deprecated public static void movePointerBy-NAWZHwc(androidx.compose.ui.test.GestureScope, int pointerId, long delta);
method @Deprecated public static void movePointerTo-NAWZHwc(androidx.compose.ui.test.GestureScope, int pointerId, long position);
method @Deprecated public static void moveTo-NAWZHwc(androidx.compose.ui.test.GestureScope, int pointerId, long position);
method @Deprecated public static void moveTo-ssxj34k(androidx.compose.ui.test.GestureScope, long position);
method @Deprecated public static void pinch-cILxG1Y(androidx.compose.ui.test.GestureScope, long start0, long end0, long start1, long end1, optional long duration);
method @Deprecated public static void swipe-4SDgcys(androidx.compose.ui.test.GestureScope, long start, long end, optional long duration);
method @Deprecated public static void swipeDown(androidx.compose.ui.test.GestureScope);
method @Deprecated public static void swipeLeft(androidx.compose.ui.test.GestureScope);
method @Deprecated public static void swipeRight(androidx.compose.ui.test.GestureScope);
method @Deprecated public static void swipeUp(androidx.compose.ui.test.GestureScope);
method @Deprecated public static void swipeWithVelocity-f-x_cs4(androidx.compose.ui.test.GestureScope, long start, long end, @FloatRange(from=0.0, to=3.4E38) float endVelocity, optional long duration);
method @Deprecated public static void up(androidx.compose.ui.test.GestureScope, optional int pointerId);
}
public final class MatchersStubsKt {
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasAnyAncestor(androidx.compose.ui.test.SemanticsMatcher matcher);
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasAnyChild(androidx.compose.ui.test.SemanticsMatcher matcher);
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasAnyDescendant(androidx.compose.ui.test.SemanticsMatcher matcher);
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasAnySibling(androidx.compose.ui.test.SemanticsMatcher matcher);
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasClickAction();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasImeAction(androidx.compose.ui.text.input.ImeAction actionType);
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasInputMethodsSupport();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasLabel(String label, optional boolean ignoreCase);
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasNoClickAction();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasNoScrollAction();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasParent(androidx.compose.ui.test.SemanticsMatcher matcher);
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasRangeInfo(androidx.compose.ui.semantics.AccessibilityRangeInfo rangeInfo);
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasScrollAction();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasSubstring(String substring, optional boolean ignoreCase);
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasTestTag(String testTag);
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasText(String text, optional boolean ignoreCase);
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher hasValue(String value);
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isDialog();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isEnabled();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isFocused();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isHidden();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isInMutuallyExclusiveGroup();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isNotEnabled();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isNotFocused();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isNotHidden();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isNotSelected();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isOff();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isOn();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isPopup();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isRoot();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isSelectable();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isSelected();
method @Deprecated public static androidx.compose.ui.test.SemanticsMatcher isToggleable();
}
public final class SelectorsStubsKt {
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteractionCollection filter(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction filterToOne(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAncestors(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction onChild(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction onChildAt(androidx.compose.ui.test.SemanticsNodeInteraction, int index);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onChildren(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction onFirst(androidx.compose.ui.test.SemanticsNodeInteractionCollection);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction onLast(androidx.compose.ui.test.SemanticsNodeInteractionCollection);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction onParent(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction onSibling(androidx.compose.ui.test.SemanticsNodeInteraction);
method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onSiblings(androidx.compose.ui.test.SemanticsNodeInteraction);
}
public final class SemanticsNodeInteractionStubsKt {
}
}