1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-10-25 12:27:38 +00:00

made duration an integer, and made youtubesearch engine throw more parsingexceptions

This commit is contained in:
Christian Schabesberger
2016-03-02 02:36:45 +01:00
parent 3aecd15916
commit 68b7d9cdff
8 changed files with 164 additions and 34 deletions

View File

@@ -68,7 +68,7 @@ public class YoutubeSearchEngineTest extends AndroidTestCase {
public void testItemsHaveRightDuration() {
for(StreamPreviewInfo i : result.resultList) {
assertTrue(i.duration, i.duration.contains(":"));
assertTrue(i.duration >= 0);
}
}