Fix mis-configuration of TEST_MAPPING file.

UidAtomTests:testAppOps is a test class and test method of
CtsStatsdHostTestCases. To run this in Test Mapping, it should
specify CtsStatsdHostTestCases. as the name in TEST_MAPPING file,
and android.cts.statsd.atom.UidAtomTests as the options.

Bug: 155714228
Test: presubmit test.
Change-Id: I7df08ae811425020ebbeae6a8e9f1317065c00c9
This commit is contained in:
easoncylee
2020-05-14 09:46:22 +08:00
committed by Stanislav Zholnin
parent 8ef4e6e0c7
commit 3e213cffec
2 changed files with 12 additions and 2 deletions

View File

@@ -20,7 +20,12 @@
},
{
"file_patterns": ["(/|^)AppOpsManager.java"],
"name": "UidAtomTests:testAppOps"
"name": "CtsStatsdHostTestCases",
"options": [
{
"include-filter": "android.cts.statsd.atom.UidAtomTests"
}
]
},
{
"file_patterns": ["(/|^)AppOpsManager.java"],

View File

@@ -45,7 +45,12 @@
]
},
{
"name": "UidAtomTests:testAppOps"
"name": "CtsStatsdHostTestCases",
"options": [
{
"include-filter": "android.cts.statsd.atom.UidAtomTests"
}
]
}
]
}