Files
build/tools/aconfig/TEST_MAPPING
Dennis Shen a4294b0c6a aconfig: create unit test targets for aconfig_protos and
aconfig_storage_file crate

also added a bunch of comments to satisfy android lint requirements

Bug: b/321077378
Test: atest aconfig.test, atest aconfig_protos.test, atest aconfig_storage_files.test
Change-Id: I9bce302ac3bc98c5347e5334d915e77337ee89c4
2024-01-25 17:33:36 +00:00

72 lines
2.0 KiB
Plaintext

{
"presubmit": [
{
// Ensure changes on aconfig auto generated library is compatible with
// test testing filtering logic. Breakage on this test means all tests
// that using the flag annotations to do filtering will get affected.
"name": "FlagAnnotationTests",
"options": [
{
"include-filter": "android.cts.flags.tests.FlagAnnotationTest"
}
]
},
{
// Ensure changes on aconfig auto generated library is compatible with
// test testing filtering logic. Breakage on this test means all tests
// that using the flag macros to do filtering will get affected.
"name": "FlagMacrosTests"
}
],
"postsubmit": [
{
// aconfig unit tests
"name": "aconfig.test"
},
{
// aconfig Java integration tests (host)
"name": "AconfigJavaHostTest"
},
{
// aconfig Java integration tests
"name": "aconfig.test.java"
},
{
// aconfig C++ integration tests (production mode auto-generated code)
"name": "aconfig.test.cpp"
},
{
// aconfig C++ integration tests (test mode auto-generated code)
"name": "aconfig.test.cpp.test_mode"
},
{
// aconfig C++ integration tests (exported mode auto-generated code)
"name": "aconfig.test.cpp.exported_mode"
},
{
// aconfig Rust integration tests (production mode auto-generated code)
"name": "aconfig.prod_mode.test.rust"
},
{
// aconfig Rust integration tests (test mode auto-generated code)
"name": "aconfig.test_mode.test.rust"
},
{
// aconfig Rust integration tests (exported mode auto-generated code)
"name": "aconfig.exported_mode.test.rust"
},
{
// printflags unit tests
"name": "printflags.test"
},
{
// aconfig_protos unit tests
"name": "aconfig_protos.test"
},
{
// aconfig_storage_file unit tests
"name": "aconfig_storage_file.test"
}
]
}