Add explanations to broken tests

This commit is contained in:
XiangRongLin 2021-02-17 20:00:28 +01:00
parent 84380e4c3a
commit c327922cc0
5 changed files with 5 additions and 5 deletions

View File

@ -96,7 +96,7 @@ public class PeertubeStreamExtractorTest {
@Override public int expectedStreamSegmentsCount() { return 0; }
}
@Ignore("TODO fix")
@Ignore("Test broken, SSL problem")
public static class AgeRestricted extends DefaultStreamExtractorTest {
private static final String ID = "dbd8e5e1-c527-49b6-b70c-89101dbb9c08";
private static final String INSTANCE = "https://nocensoring.net";

View File

@ -362,7 +362,7 @@ public class SoundcloudPlaylistExtractorTest {
}
@Test
@Ignore("TODO fix")
@Ignore("Test broken? Playlist has 2 entries, each page has 1 entry meaning it has 2 pages.")
public void testMoreRelatedItems() throws Exception {
try {
defaultTestMoreItems(extractor);

View File

@ -59,7 +59,7 @@ public class YoutubePlaylistExtractorTest {
}
@Test(expected = ContentNotAvailableException.class)
@Ignore("TODO fix")
@Ignore("Broken, now invalid playlists redirect to youtube homepage")
public void invalidId() throws Exception {
final PlaylistExtractor extractor =
YouTube.getPlaylistExtractor("https://www.youtube.com/playlist?list=INVALID_ID");

View File

@ -21,7 +21,7 @@ import static org.schabi.newpipe.extractor.ServiceList.YouTube;
/**
* Test for {@link YoutubeStreamLinkHandlerFactory}
*/
@Ignore("Video is not available anymore")
@Ignore("Video is not available in specific countries. Someone else has to generate mocks")
public class YoutubeStreamExtractorControversialTest extends DefaultStreamExtractorTest {
private static final String RESOURCE_PATH = DownloaderFactory.RESOURCE_PATH + "services/youtube/extractor/stream/";
private static final String ID = "T4XJQO3qol8";

View File

@ -160,7 +160,7 @@ public class YoutubeStreamExtractorDefaultTest {
}
@Ignore("TODO fix")
@Ignore("Test broken, video was made private")
public static class RatingsDisabledTest extends DefaultStreamExtractorTest {
private static final String ID = "HRKu0cvrr_o";
private static final int TIMESTAMP = 17;