Skip to content

Commit 629dcd6

Browse files
committed
Ignore some broken tests
1 parent 3adac6a commit 629dcd6

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeMixPlaylistExtractorTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public class YoutubeMixPlaylistExtractorTest {
4848

4949
private static YoutubeMixPlaylistExtractor extractor;
5050

51+
@Ignore("Test broken, video was blocked by SME and is only available in Japan")
5152
public static class Mix {
5253

5354
@BeforeClass
@@ -310,6 +311,7 @@ public static void setUp() throws IOException {
310311
dummyCookie.put(YoutubeMixPlaylistExtractor.COOKIE_NAME, "whatever");
311312
}
312313

314+
@Ignore
313315
@Test(expected = IllegalArgumentException.class)
314316
public void getPageEmptyUrl() throws Exception {
315317
extractor = (YoutubeMixPlaylistExtractor) YouTube

extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/search/YoutubeSearchExtractorTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package org.schabi.newpipe.extractor.services.youtube.search;
22

33
import org.junit.BeforeClass;
4+
import org.junit.Ignore;
45
import org.junit.Test;
56
import org.schabi.newpipe.downloader.DownloaderFactory;
67
import org.schabi.newpipe.extractor.InfoItem;
@@ -272,6 +273,8 @@ public void clarificationTest() throws Exception {
272273
urlTexts
273274
));
274275
}
276+
// testMoreRelatedItems is broken because a video has no duration shown
277+
@Override public void testMoreRelatedItems() { }
275278
@Override public SearchExtractor extractor() { return extractor; }
276279
@Override public StreamingService expectedService() { return YouTube; }
277280
@Override public String expectedName() { return QUERY; }

0 commit comments

Comments
 (0)