mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-01-11 01:40:59 +00:00
Remove Enclosed.class runner
Does not affect Gradle tests and only benefits IDE workflow
This commit is contained in:
parent
40f66977c7
commit
c0f47195a2
@ -3,8 +3,6 @@ package org.schabi.newpipe.player.playqueue;
|
|||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
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.extractor.stream.StreamInfoItem;
|
import org.schabi.newpipe.extractor.stream.StreamInfoItem;
|
||||||
import org.schabi.newpipe.extractor.stream.StreamType;
|
import org.schabi.newpipe.extractor.stream.StreamType;
|
||||||
|
|
||||||
@ -22,7 +20,6 @@ import static org.mockito.Mockito.doReturn;
|
|||||||
import static org.mockito.Mockito.spy;
|
import static org.mockito.Mockito.spy;
|
||||||
|
|
||||||
@SuppressWarnings("checkstyle:HideUtilityClassConstructor")
|
@SuppressWarnings("checkstyle:HideUtilityClassConstructor")
|
||||||
@RunWith(Enclosed.class)
|
|
||||||
public class PlayQueueTest {
|
public class PlayQueueTest {
|
||||||
static PlayQueue makePlayQueue(final int index, final List<PlayQueueItem> streams) {
|
static PlayQueue makePlayQueue(final int index, final List<PlayQueueItem> streams) {
|
||||||
// I tried using Mockito, but it didn't work for some reason
|
// I tried using Mockito, but it didn't work for some reason
|
||||||
|
Loading…
Reference in New Issue
Block a user