1{
2  "presubmit": [
3    {
4      // aconfig unit tests
5      "name": "aconfig.test"
6    },
7    {
8      // aconfig Java integration tests (host)
9      "name": "AconfigJavaHostTest"
10    },
11    {
12      // aconfig Java integration tests
13      "name": "aconfig.test.java"
14    },
15    {
16      // aconfig C++ integration tests (production mode auto-generated code)
17      "name": "aconfig.test.cpp"
18    },
19    {
20      // aconfig C++ integration tests (test mode auto-generated code)
21      "name": "aconfig.test.cpp.test_mode"
22    },
23    // TODO(b/327420679): Enable export mode for native flag library
24    // {
25    //   // aconfig C++ integration tests (exported mode auto-generated code)
26    //   "name": "aconfig.test.cpp.exported_mode"
27    // },
28    {
29      // aconfig Rust integration tests (production mode auto-generated code)
30      "name": "aconfig.prod_mode.test.rust"
31    },
32    {
33      // aconfig Rust integration tests (test mode auto-generated code)
34      "name": "aconfig.test_mode.test.rust"
35    },
36    // TODO(b/327420679): Enable export mode for native flag library
37    // {
38    //   // aconfig Rust integration tests (exported mode auto-generated code)
39    //   "name": "aconfig.exported_mode.test.rust"
40    // },
41    {
42      // aflags CLI unit tests
43      "name": "aflags.test"
44    },
45    {
46      // printflags unit tests
47      "name": "printflags.test"
48    },
49    {
50      // aconfig_protos unit tests
51      "name": "aconfig_protos.test"
52    },
53    {
54      // aconfig_storage_file unit tests
55      "name": "aconfig_storage_file.test"
56    },
57    {
58      // Ensure changes on aconfig auto generated library is compatible with
59      // test testing filtering logic. Breakage on this test means all tests
60      // that using the flag annotations to do filtering will get affected.
61      "name": "FlagAnnotationTests",
62      "options": [
63        {
64          "include-filter": "android.cts.flags.tests.FlagAnnotationTest"
65        }
66      ]
67    },
68    {
69      // Ensure changes on aconfig auto generated library is compatible with
70      // test testing filtering logic. Breakage on this test means all tests
71      // that using the flag macros to do filtering will get affected.
72      "name": "FlagMacrosTests"
73    },
74    {
75      // aconfig_storage_write_api unit tests
76      "name": "aconfig_storage_write_api.test"
77    },
78    {
79      // aconfig_storage_read_api unit tests
80      "name": "aconfig_storage_read_api.test"
81    },
82    {
83      // aconfig_storage write api rust integration tests
84      "name": "aconfig_storage_write_api.test.rust"
85    },
86    {
87      // aconfig_storage write api cpp integration tests
88      "name": "aconfig_storage_write_api.test.cpp"
89    },
90    {
91      // aconfig_storage read api rust integration tests
92      "name": "aconfig_storage_read_api.test.rust"
93    },
94    {
95      // aconfig_storage read api cpp integration tests
96      "name": "aconfig_storage_read_api.test.cpp"
97    },
98    {
99      // aconfig_storage file cpp integration tests
100      "name": "aconfig_storage_file.test.cpp"
101    }
102  ],
103  "postsubmit": [
104    {
105      // aconfig_storage read api java integration tests
106      "name": "aconfig_storage_read_api.test.java"
107    }
108  ]
109}
110