42da924e2a
This adds tests that run in-process in system server to presubmit. These are tests that use the new mechanism described at go/internal-api-testing to instrument the system server. This CL also changes the in-process tests to use DeviceCleaner to reboot the device after the tests, rather than using "am restart" as the previous approach caused subsequent tests to fail. Bug: 162933947 Test: atest Change-Id: I1487202b1432a7986b3a0a03b9cfb318d5ec53ae
73 lines
1.5 KiB
Plaintext
73 lines
1.5 KiB
Plaintext
{
|
|
"presubmit": [
|
|
{
|
|
"name": "FrameworksUiServicesTests",
|
|
"options": [
|
|
{
|
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "ExtServicesUnitTests",
|
|
"options": [
|
|
{
|
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "TestablesTests",
|
|
"options": [
|
|
{
|
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "FrameworksCoreTests",
|
|
"options": [
|
|
{
|
|
"include-annotation": "android.platform.test.annotations.Presubmit"
|
|
},
|
|
{
|
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
|
},
|
|
{
|
|
"exclude-annotation": "org.junit.Ignore"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "FrameworksServicesTests",
|
|
"options": [
|
|
{
|
|
"include-annotation": "android.platform.test.annotations.Presubmit"
|
|
},
|
|
{
|
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
|
},
|
|
{
|
|
"exclude-annotation": "org.junit.Ignore"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "FrameworksInProcessTests",
|
|
"options": [
|
|
{
|
|
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
|
},
|
|
{
|
|
"exclude-annotation": "org.junit.Ignore"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"postsubmit-managedprofile-stress": [
|
|
{
|
|
"name": "ManagedProfileLifecycleStressTest"
|
|
}
|
|
]
|
|
}
|