Add TEST_MAPPING

...and remove the broken test!

Bug: 137191822
Test: treehugger (hopefully!?)
Change-Id: I175c1262275ae95caabac32a5308fd454ae62a4d
This commit is contained in:
Anton Hansson
2019-12-06 17:38:45 +00:00
parent 6a8eaf415d
commit 9ff695eee1
3 changed files with 8 additions and 5 deletions

7
apex/sdkext/TEST_MAPPING Normal file
View File

@@ -0,0 +1,7 @@
{
"presubmit": [
{
"name": "framework-sdkext-tests"
}
]
}

View File

@@ -6,5 +6,6 @@ android_test {
"android.test.runner",
],
static_libs: [ "framework-sdkext" ],
test_suites: [ "general-tests" ],
platform_apis: true,
}

View File

@@ -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