blob: 302c0b363d9002812a51fee75073a0e4522e8454 [file] [log] [blame]
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +09001{
Remi NGUYEN VANa773ccb2020-06-25 03:58:10 +00002 "presubmit": [
Remi NGUYEN VAN48c68882021-07-16 01:36:12 +00003 {
4 "name": "ConnectivityCoverageTests"
5 },
Remi NGUYEN VANad380c12021-03-01 06:48:29 +00006 // Run in addition to mainline-presubmit as mainline-presubmit is not
7 // supported in every branch.
8 // CtsNetTestCasesLatestSdk uses stable API shims, so does not exercise
9 // some latest APIs. Run CtsNetTestCases to get coverage of newer APIs.
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +090010 {
Remi NGUYEN VANad380c12021-03-01 06:48:29 +000011 "name": "CtsNetTestCases",
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +090012 "options": [
13 {
14 "exclude-annotation": "com.android.testutils.SkipPresubmit"
Remi NGUYEN VAN9a689f82021-10-28 09:41:21 +090015 },
16 {
17 "exclude-annotation": "androidx.test.filters.RequiresDevice"
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +090018 }
19 ]
Remi NGUYEN VANd954bfc2021-05-20 01:25:47 +000020 },
21 {
Ken Chen1647f602021-10-05 21:55:22 +080022 "name": "netd_updatable_unit_test"
23 },
24 {
Remi NGUYEN VANd954bfc2021-05-20 01:25:47 +000025 "name": "TetheringTests"
26 },
27 {
28 "name": "TetheringIntegrationTests"
Wayne Ma7be6bce2022-01-12 16:29:49 +080029 },
30 {
31 "name": "traffic_controller_unit_test"
Ken Chenf426b2b2022-01-23 15:39:13 +080032 },
33 {
34 "name": "libnetworkstats_test"
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +090035 }
easoncyleea1b13d62020-06-12 14:14:14 +080036 ],
markchien911cf8f2021-07-19 17:23:54 +080037 "postsubmit": [
38 {
39 "name": "TetheringPrivilegedTests"
Lorenzo Colitti3b38b122022-01-12 16:06:07 +090040 },
41 // TODO: move to presubmit when known green.
42 {
43 "name": "bpf_existence_test"
Hungming Chenaaa8bd82021-12-20 16:43:40 +080044 },
45 {
Ken Chen1647f602021-10-05 21:55:22 +080046 "name": "netd_updatable_unit_test",
47 "keywords": ["netd-device-kernel-4.9", "netd-device-kernel-4.14"]
48 },
49 {
Hungming Chenaaa8bd82021-12-20 16:43:40 +080050 "name": "libclat_test"
Wayne Ma7be6bce2022-01-12 16:29:49 +080051 },
Wayne Ma320b95d2022-01-23 23:43:11 +080052 {
53 "name": "traffic_controller_unit_test",
Wayne Ma7be6bce2022-01-12 16:29:49 +080054 "keywords": ["netd-device-kernel-4.9", "netd-device-kernel-4.14"]
Ken Chenf426b2b2022-01-23 15:39:13 +080055 },
56 {
57 "name": "libnetworkstats_test"
markchien911cf8f2021-07-19 17:23:54 +080058 }
59 ],
easoncyleea1b13d62020-06-12 14:14:14 +080060 "mainline-presubmit": [
61 {
easoncylee48c4cf62020-10-23 13:10:01 +080062 "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
easoncyleea1b13d62020-06-12 14:14:14 +080063 "options": [
64 {
65 "exclude-annotation": "com.android.testutils.SkipPresubmit"
Remi NGUYEN VAN9a689f82021-10-28 09:41:21 +090066 },
67 {
68 "exclude-annotation": "androidx.test.filters.RequiresDevice"
easoncyleea1b13d62020-06-12 14:14:14 +080069 }
70 ]
Remi NGUYEN VAN5a1f2f72021-07-01 13:55:49 +000071 },
72 {
Ken Chen1647f602021-10-05 21:55:22 +080073 "name": "netd_updatable_unit_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
74 },
75 {
Remi NGUYEN VAN5a1f2f72021-07-01 13:55:49 +000076 "name": "ConnectivityCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
Wayne Ma7be6bce2022-01-12 16:29:49 +080077 },
78 {
79 "name": "traffic_controller_unit_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
Ken Chenf426b2b2022-01-23 15:39:13 +080080 },
81 {
82 "name": "libnetworkstats_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
easoncyleea1b13d62020-06-12 14:14:14 +080083 }
Remi NGUYEN VAN1bc62872020-11-25 07:35:21 +000084 ],
Remi NGUYEN VAN1bc62872020-11-25 07:35:21 +000085 "mainline-postsubmit": [
Remi NGUYEN VANd954bfc2021-05-20 01:25:47 +000086 // Tests on physical devices with SIM cards: postsubmit only for capacity constraints
Remi NGUYEN VAN1bc62872020-11-25 07:35:21 +000087 {
88 "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
89 "keywords": ["sim"]
Remi NGUYEN VANd954bfc2021-05-20 01:25:47 +000090 },
91 {
92 "name": "TetheringCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
Lorenzo Colitti3b38b122022-01-12 16:06:07 +090093 },
94 // TODO: move to mainline-presubmit when known green.
95 {
96 "name": "bpf_existence_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
Remi NGUYEN VANd954bfc2021-05-20 01:25:47 +000097 }
98 ],
99 "imports": [
100 {
Remi NGUYEN VANf353baf2021-03-19 16:03:06 +0000101 "path": "frameworks/base/core/java/android/net"
102 },
103 {
Filip Zakrzewski8a5823d2022-01-07 20:47:30 +0000104 "path": "frameworks/opt/net/ethernet"
105 },
106 {
Remi NGUYEN VANf353baf2021-03-19 16:03:06 +0000107 "path": "packages/modules/NetworkStack"
108 },
109 {
110 "path": "packages/modules/CaptivePortalLogin"
111 },
112 {
113 "path": "packages/modules/Connectivity"
114 },
115 {
116 "path": "packages/modules/Connectivity/Tethering"
117 }
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +0900118 ]
119}