aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-16 20:02:10 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-16 20:02:10 +0000
commit34b9722529f93be8b4d4ff94f51796207484c774 (patch)
tree71fa65b093ef6b0c0a10a9aeccda8162fdff0dcf
parent51ad3525ec17a30c286096c329ba1f1851fbebd7 (diff)
parent5212a2cc10c5f494590eb17136ee14ba93734ffb (diff)
downloadconscrypt-android12-tests-release.tar.gz
Snap for 11850919 from 5212a2cc10c5f494590eb17136ee14ba93734ffb to android12-tests-releaseandroid12-tests-release
Change-Id: I615054b3ff9ca42dc040fbeac6e472b9a37c6acf
-rw-r--r--common/src/test/java/org/conscrypt/javax/net/ssl/SSLSocketTest.java5
-rw-r--r--repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/SSLSocketTest.java5
2 files changed, 10 insertions, 0 deletions
diff --git a/common/src/test/java/org/conscrypt/javax/net/ssl/SSLSocketTest.java b/common/src/test/java/org/conscrypt/javax/net/ssl/SSLSocketTest.java
index e5a18cef..37b09e8a 100644
--- a/common/src/test/java/org/conscrypt/javax/net/ssl/SSLSocketTest.java
+++ b/common/src/test/java/org/conscrypt/javax/net/ssl/SSLSocketTest.java
@@ -72,6 +72,7 @@ import org.conscrypt.tlswire.handshake.HelloExtension;
import org.conscrypt.tlswire.util.TlsProtocolVersion;
import org.junit.After;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -421,6 +422,7 @@ public class SSLSocketTest {
* lower span of contiguous protocols is used in practice.
*/
@Test
+ @Ignore("Needs TLS 1.0 or 1.1 which are scheduled for deprecation")
public void test_SSLSocket_noncontiguousProtocols_useLower() throws Exception {
TestSSLContext c = TestSSLContext.create();
SSLContext clientContext = c.clientContext;
@@ -454,6 +456,7 @@ public class SSLSocketTest {
* for both client and server isn't supported by the other.
*/
@Test
+ @Ignore("Needs TLS 1.0 or 1.1 which are scheduled for deprecation")
public void test_SSLSocket_noncontiguousProtocols_canNegotiate() throws Exception {
TestSSLContext c = TestSSLContext.create();
SSLContext clientContext = c.clientContext;
@@ -1048,6 +1051,7 @@ public class SSLSocketTest {
}
@Test
+ @Ignore("Needs TLS 1.0 or 1.1 which are scheduled for deprecation")
public void test_SSLSocket_sendsTlsFallbackScsv_InappropriateFallback_Failure()
throws Exception {
TestSSLContext context = TestSSLContext.create();
@@ -1101,6 +1105,7 @@ public class SSLSocketTest {
}
@Test
+ @Ignore("Needs TLS 1.0 or 1.1 which are scheduled for deprecation")
public void test_SSLSocket_tlsFallback_byVersion() throws Exception {
String[] supportedProtocols =
SSLContext.getDefault().getDefaultSSLParameters().getProtocols();
diff --git a/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/SSLSocketTest.java b/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/SSLSocketTest.java
index 197674b2..f107d45e 100644
--- a/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/SSLSocketTest.java
+++ b/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/SSLSocketTest.java
@@ -73,6 +73,7 @@ import javax.net.ssl.SSLSocketFactory;
import javax.net.ssl.X509ExtendedTrustManager;
import org.junit.After;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -425,6 +426,7 @@ public class SSLSocketTest {
* lower span of contiguous protocols is used in practice.
*/
@Test
+ @Ignore("Needs TLS 1.0 or 1.1 which are scheduled for deprecation")
public void test_SSLSocket_noncontiguousProtocols_useLower() throws Exception {
TestSSLContext c = TestSSLContext.create();
SSLContext clientContext = c.clientContext;
@@ -458,6 +460,7 @@ public class SSLSocketTest {
* for both client and server isn't supported by the other.
*/
@Test
+ @Ignore("Needs TLS 1.0 or 1.1 which are scheduled for deprecation")
public void test_SSLSocket_noncontiguousProtocols_canNegotiate() throws Exception {
TestSSLContext c = TestSSLContext.create();
SSLContext clientContext = c.clientContext;
@@ -1052,6 +1055,7 @@ public class SSLSocketTest {
}
@Test
+ @Ignore("Needs TLS 1.0 or 1.1 which are scheduled for deprecation")
public void test_SSLSocket_sendsTlsFallbackScsv_InappropriateFallback_Failure()
throws Exception {
TestSSLContext context = TestSSLContext.create();
@@ -1105,6 +1109,7 @@ public class SSLSocketTest {
}
@Test
+ @Ignore("Needs TLS 1.0 or 1.1 which are scheduled for deprecation")
public void test_SSLSocket_tlsFallback_byVersion() throws Exception {
String[] supportedProtocols =
SSLContext.getDefault().getDefaultSSLParameters().getProtocols();