2019-11-25 12:46:38 -08:00
|
|
|
{
|
|
|
|
// Looking for unit test presubmit configuration?
|
|
|
|
// This currently lives in ATP config apct/system_ui/unit_test
|
2022-02-01 13:43:14 -08:00
|
|
|
"presubmit-large": [
|
2019-11-25 12:46:38 -08:00
|
|
|
{
|
|
|
|
"name": "PlatformScenarioTests",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"include-filter": "android.platform.test.scenario.sysui"
|
|
|
|
},
|
2019-12-03 09:25:52 -08:00
|
|
|
{
|
|
|
|
"include-annotation": "android.platform.test.scenario.annotation.Scenario"
|
|
|
|
},
|
2020-03-11 17:09:58 -04:00
|
|
|
{
|
|
|
|
"exclude-annotation": "org.junit.Ignore"
|
|
|
|
},
|
2020-08-17 13:00:48 -04:00
|
|
|
{
|
|
|
|
"exclude-annotation": "android.platform.test.annotations.Postsubmit"
|
2021-09-09 16:57:35 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "android.platform.test.scenario.annotation.LargeScreenOnly"
|
2021-12-09 16:27:46 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "android.platform.test.scenario.annotation.FoldableOnly"
|
2019-11-25 12:46:38 -08:00
|
|
|
}
|
|
|
|
]
|
2022-02-01 13:43:14 -08:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"presubmit": [
|
2021-08-13 11:09:09 -04:00
|
|
|
{
|
|
|
|
"name": "SystemUIGoogleTests",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"exclude-annotation": "org.junit.Ignore"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-04-05 15:29:59 -04:00
|
|
|
{
|
|
|
|
// Permission indicators
|
|
|
|
"name": "CtsPermission4TestCases",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"exclude-annotation": "org.junit.Ignore"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
// Permission indicators
|
|
|
|
"name": "CtsVoiceRecognitionTestCases",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"exclude-annotation": "org.junit.Ignore"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
|
|
|
}
|
|
|
|
]
|
2019-11-25 12:46:38 -08:00
|
|
|
}
|
2020-01-27 15:02:59 -08:00
|
|
|
],
|
2020-08-17 13:00:48 -04:00
|
|
|
|
|
|
|
// Curious where your @Scenario tests will run?
|
|
|
|
//
|
2021-04-06 12:02:50 -04:00
|
|
|
// @Ignore: nowhere
|
|
|
|
// @Staging or @FlakyTest: in staged-postsubmit, but not postsubmit or
|
|
|
|
// presubmit
|
2020-08-17 13:00:48 -04:00
|
|
|
// @Postsubmit: in postsubmit and staged-postsubmit, but not presubmit
|
|
|
|
// none of the above: in presubmit, postsubmit, and staged-postsubmit
|
|
|
|
//
|
|
|
|
// Therefore, please annotate new tests with @Staging, then with @Postsubmit
|
|
|
|
// once they're ready for postsubmit, then with neither once they're ready
|
|
|
|
// for presubmit.
|
|
|
|
//
|
|
|
|
// If you don't use @Staging or @Postsubmit, your new test will immediately
|
|
|
|
// block presubmit, which is probably not what you want!
|
2020-01-27 15:02:59 -08:00
|
|
|
"platinum-postsubmit": [
|
|
|
|
{
|
|
|
|
"name": "PlatformScenarioTests",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"include-filter": "android.platform.test.scenario.sysui"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"include-annotation": "android.platform.test.scenario.annotation.Scenario"
|
|
|
|
},
|
2020-03-11 17:09:58 -04:00
|
|
|
{
|
|
|
|
"exclude-annotation": "org.junit.Ignore"
|
|
|
|
},
|
2020-01-27 15:02:59 -08:00
|
|
|
{
|
|
|
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
|
|
|
},
|
2021-09-09 16:57:35 +00:00
|
|
|
{
|
|
|
|
"exclude-annotation": "android.platform.test.scenario.annotation.LargeScreenOnly"
|
2021-12-09 16:27:46 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "android.platform.test.scenario.annotation.FoldableOnly"
|
2020-01-27 15:02:59 -08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2020-02-27 14:38:28 -08:00
|
|
|
],
|
2020-08-17 13:00:48 -04:00
|
|
|
"staged-platinum-postsubmit": [
|
|
|
|
{
|
|
|
|
"name": "PlatformScenarioTests",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"include-filter": "android.platform.test.scenario.sysui"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"include-annotation": "android.platform.test.scenario.annotation.Scenario"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "org.junit.Ignore"
|
2021-09-09 16:57:35 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "android.platform.test.scenario.annotation.LargeScreenOnly"
|
2021-12-09 16:27:46 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "android.platform.test.scenario.annotation.FoldableOnly"
|
2020-08-17 13:00:48 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2020-02-27 14:38:28 -08:00
|
|
|
"auto-end-to-end-postsubmit": [
|
|
|
|
{
|
2021-10-07 17:03:30 -07:00
|
|
|
"name": "AndroidAutomotiveHomeTests",
|
2020-02-27 14:38:28 -08:00
|
|
|
"options" : [
|
|
|
|
{
|
2021-10-07 17:03:30 -07:00
|
|
|
"include-filter": "android.platform.tests.HomeTest"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "AndroidAutomotiveNotificationsTests",
|
|
|
|
"options" : [
|
2020-02-27 14:38:28 -08:00
|
|
|
{
|
2021-10-07 17:03:30 -07:00
|
|
|
"include-filter": "android.platform.tests.NotificationTest"
|
2020-02-27 14:38:28 -08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-09-09 16:57:35 +00:00
|
|
|
],
|
|
|
|
"large-screen-postsubmit": [
|
|
|
|
{
|
|
|
|
"name": "PlatformScenarioTests",
|
|
|
|
"options" : [
|
|
|
|
{
|
|
|
|
"include-filter": "android.platform.test.scenario.sysui"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"include-annotation": "android.platform.test.scenario.annotation.LargeScreenOnly"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "org.junit.Ignore"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-11-12 18:10:11 -08:00
|
|
|
],
|
|
|
|
"hubui-postsubmit": [
|
|
|
|
{
|
|
|
|
"name": "PlatformScenarioTests",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"include-filter": "android.platform.test.scenario.hubui"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"include-annotation": "android.platform.test.scenario.annotation.HubUi"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "org.junit.Ignore"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2022-03-17 09:20:33 +00:00
|
|
|
],
|
|
|
|
"hubui-presubmit": [
|
|
|
|
{
|
|
|
|
"name": "PlatformScenarioTests",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"include-annotation": "android.platform.test.annotations.Presubmit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"include-annotation": "android.platform.test.scenario.annotation.HubUi"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"include-filter": "android.platform.test.scenario.hubui"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "org.junit.Ignore"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "android.platform.test.annotations.Postsubmit"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2019-11-25 12:46:38 -08:00
|
|
|
]
|
|
|
|
}
|