diff --git a/extractor/src/test/java/org/schabi/newpipe/extractor/services/BaseChannelExtractorTest.java b/extractor/src/test/java/org/schabi/newpipe/extractor/services/BaseChannelExtractorTest.java index 86ae3f9ddd..cb81dd1371 100644 --- a/extractor/src/test/java/org/schabi/newpipe/extractor/services/BaseChannelExtractorTest.java +++ b/extractor/src/test/java/org/schabi/newpipe/extractor/services/BaseChannelExtractorTest.java @@ -7,4 +7,5 @@ public interface BaseChannelExtractorTest extends BaseListExtractorTest { void testBannerUrl() throws Exception; void testFeedUrl() throws Exception; void testSubscriberCount() throws Exception; + void testVerified() throws Exception; } diff --git a/extractor/src/test/java/org/schabi/newpipe/extractor/services/BasePlaylistExtractorTest.java b/extractor/src/test/java/org/schabi/newpipe/extractor/services/BasePlaylistExtractorTest.java index ea097a3b59..cb092df4ff 100644 --- a/extractor/src/test/java/org/schabi/newpipe/extractor/services/BasePlaylistExtractorTest.java +++ b/extractor/src/test/java/org/schabi/newpipe/extractor/services/BasePlaylistExtractorTest.java @@ -7,4 +7,5 @@ public interface BasePlaylistExtractorTest extends BaseListExtractorTest { void testUploaderName() throws Exception; void testUploaderAvatarUrl() throws Exception; void testStreamCount() throws Exception; + void testUploaderVerified() throws Exception; } diff --git a/extractor/src/test/java/org/schabi/newpipe/extractor/services/peertube/PeertubeAccountExtractorTest.java b/extractor/src/test/java/org/schabi/newpipe/extractor/services/peertube/PeertubeAccountExtractorTest.java index 123493c4be..7357091d3d 100644 --- a/extractor/src/test/java/org/schabi/newpipe/extractor/services/peertube/PeertubeAccountExtractorTest.java +++ b/extractor/src/test/java/org/schabi/newpipe/extractor/services/peertube/PeertubeAccountExtractorTest.java @@ -105,6 +105,11 @@ public void testFeedUrl() throws ParsingException { public void testSubscriberCount() throws ParsingException { assertTrue("Wrong subscriber count", extractor.getSubscriberCount() >= 500); } + + @Override + public void testVerified() throws Exception { + assertFalse(extractor.getVerified()); + } } public static class FreeSoftwareFoundation implements BaseChannelExtractorTest { @@ -201,5 +206,10 @@ public void testFeedUrl() throws ParsingException { public void testSubscriberCount() throws ParsingException { assertTrue("Wrong subscriber count", extractor.getSubscriberCount() >= 100); } + + @Override + public void testVerified() throws Exception { + assertFalse(extractor.getVerified()); + } } } diff --git a/extractor/src/test/java/org/schabi/newpipe/extractor/services/peertube/PeertubeChannelExtractorTest.java b/extractor/src/test/java/org/schabi/newpipe/extractor/services/peertube/PeertubeChannelExtractorTest.java index 6215792c4f..1408facd24 100644 --- a/extractor/src/test/java/org/schabi/newpipe/extractor/services/peertube/PeertubeChannelExtractorTest.java +++ b/extractor/src/test/java/org/schabi/newpipe/extractor/services/peertube/PeertubeChannelExtractorTest.java @@ -119,6 +119,11 @@ public void testFeedUrl() throws ParsingException { public void testSubscriberCount() throws ParsingException { assertTrue("Wrong subscriber count", extractor.getSubscriberCount() >= 230); } + + @Override + public void testVerified() throws Exception { + assertFalse(extractor.getVerified()); + } } public static class ChatSceptique implements BaseChannelExtractorTest { @@ -231,5 +236,10 @@ public void testFeedUrl() throws ParsingException { public void testSubscriberCount() throws ParsingException { assertTrue("Wrong subscriber count", extractor.getSubscriberCount() >= 700); } + + @Override + public void testVerified() throws Exception { + assertFalse(extractor.getVerified()); + } } } diff --git a/extractor/src/test/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudChannelExtractorTest.java b/extractor/src/test/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudChannelExtractorTest.java index 0193415ee5..e71695134c 100644 --- a/extractor/src/test/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudChannelExtractorTest.java +++ b/extractor/src/test/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudChannelExtractorTest.java @@ -102,8 +102,8 @@ public void testSubscriberCount() { assertTrue("Wrong subscriber count", extractor.getSubscriberCount() >= 1e6); } - @Test - public void testIsVerified() throws ParsingException { + @Override + public void testVerified() throws Exception { assertTrue(extractor.getVerified()); } } @@ -201,8 +201,8 @@ public void testSubscriberCount() { assertTrue("Wrong subscriber count", extractor.getSubscriberCount() >= 2e6); } - @Test - public void testIsVerified() throws ParsingException { + @Override + public void testVerified() throws Exception { assertTrue(extractor.getVerified()); } } diff --git a/extractor/src/test/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudPlaylistExtractorTest.java b/extractor/src/test/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudPlaylistExtractorTest.java index 403772b9d2..0cf0cd30bf 100644 --- a/extractor/src/test/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudPlaylistExtractorTest.java +++ b/extractor/src/test/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudPlaylistExtractorTest.java @@ -112,6 +112,11 @@ public void testUploaderAvatarUrl() { public void testStreamCount() { assertTrue("Stream count does not fit: " + extractor.getStreamCount(), extractor.getStreamCount() >= 10); } + + @Override + public void testUploaderVerified() throws Exception { + assertTrue(extractor.getUploaderVerified()); + } } public static class RandomHouseMusic implements BasePlaylistExtractorTest { @@ -204,6 +209,11 @@ public void testUploaderAvatarUrl() { public void testStreamCount() { assertTrue("Stream count does not fit: " + extractor.getStreamCount(), extractor.getStreamCount() >= 10); } + + @Override + public void testUploaderVerified() throws Exception { + assertFalse(extractor.getUploaderVerified()); + } } public static class EDMxxx implements BasePlaylistExtractorTest { @@ -311,6 +321,11 @@ public void testUploaderAvatarUrl() { public void testStreamCount() { assertTrue("Stream count does not fit: " + extractor.getStreamCount(), extractor.getStreamCount() >= 370); } + + @Override + public void testUploaderVerified() throws Exception { + assertFalse(extractor.getUploaderVerified()); + } } public static class SmallPlaylist implements BasePlaylistExtractorTest { @@ -410,5 +425,10 @@ public void testUploaderAvatarUrl() { public void testStreamCount() { assertEquals(2, extractor.getStreamCount()); } + + @Override + public void testUploaderVerified() throws Exception { + assertFalse(extractor.getUploaderVerified()); + } } } diff --git a/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeChannelExtractorTest.java b/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeChannelExtractorTest.java index 5e648076b8..c63526a2f0 100644 --- a/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeChannelExtractorTest.java +++ b/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeChannelExtractorTest.java @@ -146,8 +146,8 @@ public void testSubscriberCount() throws Exception { assertTrue("Subscriber count too small", extractor.getSubscriberCount() >= 4e6); } - @Test - public void testIsVerified() throws ParsingException { + @Override + public void testVerified() throws Exception { assertTrue(extractor.getVerified()); } @@ -243,8 +243,8 @@ public void testSubscriberCount() throws Exception { assertTrue("Subscriber count too small", extractor.getSubscriberCount() >= 10e6); } - @Test - public void testIsVerified() throws ParsingException { + @Override + public void testVerified() throws Exception { assertTrue(extractor.getVerified()); } @@ -351,8 +351,8 @@ public void testSubscriberCount() throws Exception { assertTrue("Wrong subscriber count", extractor.getSubscriberCount() >= 5e6); } - @Test - public void testIsVerified() throws ParsingException { + @Override + public void testVerified() throws Exception { assertTrue(extractor.getVerified()); } } @@ -445,8 +445,8 @@ public void testSubscriberCount() throws Exception { assertTrue("Wrong subscriber count", extractor.getSubscriberCount() >= 5e5); } - @Test - public void testIsVerified() throws ParsingException { + @Override + public void testVerified() throws Exception { assertTrue(extractor.getVerified()); } } @@ -546,8 +546,8 @@ public void testSubscriberCount() throws Exception { assertTrue("Wrong subscriber count: " + subscribers, subscribers >= 50); } - @Test - public void testIsVerified() throws ParsingException { + @Override + public void testVerified() throws Exception { assertFalse(extractor.getVerified()); } } diff --git a/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubePlaylistExtractorTest.java b/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubePlaylistExtractorTest.java index 9d74beaec6..af53d19fb3 100644 --- a/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubePlaylistExtractorTest.java +++ b/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubePlaylistExtractorTest.java @@ -149,6 +149,11 @@ public void testUploaderAvatarUrl() throws Exception { public void testStreamCount() throws Exception { assertTrue("Error in the streams count", extractor.getStreamCount() > 100); } + + @Override + public void testUploaderVerified() throws Exception { + assertFalse(extractor.getUploaderVerified()); + } } public static class HugePlaylist implements BasePlaylistExtractorTest { @@ -261,6 +266,11 @@ public void testUploaderAvatarUrl() throws Exception { public void testStreamCount() throws Exception { assertTrue("Error in the streams count", extractor.getStreamCount() > 100); } + + @Override + public void testUploaderVerified() throws Exception { + assertTrue(extractor.getUploaderVerified()); + } } public static class LearningPlaylist implements BasePlaylistExtractorTest { @@ -359,6 +369,11 @@ public void testUploaderAvatarUrl() throws Exception { public void testStreamCount() throws Exception { assertTrue("Error in the streams count", extractor.getStreamCount() > 40); } + + @Override + public void testUploaderVerified() throws Exception { + assertTrue(extractor.getUploaderVerified()); + } } public static class ContinuationsTests {