You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update to Compose 1.7 + implement missing APIs for ComposeContext (#354)
* Update to Compose BOM
* Add a unit test that verifies complete coverage of ComposeTestRule API for the JUnit 5 version
* Add missing API methods from JUnit 4's ComposeTestRule to JUnit 5's ComposeContext
* Update instrumentation/compose/src/main/java/de/mannodermaus/junit5/compose/ComposeContext.kt
* Update instrumentation/compose/src/main/java/de/mannodermaus/junit5/compose/ComposeContext.kt
* Update instrumentation/compose/src/test/java/de/mannodermaus/junit5/compose/ComposeContextTests.kt
Copy file name to clipboardExpand all lines: instrumentation/compose/api/compose.api
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,20 @@ public abstract interface class de/mannodermaus/junit5/compose/ComposeContext :
29
29
public abstract fun unregisterIdlingResource (Landroidx/compose/ui/test/IdlingResource;)V
30
30
public abstract fun waitForIdle ()V
31
31
public abstract fun waitUntil (JLkotlin/jvm/functions/Function0;)V
32
+
public abstract fun waitUntil (Ljava/lang/String;JLkotlin/jvm/functions/Function0;)V
33
+
public abstract fun waitUntilAtLeastOneExists (Landroidx/compose/ui/test/SemanticsMatcher;J)V
34
+
public abstract fun waitUntilDoesNotExist (Landroidx/compose/ui/test/SemanticsMatcher;J)V
35
+
public abstract fun waitUntilExactlyOneExists (Landroidx/compose/ui/test/SemanticsMatcher;J)V
36
+
public abstract fun waitUntilNodeCount (Landroidx/compose/ui/test/SemanticsMatcher;IJ)V
37
+
}
38
+
39
+
public final class de/mannodermaus/junit5/compose/ComposeContext$DefaultImpls {
40
+
public static synthetic fun waitUntil$default (Lde/mannodermaus/junit5/compose/ComposeContext;JLkotlin/jvm/functions/Function0;ILjava/lang/Object;)V
41
+
public static synthetic fun waitUntil$default (Lde/mannodermaus/junit5/compose/ComposeContext;Ljava/lang/String;JLkotlin/jvm/functions/Function0;ILjava/lang/Object;)V
42
+
public static synthetic fun waitUntilAtLeastOneExists$default (Lde/mannodermaus/junit5/compose/ComposeContext;Landroidx/compose/ui/test/SemanticsMatcher;JILjava/lang/Object;)V
43
+
public static synthetic fun waitUntilDoesNotExist$default (Lde/mannodermaus/junit5/compose/ComposeContext;Landroidx/compose/ui/test/SemanticsMatcher;JILjava/lang/Object;)V
44
+
public static synthetic fun waitUntilExactlyOneExists$default (Lde/mannodermaus/junit5/compose/ComposeContext;Landroidx/compose/ui/test/SemanticsMatcher;JILjava/lang/Object;)V
45
+
public static synthetic fun waitUntilNodeCount$default (Lde/mannodermaus/junit5/compose/ComposeContext;Landroidx/compose/ui/test/SemanticsMatcher;IJILjava/lang/Object;)V
32
46
}
33
47
34
48
public abstract interface class de/mannodermaus/junit5/compose/ComposeExtension : org/junit/jupiter/api/extension/Extension {
0 commit comments