| Remi NGUYEN VAN | f33b6ea | 2020-06-03 16:10:43 +0900 | [diff] [blame] | 1 | { | 
| Remi NGUYEN VAN | a773ccb | 2020-06-25 03:58:10 +0000 | [diff] [blame] | 2 | "presubmit": [ | 
| Remi NGUYEN VAN | 48c6888 | 2021-07-16 01:36:12 +0000 | [diff] [blame] | 3 | { | 
|  | 4 | "name": "ConnectivityCoverageTests" | 
|  | 5 | }, | 
| Remi NGUYEN VAN | ad380c1 | 2021-03-01 06:48:29 +0000 | [diff] [blame] | 6 | // 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 VAN | f33b6ea | 2020-06-03 16:10:43 +0900 | [diff] [blame] | 10 | { | 
| Remi NGUYEN VAN | ad380c1 | 2021-03-01 06:48:29 +0000 | [diff] [blame] | 11 | "name": "CtsNetTestCases", | 
| Remi NGUYEN VAN | f33b6ea | 2020-06-03 16:10:43 +0900 | [diff] [blame] | 12 | "options": [ | 
|  | 13 | { | 
|  | 14 | "exclude-annotation": "com.android.testutils.SkipPresubmit" | 
| Remi NGUYEN VAN | 9a689f8 | 2021-10-28 09:41:21 +0900 | [diff] [blame] | 15 | }, | 
|  | 16 | { | 
|  | 17 | "exclude-annotation": "androidx.test.filters.RequiresDevice" | 
| Remi NGUYEN VAN | f33b6ea | 2020-06-03 16:10:43 +0900 | [diff] [blame] | 18 | } | 
|  | 19 | ] | 
| Remi NGUYEN VAN | d954bfc | 2021-05-20 01:25:47 +0000 | [diff] [blame] | 20 | }, | 
|  | 21 | { | 
|  | 22 | "name": "TetheringTests" | 
|  | 23 | }, | 
|  | 24 | { | 
|  | 25 | "name": "TetheringIntegrationTests" | 
| Remi NGUYEN VAN | f33b6ea | 2020-06-03 16:10:43 +0900 | [diff] [blame] | 26 | } | 
| easoncylee | a1b13d6 | 2020-06-12 14:14:14 +0800 | [diff] [blame] | 27 | ], | 
| markchien | 911cf8f | 2021-07-19 17:23:54 +0800 | [diff] [blame] | 28 | "postsubmit": [ | 
|  | 29 | { | 
|  | 30 | "name": "TetheringPrivilegedTests" | 
|  | 31 | } | 
|  | 32 | ], | 
| easoncylee | a1b13d6 | 2020-06-12 14:14:14 +0800 | [diff] [blame] | 33 | "mainline-presubmit": [ | 
|  | 34 | { | 
| easoncylee | 48c4cf6 | 2020-10-23 13:10:01 +0800 | [diff] [blame] | 35 | "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]", | 
| easoncylee | a1b13d6 | 2020-06-12 14:14:14 +0800 | [diff] [blame] | 36 | "options": [ | 
|  | 37 | { | 
|  | 38 | "exclude-annotation": "com.android.testutils.SkipPresubmit" | 
| Remi NGUYEN VAN | 9a689f8 | 2021-10-28 09:41:21 +0900 | [diff] [blame] | 39 | }, | 
|  | 40 | { | 
|  | 41 | "exclude-annotation": "androidx.test.filters.RequiresDevice" | 
| easoncylee | a1b13d6 | 2020-06-12 14:14:14 +0800 | [diff] [blame] | 42 | } | 
|  | 43 | ] | 
| Remi NGUYEN VAN | 5a1f2f7 | 2021-07-01 13:55:49 +0000 | [diff] [blame] | 44 | }, | 
|  | 45 | { | 
|  | 46 | "name": "ConnectivityCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]" | 
| easoncylee | a1b13d6 | 2020-06-12 14:14:14 +0800 | [diff] [blame] | 47 | } | 
| Remi NGUYEN VAN | 1bc6287 | 2020-11-25 07:35:21 +0000 | [diff] [blame] | 48 | ], | 
| Remi NGUYEN VAN | 1bc6287 | 2020-11-25 07:35:21 +0000 | [diff] [blame] | 49 | "mainline-postsubmit": [ | 
| Remi NGUYEN VAN | d954bfc | 2021-05-20 01:25:47 +0000 | [diff] [blame] | 50 | // Tests on physical devices with SIM cards: postsubmit only for capacity constraints | 
| Remi NGUYEN VAN | 1bc6287 | 2020-11-25 07:35:21 +0000 | [diff] [blame] | 51 | { | 
|  | 52 | "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]", | 
|  | 53 | "keywords": ["sim"] | 
| Remi NGUYEN VAN | d954bfc | 2021-05-20 01:25:47 +0000 | [diff] [blame] | 54 | }, | 
|  | 55 | { | 
|  | 56 | "name": "TetheringCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]" | 
|  | 57 | } | 
|  | 58 | ], | 
|  | 59 | "imports": [ | 
|  | 60 | { | 
| Remi NGUYEN VAN | f353baf | 2021-03-19 16:03:06 +0000 | [diff] [blame] | 61 | "path": "frameworks/base/core/java/android/net" | 
|  | 62 | }, | 
|  | 63 | { | 
| Filip Zakrzewski | 8a5823d | 2022-01-07 20:47:30 +0000 | [diff] [blame] | 64 | "path": "frameworks/opt/net/ethernet" | 
|  | 65 | }, | 
|  | 66 | { | 
| Remi NGUYEN VAN | f353baf | 2021-03-19 16:03:06 +0000 | [diff] [blame] | 67 | "path": "packages/modules/NetworkStack" | 
|  | 68 | }, | 
|  | 69 | { | 
|  | 70 | "path": "packages/modules/CaptivePortalLogin" | 
|  | 71 | }, | 
|  | 72 | { | 
|  | 73 | "path": "packages/modules/Connectivity" | 
|  | 74 | }, | 
|  | 75 | { | 
|  | 76 | "path": "packages/modules/Connectivity/Tethering" | 
|  | 77 | } | 
| Remi NGUYEN VAN | f33b6ea | 2020-06-03 16:10:43 +0900 | [diff] [blame] | 78 | ] | 
|  | 79 | } |