@@ -76,26 +76,31 @@ public static void setUp() throws Exception {
7676 // Extractor
7777 //////////////////////////////////////////////////////////////////////////*/
7878
79+ @ Override
7980 @ Test
8081 public void testServiceId () {
8182 assertEquals (YouTube .getServiceId (), extractor .getServiceId ());
8283 }
8384
85+ @ Override
8486 @ Test
8587 public void testName () throws Exception {
8688 assertTrue (extractor .getName ().startsWith ("Pop Music Playlist" ));
8789 }
8890
91+ @ Override
8992 @ Test
9093 public void testId () throws Exception {
9194 assertEquals ("PLMC9KNkIncKtPzgY-5rmhvj7fax8fdxoj" , extractor .getId ());
9295 }
9396
97+ @ Override
9498 @ Test
9599 public void testUrl () throws ParsingException {
96100 assertEquals ("https://www.youtube.com/playlist?list=PLMC9KNkIncKtPzgY-5rmhvj7fax8fdxoj" , extractor .getUrl ());
97101 }
98102
103+ @ Override
99104 @ Test
100105 public void testOriginalUrl () throws ParsingException {
101106 assertEquals ("http://www.youtube.com/watch?v=lp-EO5I60KA&list=PLMC9KNkIncKtPzgY-5rmhvj7fax8fdxoj" , extractor .getOriginalUrl ());
@@ -105,11 +110,13 @@ public void testOriginalUrl() throws ParsingException {
105110 // ListExtractor
106111 //////////////////////////////////////////////////////////////////////////*/
107112
113+ @ Override
108114 @ Test
109115 public void testRelatedItems () throws Exception {
110116 defaultTestRelatedItems (extractor );
111117 }
112118
119+ @ Override
113120 @ Test
114121 public void testMoreRelatedItems () throws Exception {
115122 defaultTestMoreItems (extractor );
@@ -119,11 +126,13 @@ public void testMoreRelatedItems() throws Exception {
119126 // PlaylistExtractor
120127 //////////////////////////////////////////////////////////////////////////*/
121128
129+ @ Override
122130 @ Test
123131 public void testThumbnails () throws Exception {
124132 YoutubeTestsUtils .testImages (extractor .getThumbnails ());
125133 }
126134
135+ @ Override
127136 @ Test
128137 public void testBanners () throws ParsingException {
129138 YoutubeTestsUtils .testImages (extractor .getBanners ());
@@ -134,17 +143,20 @@ void testUploaderUrl() throws Exception {
134143 assertEquals ("https://www.youtube.com/channel/UCs72iRpTEuwV3y6pdWYLgiw" , extractor .getUploaderUrl ());
135144 }
136145
146+ @ Override
137147 @ Test
138148 public void testUploaderName () throws Exception {
139149 final String uploaderName = extractor .getUploaderName ();
140150 ExtractorAsserts .assertContains ("Just Hits" , uploaderName );
141151 }
142152
153+ @ Override
143154 @ Test
144155 public void testUploaderAvatars () throws Exception {
145156 YoutubeTestsUtils .testImages (extractor .getUploaderAvatars ());
146157 }
147158
159+ @ Override
148160 @ Test
149161 public void testStreamCount () throws Exception {
150162 ExtractorAsserts .assertGreater (100 , extractor .getStreamCount ());
@@ -194,27 +206,32 @@ void testGetPageInNewExtractor() throws Exception {
194206 // Extractor
195207 //////////////////////////////////////////////////////////////////////////*/
196208
209+ @ Override
197210 @ Test
198211 public void testServiceId () {
199212 assertEquals (YouTube .getServiceId (), extractor .getServiceId ());
200213 }
201214
215+ @ Override
202216 @ Test
203217 public void testName () throws Exception {
204218 final String name = extractor .getName ();
205219 assertEquals ("I Wanna Rock Super Gigantic Playlist 1: Hardrock, AOR, Metal and more !!! 5000 music videos !!!" , name );
206220 }
207221
222+ @ Override
208223 @ Test
209224 public void testId () throws Exception {
210225 assertEquals ("PLWwAypAcFRgKAIIFqBr9oy-ZYZnixa_Fj" , extractor .getId ());
211226 }
212227
228+ @ Override
213229 @ Test
214230 public void testUrl () throws ParsingException {
215231 assertEquals ("https://www.youtube.com/playlist?list=PLWwAypAcFRgKAIIFqBr9oy-ZYZnixa_Fj" , extractor .getUrl ());
216232 }
217233
234+ @ Override
218235 @ Test
219236 public void testOriginalUrl () throws ParsingException {
220237 assertEquals ("https://www.youtube.com/watch?v=8SbUC-UaAxE&list=PLWwAypAcFRgKAIIFqBr9oy-ZYZnixa_Fj" , extractor .getOriginalUrl ());
@@ -224,11 +241,13 @@ public void testOriginalUrl() throws ParsingException {
224241 // ListExtractor
225242 //////////////////////////////////////////////////////////////////////////*/
226243
244+ @ Override
227245 @ Test
228246 public void testRelatedItems () throws Exception {
229247 defaultTestRelatedItems (extractor );
230248 }
231249
250+ @ Override
232251 @ Test
233252 public void testMoreRelatedItems () throws Exception {
234253 ListExtractor .InfoItemsPage <StreamInfoItem > currentPage = defaultTestMoreItems (extractor );
@@ -244,11 +263,13 @@ public void testMoreRelatedItems() throws Exception {
244263 // PlaylistExtractor
245264 //////////////////////////////////////////////////////////////////////////*/
246265
266+ @ Override
247267 @ Test
248268 public void testThumbnails () throws Exception {
249269 YoutubeTestsUtils .testImages (extractor .getThumbnails ());
250270 }
251271
272+ @ Override
252273 @ Test
253274 public void testBanners () throws ParsingException {
254275 YoutubeTestsUtils .testImages (extractor .getBanners ());
@@ -259,16 +280,19 @@ void testUploaderUrl() throws Exception {
259280 assertEquals ("https://www.youtube.com/channel/UCHSPWoY1J5fbDVbcnyeqwdw" , extractor .getUploaderUrl ());
260281 }
261282
283+ @ Override
262284 @ Test
263285 public void testUploaderName () throws Exception {
264286 assertEquals ("Tomas Nilsson TOMPA571" , extractor .getUploaderName ());
265287 }
266288
289+ @ Override
267290 @ Test
268291 public void testUploaderAvatars () throws Exception {
269292 YoutubeTestsUtils .testImages (extractor .getUploaderAvatars ());
270293 }
271294
295+ @ Override
272296 @ Test
273297 public void testStreamCount () throws Exception {
274298 ExtractorAsserts .assertGreater (100 , extractor .getStreamCount ());
@@ -308,26 +332,31 @@ public static void setUp() throws Exception {
308332 // Extractor
309333 //////////////////////////////////////////////////////////////////////////*/
310334
335+ @ Override
311336 @ Test
312337 public void testServiceId () {
313338 assertEquals (YouTube .getServiceId (), extractor .getServiceId ());
314339 }
315340
341+ @ Override
316342 @ Test
317343 public void testName () throws Exception {
318344 assertTrue (extractor .getName ().startsWith ("Anatomy & Physiology" ));
319345 }
320346
347+ @ Override
321348 @ Test
322349 public void testId () throws Exception {
323350 assertEquals ("PL8dPuuaLjXtOAKed_MxxWBNaPno5h3Zs8" , extractor .getId ());
324351 }
325352
353+ @ Override
326354 @ Test
327355 public void testUrl () throws ParsingException {
328356 assertEquals ("https://www.youtube.com/playlist?list=PL8dPuuaLjXtOAKed_MxxWBNaPno5h3Zs8" , extractor .getUrl ());
329357 }
330358
359+ @ Override
331360 @ Test
332361 public void testOriginalUrl () throws ParsingException {
333362 assertEquals ("https://www.youtube.com/playlist?list=PL8dPuuaLjXtOAKed_MxxWBNaPno5h3Zs8" , extractor .getOriginalUrl ());
@@ -337,11 +366,13 @@ public void testOriginalUrl() throws ParsingException {
337366 // ListExtractor
338367 //////////////////////////////////////////////////////////////////////////*/
339368
369+ @ Override
340370 @ Test
341371 public void testRelatedItems () throws Exception {
342372 defaultTestRelatedItems (extractor );
343373 }
344374
375+ @ Override
345376 @ Test
346377 public void testMoreRelatedItems () throws Exception {
347378 assertFalse (extractor .getInitialPage ().hasNextPage ());
@@ -351,11 +382,13 @@ public void testMoreRelatedItems() throws Exception {
351382 // PlaylistExtractor
352383 //////////////////////////////////////////////////////////////////////////*/
353384
385+ @ Override
354386 @ Test
355387 public void testThumbnails () throws Exception {
356388 YoutubeTestsUtils .testImages (extractor .getThumbnails ());
357389 }
358390
391+ @ Override
359392 @ Test
360393 public void testBanners () throws ParsingException {
361394 YoutubeTestsUtils .testImages (extractor .getBanners ());
@@ -366,17 +399,20 @@ void testUploaderUrl() throws Exception {
366399 assertEquals ("https://www.youtube.com/channel/UCX6b17PVsYBQ0ip5gyeme-Q" , extractor .getUploaderUrl ());
367400 }
368401
402+ @ Override
369403 @ Test
370404 public void testUploaderName () throws Exception {
371405 final String uploaderName = extractor .getUploaderName ();
372406 ExtractorAsserts .assertContains ("CrashCourse" , uploaderName );
373407 }
374408
409+ @ Override
375410 @ Test
376411 public void testUploaderAvatars () throws Exception {
377412 YoutubeTestsUtils .testImages (extractor .getUploaderAvatars ());
378413 }
379414
415+ @ Override
380416 @ Test
381417 public void testStreamCount () throws Exception {
382418 ExtractorAsserts .assertGreater (40 , extractor .getStreamCount ());
@@ -480,6 +516,7 @@ public void testUploaderName() throws Exception {
480516 assertEquals ("YouTube" , extractor .getUploaderName ());
481517 }
482518
519+ @ Override
483520 @ Test
484521 public void testUploaderAvatars () throws Exception {
485522 YoutubeTestsUtils .testImages (extractor .getUploaderAvatars ());
0 commit comments