test/jdk/java/net/httpclient/LineStreamsAndSurrogatesTest.java
branchhttp-client-branch
changeset 56089 42208b2f224e
parent 56009 cf8792f51dee
child 56167 96fa4f49a9ff
equal deleted inserted replaced
56088:38fac6d0521d 56089:42208b2f224e
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 import jdk.incubator.http.HttpResponse.BodySubscriber;
    24 import java.net.http.HttpResponse.BodySubscriber;
    25 import org.testng.annotations.DataProvider;
    25 import org.testng.annotations.DataProvider;
    26 import org.testng.annotations.Test;
    26 import org.testng.annotations.Test;
    27 
    27 
    28 import java.io.BufferedReader;
    28 import java.io.BufferedReader;
    29 import java.io.ByteArrayInputStream;
    29 import java.io.ByteArrayInputStream;
    49 /*
    49 /*
    50  * @test
    50  * @test
    51  * @summary tests for BodySubscribers returned by asLines.
    51  * @summary tests for BodySubscribers returned by asLines.
    52  *       In particular tests that surrogate characters are handled
    52  *       In particular tests that surrogate characters are handled
    53  *       correctly.
    53  *       correctly.
    54  * @modules jdk.incubator.httpclient java.logging
    54  * @modules java.net.http java.logging
    55  * @run testng/othervm LineStreamsAndSurrogatesTest
    55  * @run testng/othervm LineStreamsAndSurrogatesTest
    56  */
    56  */
    57 
    57 
    58 public class LineStreamsAndSurrogatesTest {
    58 public class LineStreamsAndSurrogatesTest {
    59 
    59