aboutsummaryrefslogtreecommitdiffstats
path: root/src/junit/com/jogamp/common/net/AssetURLConnectionUnregisteredTest.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-04-02 17:23:31 +0200
committerSven Gothel <[email protected]>2012-04-02 17:23:31 +0200
commit924e2eefd99b2c93d50c19db146253c85e04fe6d (patch)
tree1cec506c776754bd2cfcc03f5691667a8f35d835 /src/junit/com/jogamp/common/net/AssetURLConnectionUnregisteredTest.java
parent28814ae3946cf13619b70ddaf08c564f88252519 (diff)
Fix IOUtil: Handle all '../' and './' cases by reducing the path.
Diffstat (limited to 'src/junit/com/jogamp/common/net/AssetURLConnectionUnregisteredTest.java')
-rw-r--r--src/junit/com/jogamp/common/net/AssetURLConnectionUnregisteredTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/junit/com/jogamp/common/net/AssetURLConnectionUnregisteredTest.java b/src/junit/com/jogamp/common/net/AssetURLConnectionUnregisteredTest.java
index 6db8c17..cf26da4 100644
--- a/src/junit/com/jogamp/common/net/AssetURLConnectionUnregisteredTest.java
+++ b/src/junit/com/jogamp/common/net/AssetURLConnectionUnregisteredTest.java
@@ -39,6 +39,10 @@ public class AssetURLConnectionUnregisteredTest extends AssetURLConnectionBase {
final URL url1 = IOUtil.getRelativeOf(urlConn0.getURL(), test_asset_test3_rel);
Assert.assertNotNull(url1); // JARFile URL ..
testAssetConnection(url1.openConnection(), test_asset_test3_entry);
+
+ final URL url2 = IOUtil.getRelativeOf(urlConn0.getURL(), test_asset_test4_rel);
+ Assert.assertNotNull(url1);
+ testAssetConnection(url2.openConnection(), test_asset_test4_entry);
}
protected static URLConnection createAssetURLConnection(String path, ClassLoader cl) throws IOException {