Merge "Add TEST_MAPPING"
This commit is contained in:
7
apex/sdkext/TEST_MAPPING
Normal file
7
apex/sdkext/TEST_MAPPING
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"presubmit": [
|
||||
{
|
||||
"name": "framework-sdkext-tests"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -6,5 +6,6 @@ android_test {
|
||||
"android.test.runner",
|
||||
],
|
||||
static_libs: [ "framework-sdkext" ],
|
||||
test_suites: [ "general-tests" ],
|
||||
platform_apis: true,
|
||||
}
|
||||
|
||||
@@ -29,11 +29,6 @@ public class SdkExtensionsTest extends TestCase {
|
||||
SdkExtensions.getExtensionVersion(Build.VERSION_CODES.Q);
|
||||
fail("expected IllegalArgumentException");
|
||||
} catch (IllegalArgumentException expected) { }
|
||||
|
||||
try {
|
||||
SdkExtensions.getExtensionVersion(999999);
|
||||
fail("expected IllegalArgumentException");
|
||||
} catch (IllegalArgumentException expected) { }
|
||||
}
|
||||
|
||||
@SmallTest
|
||||
|
||||
Reference in New Issue
Block a user