summaryrefslogtreecommitdiffstats
path: root/src/test/java/com/btr/proxy/search/java/JavaProxySearchTest.java
diff options
context:
space:
mode:
authorSimon Rettberg2017-08-09 16:36:25 +0200
committerSimon Rettberg2017-08-09 16:36:25 +0200
commit90349ff2bf27a81ef7412f15b22769ff6ca6bd6e (patch)
treef518e1d90917377039017078359f6d2574d224cb /src/test/java/com/btr/proxy/search/java/JavaProxySearchTest.java
parentRewrite proxy string parsing, regex was a bit wonky (diff)
downloadproxy-vole-90349ff2bf27a81ef7412f15b22769ff6ca6bd6e.tar.gz
proxy-vole-90349ff2bf27a81ef7412f15b22769ff6ca6bd6e.tar.xz
proxy-vole-90349ff2bf27a81ef7412f15b22769ff6ca6bd6e.zip
Sophisticate proxy parsing and generating, fix misinterpretation if SOCKS proxies
This is a quick and dirty fix; it seems a major redesign is appropriate. We should also switch to some maintained version of proxy-vole from github. This one looks halfway active: https://github.com/MarkusBernhardt/proxy-vole or maybe one of its forks...
Diffstat (limited to 'src/test/java/com/btr/proxy/search/java/JavaProxySearchTest.java')
-rw-r--r--src/test/java/com/btr/proxy/search/java/JavaProxySearchTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/btr/proxy/search/java/JavaProxySearchTest.java b/src/test/java/com/btr/proxy/search/java/JavaProxySearchTest.java
index cfc473a..069cda3 100644
--- a/src/test/java/com/btr/proxy/search/java/JavaProxySearchTest.java
+++ b/src/test/java/com/btr/proxy/search/java/JavaProxySearchTest.java
@@ -129,7 +129,7 @@ public class JavaProxySearchTest {
************************************************************************/
@Test
public void testSOCKS() {
- List<Proxy> result = this.selector.select(TestUtil.SOCKS_TEST_URI);
+ List<Proxy> result = this.selector.select(TestUtil.SOCKET_TEST_URI);
assertEquals(TestUtil.SOCKS_TEST_PROXY, result.get(0));
}