Skip to content

Commit 70fb3aa

Browse files
committed
Update BaseExtractorTests image methods' name
Also suppress unused warnings in BaseStreamExtractorTest, like it is done on other BaseExtractorTests interfaces.
1 parent e16d521 commit 70fb3aa

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

extractor/src/test/java/org/schabi/newpipe/extractor/services/BaseChannelExtractorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ public interface BaseChannelExtractorTest extends BaseExtractorTest {
66
@Test
77
void testDescription() throws Exception;
88
@Test
9-
void testAvatarUrl() throws Exception;
9+
void testAvatars() throws Exception;
1010
@Test
11-
void testBannerUrl() throws Exception;
11+
void testBanners() throws Exception;
1212
@Test
1313
void testFeedUrl() throws Exception;
1414
@Test

extractor/src/test/java/org/schabi/newpipe/extractor/services/BasePlaylistExtractorTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
public interface BasePlaylistExtractorTest extends BaseListExtractorTest {
66
@Test
7-
void testThumbnailUrl() throws Exception;
7+
void testThumbnails() throws Exception;
88
@Test
9-
void testBannerUrl() throws Exception;
9+
void testBanners() throws Exception;
1010
@Test
1111
void testUploaderName() throws Exception;
1212
@Test
13-
void testUploaderAvatarUrl() throws Exception;
13+
void testUploaderAvatars() throws Exception;
1414
@Test
1515
void testStreamCount() throws Exception;
1616
@Test

extractor/src/test/java/org/schabi/newpipe/extractor/services/BaseStreamExtractorTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import org.junit.jupiter.api.Test;
44

5+
@SuppressWarnings("unused")
56
public interface BaseStreamExtractorTest extends BaseExtractorTest {
67
@Test
78
void testStreamType() throws Exception;
@@ -10,17 +11,17 @@ public interface BaseStreamExtractorTest extends BaseExtractorTest {
1011
@Test
1112
void testUploaderUrl() throws Exception;
1213
@Test
13-
void testUploaderAvatarUrl() throws Exception;
14+
void testUploaderAvatars() throws Exception;
1415
@Test
1516
void testSubscriberCount() throws Exception;
1617
@Test
1718
void testSubChannelName() throws Exception;
1819
@Test
1920
void testSubChannelUrl() throws Exception;
2021
@Test
21-
void testSubChannelAvatarUrl() throws Exception;
22+
void testSubChannelAvatars() throws Exception;
2223
@Test
23-
void testThumbnailUrl() throws Exception;
24+
void testThumbnails() throws Exception;
2425
@Test
2526
void testDescription() throws Exception;
2627
@Test

0 commit comments

Comments
 (0)