diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2014-06-15 21:22:36 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2014-06-15 21:22:36 +0200 |
commit | 859eabb7a302d79948ca9da4ceb886908932482a (patch) | |
tree | 7e5f10705a94b63f630d58de687086105d71fba7 /src/instrumentationTest/de/test/antennapod | |
parent | a2757866402f01c6683d0ba17cf19e3e7d158fbe (diff) | |
download | AntennaPod-859eabb7a302d79948ca9da4ceb886908932482a.zip |
Added support for itpc-protocol. closes #333
Diffstat (limited to 'src/instrumentationTest/de/test/antennapod')
-rw-r--r-- | src/instrumentationTest/de/test/antennapod/util/URLCheckerTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/instrumentationTest/de/test/antennapod/util/URLCheckerTest.java b/src/instrumentationTest/de/test/antennapod/util/URLCheckerTest.java index 64d45dc60..18e8bf007 100644 --- a/src/instrumentationTest/de/test/antennapod/util/URLCheckerTest.java +++ b/src/instrumentationTest/de/test/antennapod/util/URLCheckerTest.java @@ -37,4 +37,10 @@ public class URLCheckerTest extends AndroidTestCase { final String out = URLChecker.prepareURL(in); assertEquals("http://example.com", out); } + + public void testItcpProtocol() { + final String in = "itpc://example.com"; + final String out = URLChecker.prepareURL(in); + assertEquals("http://example.com", out); + } } |