android_packages_modules_Co.../staticlibs/testutils
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lorenzo Colitti db5d69ec49 Add an annotation to skip tests if the APK has target SDK > 31.
This skips a test if the APK it's running in targets an SDK
above 31. This allows us to add such tests to CtsNetTestCases,
which is currently targeting SDK 33.

By using the annotation as an include-annotation filter in
AndroidTestTemplate.xml, this makes it very easy to create a
clone of CtsNetTestCases that targets SDK 31 and which only runs
tests annotated with this annotation. Thus, CtsNetTestCases and
CtsNetTestCasesLatestSdk will run all tests that pass if target
SDK is 33, and CtsNetTestCasesMaxTargetSdk31 will only run the
tests that requires target SDK 31. See other CL in topic.

Bug: 233553525
Test: atest CtsNetTestCasesMaxTargetSdk31:android.net.LinkPropertiesTest
Test: atest CtsNetTestCasesLatestSdk:android.net.LinkPropertiesTest
Change-Id: Ib5df3bbc659d6a737a846fdf57cddee002e4e9ae
2022-05-30 15:20:26 +09:00
..
app/connectivitychecker Enable strict_updatability_linting in frameworks/libs/net 2021-11-19 15:41:27 +08:00
devicetests/com/android/testutils Add an annotation to skip tests if the APK has target SDK > 31. 2022-05-30 15:20:26 +09:00
host/com/android/testutils Add DisableConfigSyncTargetPreparer 2022-03-09 12:23:49 +09:00
hostdevice/com/android Support multiple cleanup blocks in tryTest{} 2021-12-06 17:57:29 +09:00
Android.bp Remove dependency on compatibility-device-util-axt 2022-02-16 18:52:32 +09:00