Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7c9e2c1 authored by Uwais Ashraf's avatar Uwais Ashraf
Browse files

Adjust mockito dependencies to make them work for Robolectric

Fix: 327257788
Flag: NA
Test: Presubmit passing
Change-Id: I1eee4fe0f79b2d22fc6bc080c8cc88c19086c7d5
parent 68c145a1
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -177,7 +177,7 @@ android_library {
    name: "launcher-testing-shared",
    srcs: [
        "multivalentTests/shared/com/android/launcher3/testing/shared/**/*.java",
        "multivalentTests/shared/com/android/launcher3/testing/shared/**/*.kt"
        "multivalentTests/shared/com/android/launcher3/testing/shared/**/*.kt",
    ],
    resource_dirs: [],
    manifest: "multivalentTests/shared/AndroidManifest.xml",
@@ -225,8 +225,8 @@ android_robolectric_test {
    // multivalentTests directory is a shared folder for not only robolectric converted test
    // classes but also shared helper classes.
    srcs: [
        "multivalentTests/src/com/android/launcher3/util/*.java",
        "multivalentTests/src/com/android/launcher3/util/*.kt",
        "multivalentTests/src/**/*.java",
        "multivalentTests/src/**/*.kt",

        // Test util classes
        ":launcher-testing-helpers",
@@ -246,7 +246,8 @@ android_robolectric_test {
        "androidx.test.uiautomator_uiautomator",
        "androidx.core_core-animation-testing",
        "androidx.test.ext.junit",
        "inline-mockito-robolectric-prebuilt",
        "mockito-robolectric-prebuilt",
        "mockito-kotlin2",
        "platform-parametric-runner-lib",
        "testables",
        "Launcher3TestResources",