diff options
| author | Remi NGUYEN VAN <reminv@google.com> | 2021-06-17 15:34:25 +0900 |
|---|---|---|
| committer | Remi NGUYEN VAN <reminv@google.com> | 2021-06-25 10:10:12 +0900 |
| commit | 05dd1ba54005b15d92daf6f26329acf91fb3debb (patch) | |
| tree | da1179455dcf62f01d4a70b16da056a3c8907509 /tests/unit/java/com/android/server/IpSecServiceParameterizedTest.java | |
| parent | d4c644cf4d257115aebe635639bed1bd9c6fa098 (diff) | |
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
Diffstat (limited to 'tests/unit/java/com/android/server/IpSecServiceParameterizedTest.java')
| -rw-r--r-- | tests/unit/java/com/android/server/IpSecServiceParameterizedTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/java/com/android/server/IpSecServiceParameterizedTest.java b/tests/unit/java/com/android/server/IpSecServiceParameterizedTest.java index cf2c9c783a..2b5bfacf50 100644 --- a/tests/unit/java/com/android/server/IpSecServiceParameterizedTest.java +++ b/tests/unit/java/com/android/server/IpSecServiceParameterizedTest.java @@ -58,11 +58,13 @@ import android.net.LinkAddress; import android.net.LinkProperties; import android.net.Network; import android.os.Binder; +import android.os.Build; import android.os.ParcelFileDescriptor; import android.system.Os; import android.test.mock.MockContext; import android.util.ArraySet; +import androidx.test.filters.SdkSuppress; import androidx.test.filters.SmallTest; import com.android.server.IpSecService.TunnelInterfaceRecord; @@ -82,6 +84,7 @@ import java.util.Set; /** Unit tests for {@link IpSecService}. */ @SmallTest @RunWith(Parameterized.class) +@SdkSuppress(minSdkVersion = Build.VERSION_CODES.S, codeName = "S") public class IpSecServiceParameterizedTest { private static final int TEST_SPI = 0xD1201D; |
