mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2024-12-14 14:20:33 +05:30
reordered services
This commit is contained in:
parent
aabc65b57d
commit
e4e6d44770
@ -37,8 +37,8 @@ public final class ServiceList {
|
|||||||
|
|
||||||
public static final YoutubeService YouTube;
|
public static final YoutubeService YouTube;
|
||||||
public static final SoundcloudService SoundCloud;
|
public static final SoundcloudService SoundCloud;
|
||||||
public static final PeertubeService PeerTube;
|
|
||||||
public static final MediaCCCService MediaCCC;
|
public static final MediaCCCService MediaCCC;
|
||||||
|
public static final PeertubeService PeerTube;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* When creating a new service, put this service in the end of this list,
|
* When creating a new service, put this service in the end of this list,
|
||||||
@ -48,8 +48,8 @@ public final class ServiceList {
|
|||||||
Arrays.asList(
|
Arrays.asList(
|
||||||
YouTube = new YoutubeService(0),
|
YouTube = new YoutubeService(0),
|
||||||
SoundCloud = new SoundcloudService(1),
|
SoundCloud = new SoundcloudService(1),
|
||||||
PeerTube = new PeertubeService(2),
|
MediaCCC = new MediaCCCService(2),
|
||||||
MediaCCC = new MediaCCCService(3)
|
PeerTube = new PeertubeService(3)
|
||||||
));
|
));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -44,7 +44,7 @@ public class MediaCCCSearchExtractorEventsTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testServiceId() throws Exception {
|
public void testServiceId() throws Exception {
|
||||||
assertEquals(3, extractor.getServiceId());
|
assertEquals(2, extractor.getServiceId());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user