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
Create a `Robot` dependency graph for Metro and combine it with the `Robot` component from kotlin-inject. This allows for an easier migration from kotlin-inject to Metro and eventually mixing both dependency injection frameworks if needed.
See #119
Copy file name to clipboardExpand all lines: robot-compose-multiplatform/public/src/appleAndDesktopTest/kotlin/software/amazon/app/platform/robot/ComposeRobotTest.kt
Copy file name to clipboardExpand all lines: robot/public/api/android/public.api
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,17 @@ public abstract interface class software/amazon/app/platform/robot/RobotComponen
26
26
public abstract fun getRobots ()Ljava/util/Map;
27
27
}
28
28
29
+
public abstract interface class software/amazon/app/platform/robot/RobotGraph {
30
+
public abstract fun getRobots ()Ljava/util/Map;
31
+
}
32
+
33
+
public abstract interface class software/amazon/app/platform/robot/RobotGraph$$$MetroContributionToAppScope : software/amazon/app/platform/robot/RobotGraph {
34
+
}
35
+
36
+
public final class software/amazon/app/platform/robot/RobotKt {
37
+
public static final fun getAllRobots (Lsoftware/amazon/app/platform/scope/Scope;)Ljava/util/Map;
38
+
}
39
+
29
40
public abstract interface class software/amazon/app/platform/robot/RootMatcherProvider {
30
41
public abstract fun getRootMatcher ()Lorg/hamcrest/Matcher;
Copy file name to clipboardExpand all lines: robot/public/api/desktop/public.api
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,17 @@ public abstract interface class software/amazon/app/platform/robot/RobotComponen
10
10
public abstract fun getRobots ()Ljava/util/Map;
11
11
}
12
12
13
+
public abstract interface class software/amazon/app/platform/robot/RobotGraph {
14
+
public abstract fun getRobots ()Ljava/util/Map;
15
+
}
16
+
17
+
public abstract interface class software/amazon/app/platform/robot/RobotGraph$$$MetroContributionToAppScope : software/amazon/app/platform/robot/RobotGraph {
18
+
}
19
+
20
+
public final class software/amazon/app/platform/robot/RobotKt {
21
+
public static final fun getAllRobots (Lsoftware/amazon/app/platform/scope/Scope;)Ljava/util/Map;
22
+
}
23
+
13
24
public final class software/amazon/app/platform/robot/WaiterKt {
14
25
public static final fun waitFor-vLdBGDU (Ljava/lang/String;JJLkotlin/jvm/functions/Function0;)Ljava/lang/Object;
15
26
public static synthetic fun waitFor-vLdBGDU$default (Ljava/lang/String;JJLkotlin/jvm/functions/Function0;ILjava/lang/Object;)Ljava/lang/Object;
0 commit comments