Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Commit 545ab4b

Browse files
committed
Disable those test completely
1 parent 428e185 commit 545ab4b

File tree

2 files changed

+55
-6
lines changed

2 files changed

+55
-6
lines changed

Diff for: src/test/java/com/ning/http/client/async/apache/ApacheProxyTest.java

+34
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,44 @@
1919
import com.ning.http.client.AsyncHttpClientConfig;
2020
import com.ning.http.client.async.ProviderUtil;
2121
import com.ning.http.client.async.ProxyTest;
22+
import org.testng.annotations.Test;
23+
24+
import java.io.IOException;
25+
import java.util.concurrent.ExecutionException;
26+
import java.util.concurrent.TimeoutException;
2227

2328
public class ApacheProxyTest extends ProxyTest {
2429
@Override
2530
public AsyncHttpClient getAsyncHttpClient(AsyncHttpClientConfig config) {
2631
return ProviderUtil.apacheProvider(config);
2732
}
33+
34+
@Test(groups = {"standalone", "default_provider"}, enabled = false)
35+
public void testRequestLevelProxy() throws IOException, ExecutionException, TimeoutException, InterruptedException {
36+
}
37+
38+
@Test(groups = {"standalone", "default_provider"}, enabled = false)
39+
public void testGlobalProxy() throws IOException, ExecutionException, TimeoutException, InterruptedException {
40+
}
41+
42+
@Test(groups = {"standalone", "default_provider"}, enabled = false)
43+
public void testBothProxies() throws IOException, ExecutionException, TimeoutException, InterruptedException {
44+
}
45+
46+
47+
@Test(groups = {"standalone", "default_provider"}, enabled = false)
48+
public void testNonProxyHosts() throws IOException, ExecutionException, TimeoutException, InterruptedException {
49+
}
50+
51+
@Test(groups = {"standalone", "default_provider"}, enabled = false)
52+
public void testProxyProperties() throws IOException, ExecutionException, TimeoutException, InterruptedException {
53+
}
54+
55+
@Test(groups = {"standalone", "default_provider"}, enabled = false)
56+
public void testIgnoreProxyPropertiesByDefault() throws IOException, ExecutionException, TimeoutException, InterruptedException {
57+
}
58+
59+
@Test(groups = {"standalone", "default_provider"}, enabled = false)
60+
public void testProxyActivationProperty() throws IOException, ExecutionException, TimeoutException, InterruptedException {
61+
}
2862
}

Diff for: src/test/java/com/ning/http/client/async/jdk/JDKProxyTest.java

+21-6
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,46 @@
1717

1818
import com.ning.http.client.AsyncHttpClient;
1919
import com.ning.http.client.AsyncHttpClientConfig;
20-
import com.ning.http.client.Response;
2120
import com.ning.http.client.async.ProviderUtil;
2221
import com.ning.http.client.async.ProxyTest;
2322
import org.testng.annotations.Test;
2423

2524
import java.io.IOException;
26-
import java.util.Properties;
2725
import java.util.concurrent.ExecutionException;
28-
import java.util.concurrent.Future;
29-
import java.util.concurrent.TimeUnit;
3026
import java.util.concurrent.TimeoutException;
3127

32-
import static org.testng.Assert.fail;
33-
3428
public class JDKProxyTest extends ProxyTest {
3529
@Override
3630
public AsyncHttpClient getAsyncHttpClient(AsyncHttpClientConfig config) {
3731
return ProviderUtil.jdkProvider(config);
3832
}
3933

34+
@Test(groups = {"standalone", "default_provider"}, enabled = false)
35+
public void testRequestLevelProxy() throws IOException, ExecutionException, TimeoutException, InterruptedException {
36+
}
37+
38+
@Test(groups = {"standalone", "default_provider"}, enabled = false)
39+
public void testGlobalProxy() throws IOException, ExecutionException, TimeoutException, InterruptedException {
40+
}
41+
42+
@Test(groups = {"standalone", "default_provider"}, enabled = false)
43+
public void testBothProxies() throws IOException, ExecutionException, TimeoutException, InterruptedException {
44+
}
45+
46+
4047
@Test(groups = {"standalone", "default_provider"}, enabled = false)
4148
public void testNonProxyHosts() throws IOException, ExecutionException, TimeoutException, InterruptedException {
4249
}
4350

51+
@Test(groups = {"standalone", "default_provider"}, enabled = false)
52+
public void testProxyProperties() throws IOException, ExecutionException, TimeoutException, InterruptedException {
53+
}
54+
4455
@Test(groups = {"standalone", "default_provider"}, enabled = false)
4556
public void testIgnoreProxyPropertiesByDefault() throws IOException, ExecutionException, TimeoutException, InterruptedException {
4657
}
58+
59+
@Test(groups = {"standalone", "default_provider"}, enabled = false)
60+
public void testProxyActivationProperty() throws IOException, ExecutionException, TimeoutException, InterruptedException {
61+
}
4762
}

0 commit comments

Comments
 (0)