Add host side test for apex-system-service.
The test installs a test apex with a fake system server and checks that
the service prints to logcat in onStart().
Bug: 192880996
Test: atest ApexSystemServicesTestCases
Change-Id: I7b9f353e30425302e83660f440affe5010944a9b
diff --git a/TEST_MAPPING b/TEST_MAPPING
index c5c6012..81e4fcb 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -17,6 +17,19 @@
],
"presubmit": [
{
+ "file_patterns": [
+ "ApexManager\\.java",
+ "SystemServer\\.java",
+ "services/tests/apexsystemservices/.*"
+ ],
+ "name": "ApexSystemServicesTestCases",
+ "options": [
+ {
+ "exclude-annotation": "androidx.test.filters.FlakyTest"
+ }
+ ]
+ },
+ {
"name": "FrameworksUiServicesTests",
"options": [
{