Skip to content

Commit c98972b

Browse files
committed
NO ()
1 parent f6d97ea commit c98972b

20 files changed

+74
-74
lines changed

src/test/java/org/java_websocket/client/ConnectBlockingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
public class ConnectBlockingTest {
2020

21-
@Test()
21+
@Test
2222
@Timeout(1000)
2323
public void test_ConnectBlockingCleanup() throws Throwable {
2424

src/test/java/org/java_websocket/issues/Issue1142Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class Issue1142Test {
2828

2929

3030

31-
@Test()
31+
@Test
3232
@Timeout(4000)
3333
public void testWithoutSSLSession()
3434
throws IOException, URISyntaxException, InterruptedException {
@@ -66,7 +66,7 @@ public void onError(Exception ex) {
6666
server.stop();
6767
}
6868

69-
@Test()
69+
@Test
7070
@Timeout(4000)
7171
public void testWithSSLSession()
7272
throws IOException, URISyntaxException, KeyStoreException, NoSuchAlgorithmException, KeyManagementException, UnrecoverableKeyException, CertificateException, InterruptedException {

src/test/java/org/java_websocket/issues/Issue1160Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void onError(Exception ex) {
4848
}
4949

5050

51-
@Test()
51+
@Test
5252
@Timeout(5000)
5353
public void nonFatalErrorShallBeHandledByServer() throws Exception {
5454
final AtomicInteger isServerOnErrorCalledCounter = new AtomicInteger(0);
@@ -108,7 +108,7 @@ public void onStart() {
108108
server.stop();
109109
}
110110

111-
@Test()
111+
@Test
112112
@Timeout(5000)
113113
public void fatalErrorShallNotBeHandledByServer() throws Exception {
114114
int port = SocketUtil.getAvailablePort();

src/test/java/org/java_websocket/issues/Issue1203Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class Issue1203Test {
2222
private final CountDownLatch countServerDownLatch = new CountDownLatch(1);
2323
private final CountDownLatch countClientDownLatch = new CountDownLatch(1);
2424
boolean isClosedCalled = false;
25-
@Test()
25+
@Test
2626
@Timeout(50000)
2727
public void testIssue() throws Exception {
2828
int port = SocketUtil.getAvailablePort();

src/test/java/org/java_websocket/issues/Issue598Test.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -190,25 +190,25 @@ public void onStart() {
190190
server.stop();
191191
}
192192

193-
@Test()
193+
@Test
194194
@Timeout(2000)
195195
public void runBelowLimitBytebuffer() throws Exception {
196196
runTestScenario(0);
197197
}
198198

199-
@Test()
199+
@Test
200200
@Timeout(2000)
201201
public void runBelowSplitLimitBytebuffer() throws Exception {
202202
runTestScenario(1);
203203
}
204204

205-
@Test()
205+
@Test
206206
@Timeout(2000)
207207
public void runBelowLimitString() throws Exception {
208208
runTestScenario(2);
209209
}
210210

211-
@Test()
211+
@Test
212212
@Timeout(2000)
213213
public void runBelowSplitLimitString() throws Exception {
214214
runTestScenario(3);
@@ -220,19 +220,19 @@ public void runAboveLimitBytebuffer() throws Exception {
220220
runTestScenario(4);
221221
}
222222

223-
@Test()
223+
@Test
224224
@Timeout(2000)
225225
public void runAboveSplitLimitBytebuffer() throws Exception {
226226
runTestScenario(5);
227227
}
228228

229-
@Test()
229+
@Test
230230
@Timeout(2000)
231231
public void runAboveLimitString() throws Exception {
232232
runTestScenario(6);
233233
}
234234

235-
@Test()
235+
@Test
236236
@Timeout(2000)
237237
public void runAboveSplitLimitString() throws Exception {
238238
runTestScenario(7);

src/test/java/org/java_websocket/issues/Issue661Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class Issue661Test {
4848
private boolean wasError = false;
4949
private boolean wasBindException = false;
5050

51-
@Test()
51+
@Test
5252
@Timeout(2000)
5353
public void testIssue() throws Exception {
5454
int port = SocketUtil.getAvailablePort();

src/test/java/org/java_websocket/issues/Issue713Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void onStart() {
9292
}
9393
}
9494

95-
@Test()
95+
@Test
9696
@Timeout(2000)
9797
public void testIssue() throws Exception {
9898
final int port = SocketUtil.getAvailablePort();

src/test/java/org/java_websocket/issues/Issue732Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class Issue732Test {
4848

4949
private CountDownLatch countServerDownLatch = new CountDownLatch(1);
5050

51-
@Test()
51+
@Test
5252
@Timeout(2000)
5353
public void testIssue() throws Exception {
5454
int port = SocketUtil.getAvailablePort();

src/test/java/org/java_websocket/issues/Issue764Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class Issue764Test {
5353
private CountDownLatch countClientDownLatch = new CountDownLatch(2);
5454
private CountDownLatch countServerDownLatch = new CountDownLatch(1);
5555

56-
@Test()
56+
@Test
5757
@Timeout(2000)
5858
public void testIssue()
5959
throws IOException, URISyntaxException, KeyStoreException, NoSuchAlgorithmException, KeyManagementException, UnrecoverableKeyException, CertificateException, InterruptedException {

src/test/java/org/java_websocket/issues/Issue811Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class Issue811Test {
4040

4141
private CountDownLatch countServerDownLatch = new CountDownLatch(1);
4242

43-
@Test()
43+
@Test
4444
@Timeout(2000)
4545
public void testSetConnectionLostTimeout() throws IOException, InterruptedException {
4646
final MyWebSocketServer server = new MyWebSocketServer(

0 commit comments

Comments
 (0)