Remove RunWith from tests
- It was causing tests to repeat
This commit is contained in:
@@ -2,8 +2,6 @@ package org.schabi.newpipe.extractor.services.soundcloud;
|
|||||||
|
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.experimental.runners.Enclosed;
|
|
||||||
import org.junit.runner.RunWith;
|
|
||||||
import org.schabi.newpipe.Downloader;
|
import org.schabi.newpipe.Downloader;
|
||||||
import org.schabi.newpipe.extractor.NewPipe;
|
import org.schabi.newpipe.extractor.NewPipe;
|
||||||
import org.schabi.newpipe.extractor.channel.ChannelExtractor;
|
import org.schabi.newpipe.extractor.channel.ChannelExtractor;
|
||||||
@@ -18,7 +16,6 @@ import static org.schabi.newpipe.extractor.services.DefaultTests.*;
|
|||||||
/**
|
/**
|
||||||
* Test for {@link SoundcloudChannelExtractor}
|
* Test for {@link SoundcloudChannelExtractor}
|
||||||
*/
|
*/
|
||||||
@RunWith(Enclosed.class)
|
|
||||||
public class SoundcloudChannelExtractorTest {
|
public class SoundcloudChannelExtractorTest {
|
||||||
public static class LilUzi implements BaseChannelExtractorTest {
|
public static class LilUzi implements BaseChannelExtractorTest {
|
||||||
private static SoundcloudChannelExtractor extractor;
|
private static SoundcloudChannelExtractor extractor;
|
||||||
|
|||||||
@@ -3,8 +3,6 @@ package org.schabi.newpipe.extractor.services.soundcloud;
|
|||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Ignore;
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.experimental.runners.Enclosed;
|
|
||||||
import org.junit.runner.RunWith;
|
|
||||||
import org.schabi.newpipe.Downloader;
|
import org.schabi.newpipe.Downloader;
|
||||||
import org.schabi.newpipe.extractor.ListExtractor;
|
import org.schabi.newpipe.extractor.ListExtractor;
|
||||||
import org.schabi.newpipe.extractor.NewPipe;
|
import org.schabi.newpipe.extractor.NewPipe;
|
||||||
@@ -21,7 +19,6 @@ import static org.schabi.newpipe.extractor.services.DefaultTests.*;
|
|||||||
/**
|
/**
|
||||||
* Test for {@link PlaylistExtractor}
|
* Test for {@link PlaylistExtractor}
|
||||||
*/
|
*/
|
||||||
@RunWith(Enclosed.class)
|
|
||||||
public class SoundcloudPlaylistExtractorTest {
|
public class SoundcloudPlaylistExtractorTest {
|
||||||
public static class LuvTape implements BasePlaylistExtractorTest {
|
public static class LuvTape implements BasePlaylistExtractorTest {
|
||||||
private static SoundcloudPlaylistExtractor extractor;
|
private static SoundcloudPlaylistExtractor extractor;
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ package org.schabi.newpipe.extractor.services.youtube;
|
|||||||
|
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.experimental.runners.Enclosed;
|
|
||||||
import org.junit.runner.RunWith;
|
|
||||||
import org.schabi.newpipe.Downloader;
|
import org.schabi.newpipe.Downloader;
|
||||||
import org.schabi.newpipe.extractor.NewPipe;
|
import org.schabi.newpipe.extractor.NewPipe;
|
||||||
import org.schabi.newpipe.extractor.ServiceList;
|
import org.schabi.newpipe.extractor.ServiceList;
|
||||||
@@ -18,7 +16,6 @@ import static org.schabi.newpipe.extractor.services.DefaultTests.*;
|
|||||||
/**
|
/**
|
||||||
* Test for {@link ChannelExtractor}
|
* Test for {@link ChannelExtractor}
|
||||||
*/
|
*/
|
||||||
@RunWith(Enclosed.class)
|
|
||||||
public class YoutubeChannelExtractorTest {
|
public class YoutubeChannelExtractorTest {
|
||||||
public static class Gronkh implements BaseChannelExtractorTest {
|
public static class Gronkh implements BaseChannelExtractorTest {
|
||||||
private static YoutubeChannelExtractor extractor;
|
private static YoutubeChannelExtractor extractor;
|
||||||
|
|||||||
@@ -3,8 +3,6 @@ package org.schabi.newpipe.extractor.services.youtube;
|
|||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Ignore;
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.experimental.runners.Enclosed;
|
|
||||||
import org.junit.runner.RunWith;
|
|
||||||
import org.schabi.newpipe.Downloader;
|
import org.schabi.newpipe.Downloader;
|
||||||
import org.schabi.newpipe.extractor.ListExtractor;
|
import org.schabi.newpipe.extractor.ListExtractor;
|
||||||
import org.schabi.newpipe.extractor.NewPipe;
|
import org.schabi.newpipe.extractor.NewPipe;
|
||||||
@@ -22,7 +20,6 @@ import static org.schabi.newpipe.extractor.services.DefaultTests.*;
|
|||||||
/**
|
/**
|
||||||
* Test for {@link YoutubePlaylistExtractor}
|
* Test for {@link YoutubePlaylistExtractor}
|
||||||
*/
|
*/
|
||||||
@RunWith(Enclosed.class)
|
|
||||||
public class YoutubePlaylistExtractorTest {
|
public class YoutubePlaylistExtractorTest {
|
||||||
public static class TimelessPopHits implements BasePlaylistExtractorTest {
|
public static class TimelessPopHits implements BasePlaylistExtractorTest {
|
||||||
private static YoutubePlaylistExtractor extractor;
|
private static YoutubePlaylistExtractor extractor;
|
||||||
|
|||||||
Reference in New Issue
Block a user