Skip to content

Commit b99cb86

Browse files
committed
Unignore PublicBroadcasterTest
Tests only work on linux, mocks have to be generated on linux too
1 parent 37366c6 commit b99cb86

3 files changed

Lines changed: 14 additions & 27 deletions

File tree

extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/stream/YoutubeStreamExtractorDefaultTest.java

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@
1616
import org.schabi.newpipe.extractor.stream.StreamSegment;
1717
import org.schabi.newpipe.extractor.stream.StreamType;
1818

19-
import javax.annotation.Nullable;
2019
import java.io.IOException;
2120
import java.net.MalformedURLException;
2221
import java.net.URL;
2322
import java.util.Arrays;
2423
import java.util.Collections;
2524
import java.util.List;
2625

26+
import javax.annotation.Nullable;
27+
2728
import static org.junit.Assert.assertEquals;
2829
import static org.junit.Assert.assertNotNull;
2930
import static org.schabi.newpipe.extractor.ServiceList.YouTube;
@@ -333,20 +334,6 @@ public static void setUp() throws Exception {
333334
));
334335
}
335336
// @formatter:on
336-
@Override
337-
@Ignore("TODO fix")
338-
@Test
339-
public void testUploaderName() throws Exception {
340-
super.testUploaderName();
341-
}
342-
343-
@Override
344-
@Ignore("TODO fix")
345-
@Test
346-
public void testMetaInfo() throws Exception {
347-
super.testMetaInfo();
348-
}
349-
350337
}
351338

352339
}

extractor/src/test/resources/org/schabi/newpipe/extractor/services/youtube/extractor/stream/publicBroadcast/generated_mock_0.json

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

extractor/src/test/resources/org/schabi/newpipe/extractor/services/youtube/extractor/stream/publicBroadcast/generated_mock_1.json

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)