easoncylee e2be3244e8 Convert apct/managed_provisioning/presubmit_test to Test Mapping Suite.
This CL is to convert CF presubmit tests to run in Test Mapping suite.
It has been verified that the test coverage is the same as the original
ATP config.

Bug: 145165552
Bug: 145574049

Test: TreeHugger
      atest ManagedProvisioningTests
Merged-In: I8234cc5cadae2ed2162cb09ec8695c7262fcdb2e
Change-Id: I268448e682b7c45741a62fa3bc1157986f3827d1
2022-04-20 11:31:13 +08:00

157 lines
3.6 KiB
Plaintext

{
"presubmit-large": [
{
"name": "FrameworksServicesTests",
"options": [
{
"include-annotation": "android.platform.test.annotations.Presubmit"
},
{
"exclude-annotation": "androidx.test.filters.FlakyTest"
},
{
"exclude-annotation": "org.junit.Ignore"
}
]
}
],
"presubmit": [
{
"name": "ManagedProvisioningTests",
"options": [
{
"exclude-annotation": "androidx.test.filters.FlakyTest"
}
]
},
{
"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": "FrameworkPermissionTests",
"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"
}
],
"auto-postsubmit": [
// Test tag for automotive targets. These are only running in postsubmit so as to harden the
// automotive targets to avoid introducing additional test flake and build time. The plan for
// presubmit testing for auto is to augment the existing tests to cover auto use cases as well.
// Additionally, this tag is used in targeted test suites to limit resource usage on the test
// infra during the hardening phase.
// TODO: this tag to be removed once the above is no longer an issue.
{
"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"
}
]
}
]
}