Skip to content

Commit 5d79c27

Browse files
committed
Drop default_provider test group now we only have one
1 parent da99f3e commit 5d79c27

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+236
-236
lines changed

client/src/test/java/org/asynchttpclient/AsyncStreamHandlerTest.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class AsyncStreamHandlerTest extends AbstractBasicTest {
3434

3535
private static final String RESPONSE = "param_1_";
3636

37-
@Test(groups = { "standalone", "default_provider" })
37+
@Test(groups = "standalone")
3838
public void asyncStreamGETTest() throws Exception {
3939
final CountDownLatch l = new CountDownLatch(1);
4040
final AtomicReference<HttpHeaders> responseHeaders = new AtomicReference<>();
@@ -73,7 +73,7 @@ public void onThrowable(Throwable t) {
7373
}
7474
}
7575

76-
@Test(groups = { "standalone", "default_provider" })
76+
@Test(groups = "standalone")
7777
public void asyncStreamPOSTTest() throws Exception {
7878

7979
final AtomicReference<HttpHeaders> responseHeaders = new AtomicReference<>();
@@ -111,7 +111,7 @@ public String onCompleted() throws Exception {
111111
}
112112
}
113113

114-
@Test(groups = { "standalone", "default_provider" })
114+
@Test(groups = "standalone")
115115
public void asyncStreamInterruptTest() throws Exception {
116116
final CountDownLatch l = new CountDownLatch(1);
117117

@@ -152,7 +152,7 @@ public void onThrowable(Throwable t) {
152152
}
153153
}
154154

155-
@Test(groups = { "standalone", "default_provider" })
155+
@Test(groups = "standalone")
156156
public void asyncStreamFutureTest() throws Exception {
157157
final AtomicReference<HttpHeaders> responseHeaders = new AtomicReference<>();
158158
final AtomicReference<Throwable> throwable = new AtomicReference<>();
@@ -193,7 +193,7 @@ public void onThrowable(Throwable t) {
193193
}
194194
}
195195

196-
@Test(groups = { "standalone", "default_provider" })
196+
@Test(groups = "standalone")
197197
public void asyncStreamThrowableRefusedTest() throws Exception {
198198

199199
final CountDownLatch l = new CountDownLatch(1);
@@ -223,7 +223,7 @@ public void onThrowable(Throwable t) {
223223
}
224224
}
225225

226-
@Test(groups = { "standalone", "default_provider" })
226+
@Test(groups = "standalone")
227227
public void asyncStreamReusePOSTTest() throws Exception {
228228

229229
final AtomicReference<HttpHeaders> responseHeaders = new AtomicReference<>();
@@ -293,7 +293,7 @@ public String onCompleted() throws Exception {
293293
}
294294
}
295295

296-
@Test(groups = { "online", "default_provider" })
296+
@Test(groups = "online")
297297
public void asyncStream302RedirectWithBody() throws Exception {
298298
final AtomicReference<Integer> statusCode = new AtomicReference<>(0);
299299
final AtomicReference<HttpHeaders> responseHeaders = new AtomicReference<>();
@@ -333,7 +333,7 @@ public String onCompleted() throws Exception {
333333
}
334334
}
335335

336-
@Test(groups = { "standalone", "default_provider" }, timeOut = 3000, description = "Test behavior of 'read only status line' scenario.")
336+
@Test(groups = "standalone", timeOut = 3000, description = "Test behavior of 'read only status line' scenario.")
337337
public void asyncStreamJustStatusLine() throws Exception {
338338
final int STATUS = 0;
339339
final int COMPLETED = 1;
@@ -399,7 +399,7 @@ public Integer onCompleted() throws Exception {
399399
}
400400
}
401401

402-
@Test(groups = { "online", "default_provider" })
402+
@Test(groups = "online")
403403
public void asyncOptionsTest() throws Exception {
404404
final AtomicReference<HttpHeaders> responseHeaders = new AtomicReference<>();
405405

@@ -430,7 +430,7 @@ public String onCompleted() throws Exception {
430430
}
431431
}
432432

433-
@Test(groups = { "standalone", "default_provider" })
433+
@Test(groups = "standalone")
434434
public void closeConnectionTest() throws Exception {
435435
try (AsyncHttpClient c = asyncHttpClient()) {
436436
Response r = c.prepareGet(getTargetUrl()).execute(new AsyncHandler<Response>() {

client/src/test/java/org/asynchttpclient/AsyncStreamLifecycleTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public void run() {
9595

9696
// TODO Netty only.
9797

98-
@Test(groups = { "standalone", "default_provider" })
98+
@Test(groups = "standalone")
9999
public void testStream() throws IOException {
100100
try (AsyncHttpClient ahc = asyncHttpClient()) {
101101
final AtomicBoolean err = new AtomicBoolean(false);

client/src/test/java/org/asynchttpclient/AuthTimeoutTest.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void handle(String s, Request r, HttpServletRequest request, HttpServletR
7979
}
8080
}
8181

82-
@Test(groups = { "standalone", "default_provider" }, enabled = false)
82+
@Test(groups = "standalone", enabled = false)
8383
public void basicAuthTimeoutTest() throws Exception {
8484
try (AsyncHttpClient client = newClient()) {
8585
Future<Response> f = execute(client, server, false);
@@ -90,7 +90,7 @@ public void basicAuthTimeoutTest() throws Exception {
9090
}
9191
}
9292

93-
@Test(groups = { "standalone", "default_provider" }, enabled = false)
93+
@Test(groups = "standalone", enabled = false)
9494
public void basicPreemptiveAuthTimeoutTest() throws Exception {
9595
try (AsyncHttpClient client = newClient()) {
9696
Future<Response> f = execute(client, server, true);
@@ -101,7 +101,7 @@ public void basicPreemptiveAuthTimeoutTest() throws Exception {
101101
}
102102
}
103103

104-
@Test(groups = { "standalone", "default_provider" }, enabled = false)
104+
@Test(groups = "standalone", enabled = false)
105105
public void digestAuthTimeoutTest() throws Exception {
106106
try (AsyncHttpClient client = newClient()) {
107107
Future<Response> f = execute(client, server2, false);
@@ -112,7 +112,7 @@ public void digestAuthTimeoutTest() throws Exception {
112112
}
113113
}
114114

115-
@Test(groups = { "standalone", "default_provider" }, enabled = false)
115+
@Test(groups = "standalone", enabled = false)
116116
public void digestPreemptiveAuthTimeoutTest() throws Exception {
117117
try (AsyncHttpClient client = newClient()) {
118118
Future<Response> f = execute(client, server2, true);
@@ -123,7 +123,7 @@ public void digestPreemptiveAuthTimeoutTest() throws Exception {
123123
}
124124
}
125125

126-
@Test(groups = { "standalone", "default_provider" }, enabled = false)
126+
@Test(groups = "standalone", enabled = false)
127127
public void basicFutureAuthTimeoutTest() throws Exception {
128128
try (AsyncHttpClient client = newClient()) {
129129
Future<Response> f = execute(client, server, false);
@@ -134,7 +134,7 @@ public void basicFutureAuthTimeoutTest() throws Exception {
134134
}
135135
}
136136

137-
@Test(groups = { "standalone", "default_provider" }, enabled = false)
137+
@Test(groups = "standalone", enabled = false)
138138
public void basicFuturePreemptiveAuthTimeoutTest() throws Exception {
139139
try (AsyncHttpClient client = newClient()) {
140140
Future<Response> f = execute(client, server, true);
@@ -145,7 +145,7 @@ public void basicFuturePreemptiveAuthTimeoutTest() throws Exception {
145145
}
146146
}
147147

148-
@Test(groups = { "standalone", "default_provider" }, enabled = false)
148+
@Test(groups = "standalone", enabled = false)
149149
public void digestFutureAuthTimeoutTest() throws Exception {
150150
try (AsyncHttpClient client = newClient()) {
151151
Future<Response> f = execute(client, server2, false);
@@ -156,7 +156,7 @@ public void digestFutureAuthTimeoutTest() throws Exception {
156156
}
157157
}
158158

159-
@Test(groups = { "standalone", "default_provider" }, enabled = false)
159+
@Test(groups = "standalone", enabled = false)
160160
public void digestFuturePreemptiveAuthTimeoutTest() throws Exception {
161161
try (AsyncHttpClient client = newClient()) {
162162
Future<Response> f = execute(client, server2, true);

client/src/test/java/org/asynchttpclient/BasicAuthTest.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public void handle(String s, Request r, HttpServletRequest request, HttpServletR
159159
}
160160
}
161161

162-
@Test(groups = { "standalone", "default_provider" })
162+
@Test(groups = "standalone")
163163
public void basicAuthTest() throws IOException, ExecutionException, TimeoutException, InterruptedException {
164164
try (AsyncHttpClient client = asyncHttpClient()) {
165165
Future<Response> f = client.prepareGet(getTargetUrl())//
@@ -172,7 +172,7 @@ public void basicAuthTest() throws IOException, ExecutionException, TimeoutExcep
172172
}
173173
}
174174

175-
@Test(groups = { "standalone", "default_provider" })
175+
@Test(groups = "standalone")
176176
public void redirectAndDigestAuthTest() throws Exception, ExecutionException, TimeoutException, InterruptedException {
177177
try (AsyncHttpClient client = asyncHttpClient(config().setFollowRedirect(true).setMaxRedirects(10))) {
178178
Future<Response> f = client.prepareGet(getTargetUrl2())//
@@ -185,7 +185,7 @@ public void redirectAndDigestAuthTest() throws Exception, ExecutionException, Ti
185185
}
186186
}
187187

188-
@Test(groups = { "standalone", "default_provider" })
188+
@Test(groups = "standalone")
189189
public void basic401Test() throws IOException, ExecutionException, TimeoutException, InterruptedException {
190190
try (AsyncHttpClient client = asyncHttpClient()) {
191191
BoundRequestBuilder r = client.prepareGet(getTargetUrl())//
@@ -227,7 +227,7 @@ public Integer onCompleted() throws Exception {
227227
}
228228
}
229229

230-
@Test(groups = { "standalone", "default_provider" })
230+
@Test(groups = "standalone")
231231
public void basicAuthTestPreemtiveTest() throws IOException, ExecutionException, TimeoutException, InterruptedException {
232232
try (AsyncHttpClient client = asyncHttpClient()) {
233233
// send the request to the no-auth endpoint to be able to verify the
@@ -243,7 +243,7 @@ public void basicAuthTestPreemtiveTest() throws IOException, ExecutionException,
243243
}
244244
}
245245

246-
@Test(groups = { "standalone", "default_provider" })
246+
@Test(groups = "standalone")
247247
public void basicAuthNegativeTest() throws IOException, ExecutionException, TimeoutException, InterruptedException {
248248
try (AsyncHttpClient client = asyncHttpClient()) {
249249
Future<Response> f = client.prepareGet(getTargetUrl())//
@@ -256,7 +256,7 @@ public void basicAuthNegativeTest() throws IOException, ExecutionException, Time
256256
}
257257
}
258258

259-
@Test(groups = { "standalone", "default_provider" })
259+
@Test(groups = "standalone")
260260
public void basicAuthInputStreamTest() throws IOException, ExecutionException, TimeoutException, InterruptedException {
261261
try (AsyncHttpClient client = asyncHttpClient()) {
262262
Future<Response> f = client.preparePost(getTargetUrl())//
@@ -272,7 +272,7 @@ public void basicAuthInputStreamTest() throws IOException, ExecutionException, T
272272
}
273273
}
274274

275-
@Test(groups = { "standalone", "default_provider" })
275+
@Test(groups = "standalone")
276276
public void basicAuthFileTest() throws Exception {
277277
try (AsyncHttpClient client = asyncHttpClient()) {
278278
Future<Response> f = client.preparePost(getTargetUrl())//
@@ -288,7 +288,7 @@ public void basicAuthFileTest() throws Exception {
288288
}
289289
}
290290

291-
@Test(groups = { "standalone", "default_provider" })
291+
@Test(groups = "standalone")
292292
public void basicAuthAsyncConfigTest() throws Exception {
293293
try (AsyncHttpClient client = asyncHttpClient(config().setRealm(basicAuthRealm(USER, ADMIN)))) {
294294
Future<Response> f = client.preparePost(getTargetUrl())//
@@ -303,7 +303,7 @@ public void basicAuthAsyncConfigTest() throws Exception {
303303
}
304304
}
305305

306-
@Test(groups = { "standalone", "default_provider" })
306+
@Test(groups = "standalone")
307307
public void basicAuthFileNoKeepAliveTest() throws Exception {
308308
try (AsyncHttpClient client = asyncHttpClient(config().setKeepAlive(false))) {
309309

@@ -320,7 +320,7 @@ public void basicAuthFileNoKeepAliveTest() throws Exception {
320320
}
321321
}
322322

323-
@Test(groups = { "standalone", "default_provider" })
323+
@Test(groups = "standalone")
324324
public void noneAuthTest() throws IOException, ExecutionException, TimeoutException, InterruptedException {
325325
try (AsyncHttpClient client = asyncHttpClient()) {
326326
BoundRequestBuilder r = client.prepareGet(getTargetUrl()).setRealm(basicAuthRealm(USER, ADMIN).build());

0 commit comments

Comments
 (0)