Wenshan Fu | 13be0a5 | 2023-06-29 00:06:19 +0800 | [diff] [blame] | 1 | { |
| 2 | "presubmit": [ |
| 3 | { |
Mårten Kongstad | 0ae74f8 | 2023-12-12 13:36:52 +0100 | [diff] [blame] | 4 | // aconfig unit tests |
| 5 | "name": "aconfig.test" |
| 6 | }, |
| 7 | { |
Mårten Kongstad | ce09eb2 | 2023-12-20 08:53:29 +0100 | [diff] [blame] | 8 | // aconfig Java integration tests (host) |
| 9 | "name": "AconfigJavaHostTest" |
| 10 | }, |
| 11 | { |
Mårten Kongstad | 0ae74f8 | 2023-12-12 13:36:52 +0100 | [diff] [blame] | 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 | }, |
Lucas Henneman | 6e7137c | 2024-04-01 13:21:30 +0000 | [diff] [blame^] | 23 | // TODO(b/327420679): Enable export mode for native flag library |
Zhi Dou | 036cdbe | 2024-02-28 18:34:57 +0000 | [diff] [blame] | 24 | // { |
| 25 | // // aconfig C++ integration tests (exported mode auto-generated code) |
| 26 | // "name": "aconfig.test.cpp.exported_mode" |
| 27 | // }, |
Mårten Kongstad | ce09eb2 | 2023-12-20 08:53:29 +0100 | [diff] [blame] | 28 | { |
| 29 | // aconfig Rust integration tests (production mode auto-generated code) |
Mårten Kongstad | 0ae74f8 | 2023-12-12 13:36:52 +0100 | [diff] [blame] | 30 | "name": "aconfig.prod_mode.test.rust" |
| 31 | }, |
| 32 | { |
Mårten Kongstad | ce09eb2 | 2023-12-20 08:53:29 +0100 | [diff] [blame] | 33 | // aconfig Rust integration tests (test mode auto-generated code) |
Mårten Kongstad | 0ae74f8 | 2023-12-12 13:36:52 +0100 | [diff] [blame] | 34 | "name": "aconfig.test_mode.test.rust" |
| 35 | }, |
Lucas Henneman | 6e7137c | 2024-04-01 13:21:30 +0000 | [diff] [blame^] | 36 | // TODO(b/327420679): Enable export mode for native flag library |
Zhi Dou | 036cdbe | 2024-02-28 18:34:57 +0000 | [diff] [blame] | 37 | // { |
| 38 | // // aconfig Rust integration tests (exported mode auto-generated code) |
| 39 | // "name": "aconfig.exported_mode.test.rust" |
| 40 | // }, |
Mårten Kongstad | ce09eb2 | 2023-12-20 08:53:29 +0100 | [diff] [blame] | 41 | { |
Mårten Kongstad | 0ae74f8 | 2023-12-12 13:36:52 +0100 | [diff] [blame] | 42 | // printflags unit tests |
| 43 | "name": "printflags.test" |
Dennis Shen | a4294b0 | 2024-01-25 15:26:28 +0000 | [diff] [blame] | 44 | }, |
| 45 | { |
| 46 | // aconfig_protos unit tests |
| 47 | "name": "aconfig_protos.test" |
| 48 | }, |
| 49 | { |
| 50 | // aconfig_storage_file unit tests |
| 51 | "name": "aconfig_storage_file.test" |
Mårten Kongstad | 36402f1 | 2024-01-30 10:53:15 +0100 | [diff] [blame] | 52 | }, |
| 53 | { |
| 54 | // Ensure changes on aconfig auto generated library is compatible with |
| 55 | // test testing filtering logic. Breakage on this test means all tests |
| 56 | // that using the flag annotations to do filtering will get affected. |
| 57 | "name": "FlagAnnotationTests", |
| 58 | "options": [ |
| 59 | { |
| 60 | "include-filter": "android.cts.flags.tests.FlagAnnotationTest" |
| 61 | } |
| 62 | ] |
| 63 | }, |
| 64 | { |
| 65 | // Ensure changes on aconfig auto generated library is compatible with |
| 66 | // test testing filtering logic. Breakage on this test means all tests |
| 67 | // that using the flag macros to do filtering will get affected. |
| 68 | "name": "FlagMacrosTests" |
Mårten Kongstad | 0ae74f8 | 2023-12-12 13:36:52 +0100 | [diff] [blame] | 69 | } |
Dennis Shen | 9c080e7 | 2024-02-20 21:03:47 +0000 | [diff] [blame] | 70 | ], |
| 71 | "postsubmit": [ |
| 72 | { |
Dennis Shen | 7e5fca5 | 2024-03-07 22:56:09 +0000 | [diff] [blame] | 73 | // aconfig_storage_write_api unit tests |
| 74 | "name": "aconfig_storage_write_api.test" |
| 75 | }, |
| 76 | { |
Dennis Shen | 61d8c5a | 2024-03-04 20:01:44 +0000 | [diff] [blame] | 77 | // aconfig_storage_read_api unit tests |
| 78 | "name": "aconfig_storage_read_api.test" |
| 79 | }, |
| 80 | { |
Dennis Shen | 1d9f0dd | 2024-03-12 12:25:11 +0000 | [diff] [blame] | 81 | // aconfig_storage write api rust integration tests |
| 82 | "name": "aconfig_storage_write_api.test.rust" |
| 83 | }, |
| 84 | { |
Dennis Shen | 1fdb6cc | 2024-03-14 15:58:15 +0000 | [diff] [blame] | 85 | // aconfig_storage write api cpp integration tests |
| 86 | "name": "aconfig_storage_write_api.test.cpp" |
| 87 | }, |
| 88 | { |
Dennis Shen | 9c080e7 | 2024-02-20 21:03:47 +0000 | [diff] [blame] | 89 | // aconfig_storage read api rust integration tests |
Dennis Shen | 61d8c5a | 2024-03-04 20:01:44 +0000 | [diff] [blame] | 90 | "name": "aconfig_storage_read_api.test.rust" |
Dennis Shen | 9c080e7 | 2024-02-20 21:03:47 +0000 | [diff] [blame] | 91 | }, |
| 92 | { |
| 93 | // aconfig_storage read api cpp integration tests |
Dennis Shen | 61d8c5a | 2024-03-04 20:01:44 +0000 | [diff] [blame] | 94 | "name": "aconfig_storage_read_api.test.cpp" |
Ted Bauer | 4dbf58a | 2024-02-08 18:46:52 +0000 | [diff] [blame] | 95 | }, |
| 96 | { |
| 97 | // aflags CLI unit tests |
| 98 | // TODO(b/326062088): add to presubmit once proven in postsubmit. |
| 99 | "name": "aflags.test" |
Dennis Shen | 9c080e7 | 2024-02-20 21:03:47 +0000 | [diff] [blame] | 100 | } |
Wenshan Fu | 13be0a5 | 2023-06-29 00:06:19 +0800 | [diff] [blame] | 101 | ] |
| 102 | } |