|
20 | 20 | import static org.junit.Assert.assertNotNull; |
21 | 21 | import static org.junit.Assert.assertSame; |
22 | 22 | import static org.junit.Assert.assertTrue; |
| 23 | +// g3-add: import static org.junit.Assume.assumeFalse; |
23 | 24 | import static org.junit.Assert.fail; |
24 | 25 |
|
| 26 | +import org.conscrypt.TestUtils; |
| 27 | +import org.conscrypt.VeryBasicHttpServer; |
| 28 | +import org.junit.After; |
| 29 | +import org.junit.Test; |
| 30 | +import org.junit.runner.RunWith; |
| 31 | +import org.junit.runners.JUnit4; |
| 32 | + |
25 | 33 | import java.io.IOException; |
26 | 34 | import java.net.InetAddress; |
27 | 35 | import java.net.Socket; |
28 | 36 | import java.net.SocketException; |
29 | 37 | import java.net.SocketTimeoutException; |
30 | 38 | import java.net.URL; |
| 39 | +// g3-add: import java.util.concurrent.ExecutionException; |
31 | 40 | import java.util.concurrent.ExecutorService; |
32 | 41 | import java.util.concurrent.Executors; |
33 | 42 | import java.util.concurrent.Future; |
34 | 43 | import java.util.concurrent.TimeUnit; |
| 44 | + |
35 | 45 | import javax.net.ssl.HostnameVerifier; |
36 | 46 | import javax.net.ssl.HttpsURLConnection; |
37 | 47 | import javax.net.ssl.SSLSession; |
38 | 48 | import javax.net.ssl.SSLSocketFactory; |
39 | | -import org.conscrypt.TestUtils; |
40 | | -import org.conscrypt.VeryBasicHttpServer; |
41 | | -import org.junit.After; |
42 | | -import org.junit.Test; |
43 | | -import org.junit.runner.RunWith; |
44 | | -import org.junit.runners.JUnit4; |
45 | 49 |
|
46 | 50 | @RunWith(JUnit4.class) |
47 | 51 | public class HttpsURLConnectionTest { |
|
0 commit comments