fixed viewcount test again

pull/227/head
Christian Schabesberger 2016-03-04 13:51:50 +01:00
rodzic b1d2e64450
commit 0c716c12d7
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -43,7 +43,7 @@ public class YoutubeSearchEngineTest extends AndroidTestCase {
SearchEngine engine = ServiceList.getService("Youtube")
.getSearchEngineInstance(new Downloader());
result = engine.search("bla",
result = engine.search("lefloid",
0, "de", new Downloader()).getSearchResult();
suggestionReply = engine.suggestionList("hello","de",new Downloader());
}
@ -96,7 +96,7 @@ public class YoutubeSearchEngineTest extends AndroidTestCase {
// that specific link used for this test, there are no videos with less
// than 10.000 views, so we can test against that.
for(StreamPreviewInfo i : result.resultList) {
assertTrue(Long.toString(i.view_count), i.view_count >= 10000);
assertTrue(i.title + ": " + Long.toString(i.view_count), i.view_count >= 10000);
}
}