Updated tests
This commit is contained in:
parent
7106fdcdab
commit
7380d288e5
|
@ -75,7 +75,6 @@ public class FeedHandlerTest extends AndroidTestCase {
|
||||||
"http://bobsonbob.de/?feed=rss2",
|
"http://bobsonbob.de/?feed=rss2",
|
||||||
"http://www.blacksweetstories.com/feed/podcast/",
|
"http://www.blacksweetstories.com/feed/podcast/",
|
||||||
"http://www.eurogamer.net/rss/eurogamer_podcast_itunes.rss",
|
"http://www.eurogamer.net/rss/eurogamer_podcast_itunes.rss",
|
||||||
"http://www.wikigeeks.de/feed/mp3",
|
|
||||||
"http://diehoppeshow.de/podcast/feed.xml",
|
"http://diehoppeshow.de/podcast/feed.xml",
|
||||||
"http://feeds.feedburner.com/ThisIsMyNextPodcast?format=xml",
|
"http://feeds.feedburner.com/ThisIsMyNextPodcast?format=xml",
|
||||||
"http://bitlove.org/343max/maerchenstunde/feed",
|
"http://bitlove.org/343max/maerchenstunde/feed",
|
||||||
|
@ -485,13 +484,6 @@ public class FeedHandlerTest extends AndroidTestCase {
|
||||||
Log.e(TAG, "Item has no title");
|
Log.e(TAG, "Item has no title");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (item.getPubDate() == null) {
|
|
||||||
Log.e(TAG, "Item has no pubDate");
|
|
||||||
if (item.getTitle() != null) {
|
|
||||||
Log.e(TAG, "Title of invalid item: " + item.getTitle());
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue