test/jdk/java/net/httpclient/websocket/WSHandshakeExceptionTest.java
changeset 52121 934969c63223
parent 49944 4690a2871b44
equal deleted inserted replaced
52120:84fe81feae26 52121:934969c63223
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @summary Basic test for WebSocketHandshakeException
    26  * @summary Basic test for WebSocketHandshakeException
    27  * @library /lib/testlibrary
    27  * @library /test/lib
    28  * @build jdk.testlibrary.SimpleSSLContext
    28  * @build jdk.test.lib.net.SimpleSSLContext
    29  * @modules java.net.http
    29  * @modules java.net.http
    30  *          jdk.httpserver
    30  *          jdk.httpserver
    31  * @run testng/othervm -Djdk.internal.httpclient.debug=true WSHandshakeExceptionTest
    31  * @run testng/othervm -Djdk.internal.httpclient.debug=true WSHandshakeExceptionTest
    32  */
    32  */
    33 
    33 
    37 
    37 
    38 import java.net.InetAddress;
    38 import java.net.InetAddress;
    39 import java.net.http.HttpClient;
    39 import java.net.http.HttpClient;
    40 import java.net.http.WebSocket;
    40 import java.net.http.WebSocket;
    41 import java.net.http.WebSocketHandshakeException;
    41 import java.net.http.WebSocketHandshakeException;
    42 import jdk.testlibrary.SimpleSSLContext;
    42 import jdk.test.lib.net.SimpleSSLContext;
    43 import org.testng.annotations.AfterTest;
    43 import org.testng.annotations.AfterTest;
    44 import org.testng.annotations.BeforeTest;
    44 import org.testng.annotations.BeforeTest;
    45 import org.testng.annotations.DataProvider;
    45 import org.testng.annotations.DataProvider;
    46 import org.testng.annotations.Test;
    46 import org.testng.annotations.Test;
    47 import javax.net.ssl.SSLContext;
    47 import javax.net.ssl.SSLContext;