Lines 365-368
Link Here
|
365 |
assertEquals(data4.length, 0); |
365 |
assertEquals(data4.length, 0); |
366 |
} |
366 |
} |
367 |
|
367 |
|
|
|
368 |
public void testBug255981() throws CoreException, URISyntaxException { |
369 |
setDataTest(IProxyData.HTTP_PROXY_TYPE); |
370 |
setDataTest(IProxyData.HTTPS_PROXY_TYPE); |
371 |
setDataTest(IProxyData.SOCKS_PROXY_TYPE); |
372 |
|
373 |
this.getProxyManager().setProxiesEnabled(false); |
374 |
|
375 |
IProxyData data = this.getProxyManager().getProxyDataForHost( |
376 |
"randomhost.com", IProxyData.HTTP_PROXY_TYPE); |
377 |
assertNull(data); |
378 |
|
379 |
IProxyData[] data2 = this.getProxyManager().select( |
380 |
new URI("http://randomhost.com")); |
381 |
assertEquals(data2.length, 0); |
382 |
|
383 |
IProxyData data3[] = this.getProxyManager().getProxyDataForHost( |
384 |
"http://randomhost.com"); |
385 |
assertEquals(data3.length, 0); |
386 |
} |
387 |
|
368 |
} |
388 |
} |