From bdb79c510fa3e2600cceb865d1fba12b156e7b4f Mon Sep 17 00:00:00 2001 From: Yuyang Huang Date: Thu, 2 Feb 2023 13:22:12 +0900 Subject: [PATCH] Add CtsNetTestCasesMaxTargetSdk33 The annotation is used to verify behavior for apps with max target SDK 33. Bug: 267102290 Test: atest CtsNetTestCasesMaxTargetSdk33 Change-Id: I71ba4433389ba07553ea3d6d34a2bf64fdc132ad --- .../filters/CtsNetTestCasesMaxTargetSdk33.kt | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 staticlibs/testutils/devicetests/com/android/testutils/filters/CtsNetTestCasesMaxTargetSdk33.kt diff --git a/staticlibs/testutils/devicetests/com/android/testutils/filters/CtsNetTestCasesMaxTargetSdk33.kt b/staticlibs/testutils/devicetests/com/android/testutils/filters/CtsNetTestCasesMaxTargetSdk33.kt new file mode 100644 index 0000000000..5af890ff8b --- /dev/null +++ b/staticlibs/testutils/devicetests/com/android/testutils/filters/CtsNetTestCasesMaxTargetSdk33.kt @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2023 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.android.testutils.filters + +/** + * Only run this test in the CtsNetTestCasesMaxTargetSdk33 suite. + */ +annotation class CtsNetTestCasesMaxTargetSdk33(val reason: String)