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

Commit 13344c12 authored by Mohammad Samiul Islam's avatar Mohammad Samiul Islam
Browse files

Add missing resource for StagedInstallInternalTest

Without the resource, testDuplicateApkInApexShouldFail doesn't run on
fresh build.

Bug: 150940087
Test: atest StagedInstallInternalTest#testDuplicateApkInApexShouldFail
Change-Id: I9d35a10bbbedab020743a78113bf0b671aaf5caf
parent cd2fde94
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ java_test_host {
        "cts-install-lib-host",
    ],
    data: [
        ":com.android.apex.apkrollback.test_v1",
        ":com.android.apex.cts.shim.v2_prebuilt",
        ":TestAppAv1",
    ],
+0 −4
Original line number Diff line number Diff line
@@ -47,11 +47,7 @@ import java.util.function.Consumer;

@RunWith(JUnit4.class)
public class StagedInstallInternalTest {

    private static final String TAG = StagedInstallInternalTest.class.getSimpleName();
    private static final String APK_IN_APEX_TESTAPEX_NAME = "com.android.apex.apkrollback.test";
    private static final TestApp TEST_APEX_WITH_APK_V1 = new TestApp("TestApexWithApkV1",
            APK_IN_APEX_TESTAPEX_NAME, 1, /*isApex*/true, APK_IN_APEX_TESTAPEX_NAME + "_v1.apex");
    private static final TestApp TEST_APEX_WITH_APK_V2 = new TestApp("TestApexWithApkV2",
            APK_IN_APEX_TESTAPEX_NAME, 2, /*isApex*/true, APK_IN_APEX_TESTAPEX_NAME + "_v2.apex");