blob: 9f2ea35cd59112289ef5a7ccf70f964add69f6c4 [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 {
22 "name": "TetheringTests"
23 },
24 {
25 "name": "TetheringIntegrationTests"
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +090026 }
easoncyleea1b13d62020-06-12 14:14:14 +080027 ],
markchien911cf8f2021-07-19 17:23:54 +080028 "postsubmit": [
29 {
30 "name": "TetheringPrivilegedTests"
Lorenzo Colitti3b38b122022-01-12 16:06:07 +090031 },
32 // TODO: move to presubmit when known green.
33 {
34 "name": "bpf_existence_test"
Hungming Chenaaa8bd82021-12-20 16:43:40 +080035 },
36 {
37 "name": "libclat_test"
markchien911cf8f2021-07-19 17:23:54 +080038 }
39 ],
easoncyleea1b13d62020-06-12 14:14:14 +080040 "mainline-presubmit": [
41 {
easoncylee48c4cf62020-10-23 13:10:01 +080042 "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
easoncyleea1b13d62020-06-12 14:14:14 +080043 "options": [
44 {
45 "exclude-annotation": "com.android.testutils.SkipPresubmit"
Remi NGUYEN VAN9a689f82021-10-28 09:41:21 +090046 },
47 {
48 "exclude-annotation": "androidx.test.filters.RequiresDevice"
easoncyleea1b13d62020-06-12 14:14:14 +080049 }
50 ]
Remi NGUYEN VAN5a1f2f72021-07-01 13:55:49 +000051 },
52 {
53 "name": "ConnectivityCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
easoncyleea1b13d62020-06-12 14:14:14 +080054 }
Remi NGUYEN VAN1bc62872020-11-25 07:35:21 +000055 ],
Remi NGUYEN VAN1bc62872020-11-25 07:35:21 +000056 "mainline-postsubmit": [
Remi NGUYEN VANd954bfc2021-05-20 01:25:47 +000057 // Tests on physical devices with SIM cards: postsubmit only for capacity constraints
Remi NGUYEN VAN1bc62872020-11-25 07:35:21 +000058 {
59 "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
60 "keywords": ["sim"]
Remi NGUYEN VANd954bfc2021-05-20 01:25:47 +000061 },
62 {
63 "name": "TetheringCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
Lorenzo Colitti3b38b122022-01-12 16:06:07 +090064 },
65 // TODO: move to mainline-presubmit when known green.
66 {
67 "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 +000068 }
69 ],
70 "imports": [
71 {
Remi NGUYEN VANf353baf2021-03-19 16:03:06 +000072 "path": "frameworks/base/core/java/android/net"
73 },
74 {
Filip Zakrzewski8a5823d2022-01-07 20:47:30 +000075 "path": "frameworks/opt/net/ethernet"
76 },
77 {
Remi NGUYEN VANf353baf2021-03-19 16:03:06 +000078 "path": "packages/modules/NetworkStack"
79 },
80 {
81 "path": "packages/modules/CaptivePortalLogin"
82 },
83 {
84 "path": "packages/modules/Connectivity"
85 },
86 {
87 "path": "packages/modules/Connectivity/Tethering"
88 }
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +090089 ]
90}