diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2013-12-31 01:27:05 +0100 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2013-12-31 01:27:05 +0100 |
commit | bad86d8284fb48bd130370eefb8d8c7ae25ab44c (patch) | |
tree | c8eb0ae94edbc4f29fb005ae5c48f23556fbfd23 /src/instrumentationTest | |
parent | 999d10ae5d8fdd71358ce84148d2374b7fd93016 (diff) | |
download | AntennaPod-bad86d8284fb48bd130370eefb8d8c7ae25ab44c.zip |
Escape URLs in HttpDownloader. fixes #329, #332
Diffstat (limited to 'src/instrumentationTest')
-rw-r--r-- | src/instrumentationTest/de/test/antennapod/service/download/HttpDownloaderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/instrumentationTest/de/test/antennapod/service/download/HttpDownloaderTest.java b/src/instrumentationTest/de/test/antennapod/service/download/HttpDownloaderTest.java index 8df35ce67..5506a3bc9 100644 --- a/src/instrumentationTest/de/test/antennapod/service/download/HttpDownloaderTest.java +++ b/src/instrumentationTest/de/test/antennapod/service/download/HttpDownloaderTest.java @@ -108,6 +108,12 @@ public class HttpDownloaderTest extends InstrumentationTestCase { assertFalse(new File(feedFile.getFile_url()).exists()); } + /* TODO: replace with smaller test file + public void testUrlWithSpaces() { + download("http://acedl.noxsolutions.com/ace/Don't Call Salman Rushdie Sneezy in Finland.mp3", "testUrlWithSpaces", true); + } + */ + private static class FeedFileImpl extends FeedFile { public FeedFileImpl(String download_url) { super(null, download_url, false); |