< prev index next >
test/jdk/java/net/httpclient/websocket/WebSocketProxyTest.java
Print this page
@@ -50,10 +50,11 @@
import java.util.concurrent.CompletionException;
import java.util.concurrent.CompletionStage;
import java.util.function.Function;
import java.util.function.Supplier;
import java.util.stream.Collectors;
+import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import static java.net.http.HttpClient.newBuilder;
import static java.nio.charset.StandardCharsets.UTF_8;
import static org.testng.Assert.assertEquals;
@@ -304,6 +305,11 @@
} catch (CompletionException expected) {
System.out.println("caught expected exception:" + expected);
}
}
}
+
+ @BeforeMethod
+ public void breakBetweenTests() {
+ System.out.println("\n-------\n");
+ }
}
< prev index next >