aboutsummaryrefslogtreecommitdiffstats
path: root/tests/netx/unit/net/sourceforge
diff options
context:
space:
mode:
authorAdam Domurad <[email protected]>2013-04-23 13:55:23 -0400
committerAdam Domurad <[email protected]>2013-04-23 13:55:23 -0400
commit75392ff66c30d88fa173a2b38a94ab9f3ddaf39d (patch)
treedac20cace8d5408a1e57a6594b7bb7be8e2c856d /tests/netx/unit/net/sourceforge
parent29e4dba60a7ee935ee93e6cb1338554af2bf88ed (diff)
Introduce more UrlUtils functions.
Diffstat (limited to 'tests/netx/unit/net/sourceforge')
-rw-r--r--tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java b/tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java
index 01c7b8f..29f372b 100644
--- a/tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java
+++ b/tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java
@@ -40,6 +40,9 @@ import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
+
+import net.sourceforge.jnlp.util.UrlUtils;
+
import org.junit.Assert;
import org.junit.Test;
@@ -62,9 +65,6 @@ public class ResourceTrackerTest {
}
}
- private static URL normalizeUrl(URL uRL) throws MalformedURLException, UnsupportedEncodingException, URISyntaxException {
- return ResourceTracker.normalizeUrl(uRL, false);
- }
public static final int CHANGE_BORDER = 6;
public static URL[] getUrls() throws MalformedURLException {
@@ -92,7 +92,7 @@ public class ResourceTrackerTest {
URL[] n = new URL[u.length];
for (int i = 0; i < n.length; i++) {
- n[i] = normalizeUrl(u[i]);
+ n[i] = UrlUtils.normalizeUrl(u[i]);
}
return n;