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

Commit da333599 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Test that the replace flag does not need to be set"

parents 676b3d2b 3749cb4a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -871,7 +871,7 @@ public class PackageManagerTests extends AndroidTestCase {
            receiver = new InstallReceiver(ip.pkg.packageName);
        }
        try {
            invokeInstallPackage(ip.packageURI, flags, receiver, replace);
            invokeInstallPackage(ip.packageURI, flags, receiver, true);
            if (replace) {
                assertInstall(ip.pkg, flags, ip.pkg.installLocation);
            }
@@ -881,7 +881,7 @@ public class PackageManagerTests extends AndroidTestCase {
    }

    @LargeTest
    public void testReplaceFailNormalInternal() throws Exception {
    public void testReplaceFlagDoesNotNeedToBeSet() throws Exception {
        sampleReplaceFromRawResource(0);
    }