BinaryTransparencyServiceTest: Fix TEST_MAPPING

Tests to validate module name in test mapping file was failing due
to earlier usage of test name as module name. This change fixes
that by renaming the module name accordingly and putting test
class under `options` instead.

Bug: 233937408
Test: atest --no-bazel-mode BinaryTransparencyServiceTest
Change-Id: Idc12cbe38ec2025e5eb576afdbfa98b1e815c6fa
This commit is contained in:
Billy Lau
2022-05-26 12:08:48 -05:00
parent cb41788177
commit 0331c779f5

View File

@@ -29,7 +29,12 @@
"file_patterns": ["SensorPrivacyService\\.java"]
},
{
"name": "BinaryTransparencyServiceTest",
"name": "FrameworksServicesTests",
"options": [
{
"include-filter": "com.android.server.BinaryTransparencyServiceTest"
}
],
"file_patterns": ["BinaryTransparencyService\\.java"]
}
],