summaryrefslogtreecommitdiff
path: root/src/instrumentationTest/de/test/antennapod/util/URIUtilTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/instrumentationTest/de/test/antennapod/util/URIUtilTest.java')
-rw-r--r--src/instrumentationTest/de/test/antennapod/util/URIUtilTest.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/instrumentationTest/de/test/antennapod/util/URIUtilTest.java b/src/instrumentationTest/de/test/antennapod/util/URIUtilTest.java
deleted file mode 100644
index a7cba4c03..000000000
--- a/src/instrumentationTest/de/test/antennapod/util/URIUtilTest.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package instrumentationTest.de.test.antennapod.util;
-
-import android.test.AndroidTestCase;
-import de.danoeh.antennapod.util.URIUtil;
-
-/**
- * Test class for URIUtil
- */
-public class URIUtilTest extends AndroidTestCase {
-
- public void testGetURIFromRequestUrlShouldNotEncode() {
- final String testUrl = "http://example.com/this%20is%20encoded";
- assertEquals(testUrl, URIUtil.getURIFromRequestUrl(testUrl).toString());
- }
-
- public void testGetURIFromRequestUrlShouldEncode() {
- final String testUrl = "http://example.com/this is not encoded";
- final String expected = "http://example.com/this%20is%20not%20encoded";
- assertEquals(expected, URIUtil.getURIFromRequestUrl(testUrl).toString());
- }
-}