Skip to content

Commit 94e24a6

Browse files
committed
Remove RunWith from tests
- It was causing tests to repeat
1 parent d71a42d commit 94e24a6

4 files changed

Lines changed: 0 additions & 12 deletions

File tree

src/test/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudChannelExtractorTest.java

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

33
import org.junit.BeforeClass;
44
import org.junit.Test;
5-
import org.junit.experimental.runners.Enclosed;
6-
import org.junit.runner.RunWith;
75
import org.schabi.newpipe.Downloader;
86
import org.schabi.newpipe.extractor.NewPipe;
97
import org.schabi.newpipe.extractor.channel.ChannelExtractor;
@@ -18,7 +16,6 @@
1816
/**
1917
* Test for {@link SoundcloudChannelExtractor}
2018
*/
21-
@RunWith(Enclosed.class)
2219
public class SoundcloudChannelExtractorTest {
2320
public static class LilUzi implements BaseChannelExtractorTest {
2421
private static SoundcloudChannelExtractor extractor;

src/test/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudPlaylistExtractorTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import org.junit.BeforeClass;
44
import org.junit.Ignore;
55
import org.junit.Test;
6-
import org.junit.experimental.runners.Enclosed;
7-
import org.junit.runner.RunWith;
86
import org.schabi.newpipe.Downloader;
97
import org.schabi.newpipe.extractor.ListExtractor;
108
import org.schabi.newpipe.extractor.NewPipe;
@@ -21,7 +19,6 @@
2119
/**
2220
* Test for {@link PlaylistExtractor}
2321
*/
24-
@RunWith(Enclosed.class)
2522
public class SoundcloudPlaylistExtractorTest {
2623
public static class LuvTape implements BasePlaylistExtractorTest {
2724
private static SoundcloudPlaylistExtractor extractor;

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

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

33
import org.junit.BeforeClass;
44
import org.junit.Test;
5-
import org.junit.experimental.runners.Enclosed;
6-
import org.junit.runner.RunWith;
75
import org.schabi.newpipe.Downloader;
86
import org.schabi.newpipe.extractor.NewPipe;
97
import org.schabi.newpipe.extractor.ServiceList;
@@ -18,7 +16,6 @@
1816
/**
1917
* Test for {@link ChannelExtractor}
2018
*/
21-
@RunWith(Enclosed.class)
2219
public class YoutubeChannelExtractorTest {
2320
public static class Gronkh implements BaseChannelExtractorTest {
2421
private static YoutubeChannelExtractor extractor;

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import org.junit.BeforeClass;
44
import org.junit.Ignore;
55
import org.junit.Test;
6-
import org.junit.experimental.runners.Enclosed;
7-
import org.junit.runner.RunWith;
86
import org.schabi.newpipe.Downloader;
97
import org.schabi.newpipe.extractor.ListExtractor;
108
import org.schabi.newpipe.extractor.NewPipe;
@@ -22,7 +20,6 @@
2220
/**
2321
* Test for {@link YoutubePlaylistExtractor}
2422
*/
25-
@RunWith(Enclosed.class)
2623
public class YoutubePlaylistExtractorTest {
2724
public static class TimelessPopHits implements BasePlaylistExtractorTest {
2825
private static YoutubePlaylistExtractor extractor;

0 commit comments

Comments
 (0)