add sdk for certain tests
@@ -39,6 +39,7 @@ public class FirebasePlatformLoggingTest {
.build();
@Test
+ @Config(sdk = Build.VERSION_CODES.O)
public void test_tv_atHighEnoughApiLevel() {
ShadowPackageManager shadowPackageManager =
shadowOf(ApplicationProvider.getApplicationContext().getPackageManager());
@@ -54,6 +55,7 @@ public class FirebasePlatformLoggingTest {
}
@Test
+ @Config(sdk = Build.VERSION_CODES.O)
public void test_watch_atHighEnoughApiLevel() {
ShadowPackageManager shadowPackageManager =
shadowOf(ApplicationProvider.getApplicationContext().getPackageManager());
@@ -85,6 +87,7 @@ public class FirebasePlatformLoggingTest {
}
@Test
+ @Config(sdk = Build.VERSION_CODES.O)
public void test_auto_atHighEnoughApiLevel() {
ShadowPackageManager shadowPackageManager =
shadowOf(ApplicationProvider.getApplicationContext().getPackageManager());
@@ -116,6 +119,7 @@ public class FirebasePlatformLoggingTest {
}
@Test
+ @Config(sdk = Build.VERSION_CODES.O)
public void test_embedded_atHighEnoughApiLevel() {
ShadowPackageManager shadowPackageManager =
shadowOf(ApplicationProvider.getApplicationContext().getPackageManager());
@@ -147,6 +151,7 @@ public class FirebasePlatformLoggingTest {
}
@Test
+ @Config(sdk = Build.VERSION_CODES.O)
public void test_installerPackage_withNoInstallerSet() {
withApp(
"myApp",
@@ -159,6 +164,7 @@ public class FirebasePlatformLoggingTest {
}
@Test
+ @Config(sdk = Build.VERSION_CODES.O)
public void test_installerPackage_withInstallerSet() {
String installer = "com/example store";
