File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package org .schabi .newpipe .extractor .services .youtube .search ;
22
3- import org .junit .Ignore ;
43import org .junit .Test ;
54
65import static java .util .Arrays .asList ;
76import static org .junit .Assert .assertEquals ;
87import static org .schabi .newpipe .extractor .ServiceList .YouTube ;
9- import static org .schabi .newpipe .extractor .services .youtube .linkHandler .YoutubeSearchQueryHandlerFactory .*;
8+ import static org .schabi .newpipe .extractor .services .youtube .linkHandler .YoutubeSearchQueryHandlerFactory .CHANNELS ;
9+ import static org .schabi .newpipe .extractor .services .youtube .linkHandler .YoutubeSearchQueryHandlerFactory .MUSIC_SONGS ;
10+ import static org .schabi .newpipe .extractor .services .youtube .linkHandler .YoutubeSearchQueryHandlerFactory .PLAYLISTS ;
11+ import static org .schabi .newpipe .extractor .services .youtube .linkHandler .YoutubeSearchQueryHandlerFactory .VIDEOS ;
1012import static org .schabi .newpipe .extractor .utils .Utils .EMPTY_STRING ;
1113
1214public class YoutubeSearchQHTest {
1315
1416 @ Test
15- @ Ignore ("TODO fix" )
1617 public void testRegularValues () throws Exception {
1718 assertEquals ("https://www.youtube.com/results?search_query=asdf" , YouTube .getSearchQHFactory ().fromQuery ("asdf" ).getUrl ());
1819 assertEquals ("https://www.youtube.com/results?search_query=hans" , YouTube .getSearchQHFactory ().fromQuery ("hans" ).getUrl ());
You can’t perform that action at this time.
0 commit comments