Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd912e01

Browse files
author
Stephane Landelle
committed
Remove old invalid test, fix previous commit
1 parent6ce19bb commitd912e01

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

‎src/test/java/com/ning/http/client/async/AsyncProvidersBasicTest.java‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,18 +1650,6 @@ public void onThrowable(Throwable t) {
16501650
}
16511651
}
16521652

1653-
@Test(groups = {"standalone","default_provider" },expectedExceptions =IllegalArgumentException.class)
1654-
publicvoidheadShouldNotAllowBody()throwsIllegalArgumentException,IOException {
1655-
AsyncHttpClientclient =getAsyncHttpClient(null);
1656-
try {
1657-
AsyncHttpClient.BoundRequestBuilderbuilder =client.prepareHead(getTargetUrl());
1658-
builder.setBody("Boo!");
1659-
builder.execute();
1660-
}finally {
1661-
client.close();
1662-
}
1663-
}
1664-
16651653
protectedStringgetBrokenTargetUrl() {
16661654
returnString.format("http:127.0.0.1:%d/foo/test",port1);
16671655
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp