mirror of
https://github.com/f-droid/fdroidclient.git
synced 2025-12-23 23:27:44 -05:00
Adapt tests for minSdk 24
This commit is contained in:
committed by
Torsten Grote
parent
bdb4649a8e
commit
90c28b6bce
@@ -34,12 +34,10 @@ import java.util.jar.JarOutputStream;
|
||||
* This test the JAR signing functions of {@link ZipSigner}.
|
||||
*/
|
||||
@RunWith(RobolectricTestRunner.class)
|
||||
@Config(sdk = {23, 25, 32}) // minSdkVersion, targetSdkVersion, max SDK supported by Robolectric
|
||||
@Config(sdk = {24, 25, 32, 35}) // minSdkVersion, targetSdkVersion, max SDK supported by Robolectric
|
||||
public class ZipSignerTest {
|
||||
public static final String TAG = "ZipSignerTest";
|
||||
|
||||
private File unsigned;
|
||||
private File signed;
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
@@ -64,9 +62,6 @@ public class ZipSignerTest {
|
||||
if (unsigned != null) {
|
||||
unsigned.delete();
|
||||
}
|
||||
if (signed != null) {
|
||||
signed.delete();
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -31,7 +31,7 @@ import java.util.jar.JarFile;
|
||||
import java.util.jar.JarOutputStream;
|
||||
|
||||
@RunWith(RobolectricTestRunner.class)
|
||||
@Config(sdk = {23, 25, 32}) // minSdkVersion, targetSdkVersion, max SDK supported by Robolectric
|
||||
@Config(sdk = {24, 25, 32, 35}) // minSdkVersion, targetSdkVersion, max SDK supported by Robolectric
|
||||
public class LocalRepoKeyStoreTest {
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user