mirror of
https://github.com/revanced/jadb.git
synced 2025-06-12 13:17:39 +02:00
Refactor: Cleaning up forceInstall
This commit is contained in:
@ -14,6 +14,7 @@ import java.util.List;
|
||||
public class PackageMangerTests {
|
||||
private static JadbConnection jadb;
|
||||
private PackageManager pm;
|
||||
private final File miniApk = new File("test/data/Tiniest Smallest APK ever.apk");
|
||||
|
||||
@BeforeClass
|
||||
public static void connect() throws IOException {
|
||||
@ -46,8 +47,8 @@ public class PackageMangerTests {
|
||||
|
||||
@Test
|
||||
public void testInstallUninstallCycle() throws Exception {
|
||||
File f = new File("test/data/Tiniest Smallest APK ever_v' platformBuildVersionName=_apkpure.com.apk");
|
||||
pm.install(f, false);
|
||||
pm.install(miniApk);
|
||||
pm.forceInstall(miniApk);
|
||||
pm.uninstall(new Package("b.a"));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user