From 05dd1ba54005b15d92daf6f26329acf91fb3debb Mon Sep 17 00:00:00 2001 From: Remi NGUYEN VAN Date: Thu, 17 Jun 2021 15:34:25 +0900 Subject: Skip connectivity unit tests before S The tests are packaged together with other tests in a common coverage suite, so need to be individually annotated so that they are skipped before S. They do not need to pass on platforms older than S, because such platforms will not updated with the code that is tested. Bug: 187935317 Test: atest ConnectivityCoverageTests on R Change-Id: I10da45ae023e7f1e8cd11ec857b84346892a3fa8 --- tests/unit/java/android/net/IpSecAlgorithmTest.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/unit/java/android/net/IpSecAlgorithmTest.java') diff --git a/tests/unit/java/android/net/IpSecAlgorithmTest.java b/tests/unit/java/android/net/IpSecAlgorithmTest.java index 3a8d6004f6..fc08408af2 100644 --- a/tests/unit/java/android/net/IpSecAlgorithmTest.java +++ b/tests/unit/java/android/net/IpSecAlgorithmTest.java @@ -28,6 +28,7 @@ import android.content.res.Resources; import android.os.Build; import android.os.Parcel; +import androidx.test.filters.SdkSuppress; import androidx.test.filters.SmallTest; import androidx.test.runner.AndroidJUnit4; @@ -46,6 +47,7 @@ import java.util.Set; /** Unit tests for {@link IpSecAlgorithm}. */ @SmallTest @RunWith(AndroidJUnit4.class) +@SdkSuppress(minSdkVersion = Build.VERSION_CODES.S, codeName = "S") public class IpSecAlgorithmTest { private static final byte[] KEY_MATERIAL; -- cgit v1.2.3