Ignore some broken tests

This commit is contained in:
TiA4f8R 2021-07-05 19:22:25 +02:00
parent 3adac6a150
commit 629dcd63b2
No known key found for this signature in database
GPG Key ID: E6D3E7F5949450DD
2 changed files with 5 additions and 0 deletions

View File

@ -48,6 +48,7 @@ public class YoutubeMixPlaylistExtractorTest {
private static YoutubeMixPlaylistExtractor extractor;
@Ignore("Test broken, video was blocked by SME and is only available in Japan")
public static class Mix {
@BeforeClass
@ -310,6 +311,7 @@ public class YoutubeMixPlaylistExtractorTest {
dummyCookie.put(YoutubeMixPlaylistExtractor.COOKIE_NAME, "whatever");
}
@Ignore
@Test(expected = IllegalArgumentException.class)
public void getPageEmptyUrl() throws Exception {
extractor = (YoutubeMixPlaylistExtractor) YouTube

View File

@ -1,6 +1,7 @@
package org.schabi.newpipe.extractor.services.youtube.search;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import org.schabi.newpipe.downloader.DownloaderFactory;
import org.schabi.newpipe.extractor.InfoItem;
@ -272,6 +273,8 @@ public class YoutubeSearchExtractorTest {
urlTexts
));
}
// testMoreRelatedItems is broken because a video has no duration shown
@Override public void testMoreRelatedItems() { }
@Override public SearchExtractor extractor() { return extractor; }
@Override public StreamingService expectedService() { return YouTube; }
@Override public String expectedName() { return QUERY; }