Add an annotation for ignoring tests by dev SDK
Contrary to androidx.test.filters.SdkSuppress, this annotation considers the SDK to be higher than the Build.VERSION.SDK_INT reported by the device when the device is not using a release SDK. For example, an aosp/master build based on SDK 29 is considered to have a development SDK that is strictly higher than 29. Test: atest CtsNetTestCasesLatestSdk:android.net.CaptivePortalTest using the change on a Q build and an AOSP build. Bug: 150918852 Merged-In: Ibaea05565bd8a362e829cdd1e5420aa2881b0889 (cherry picked from commit f30540f2) Change-Id: I57f95d4673031a1ff58218bf4c79bb26b7eaa16d
Loading
Please register or sign in to comment