Skip to content

Commit

Permalink
fix required opt-in for sendResult test helper (#937)
Browse files Browse the repository at this point in the history
* fix required opt-in for sendResult test helper

* api dump
  • Loading branch information
gabrielittner authored Nov 11, 2024
1 parent 60f5adb commit c9eaa99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion navigation-testing/api/android/navigation-testing.api
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public final class com/freeletics/khonshu/navigation/NavigatorTurbineKt {
}

public final class com/freeletics/khonshu/navigation/ResultOwnerTestingKt {
public static final fun sendResult (Lcom/freeletics/khonshu/navigation/ContractResultOwner;Ljava/lang/Object;)V
public static final fun sendResult (Lcom/freeletics/khonshu/navigation/ActivityResultRequest;Ljava/lang/Object;)V
public static final fun sendResult (Lcom/freeletics/khonshu/navigation/NavigationResultRequest;Landroid/os/Parcelable;)V
public static final fun sendResult (Lcom/freeletics/khonshu/navigation/PermissionsResultRequest;Ljava/lang/String;Lcom/freeletics/khonshu/navigation/PermissionsResultRequest$PermissionResult;)V
public static final fun sendResult (Lcom/freeletics/khonshu/navigation/PermissionsResultRequest;Ljava/util/Map;)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import com.freeletics.khonshu.navigation.internal.InternalNavigationCodegenApi
* Send a fake result to collectors of this request. Can be used to test the result handling
* logic.
*/
public fun <O> ContractResultOwner<*, *, O>.sendResult(result: O) {
public fun <O> ActivityResultRequest<*, O>.sendResult(result: O) {
onResult(result)
}

Expand Down

0 comments on commit c9eaa99

Please sign in to comment.