replace uiHandler name with linkhandler

This commit is contained in:
Christian Schabesberger
2018-09-15 20:12:52 +02:00
parent 1e7bcfbd66
commit dc0d0bda24
12 changed files with 45 additions and 28 deletions

View File

@@ -3,7 +3,6 @@ package org.schabi.newpipe.extractor.services.youtube.search;
import org.junit.BeforeClass;
import org.junit.Test;
import org.schabi.newpipe.Downloader;
import org.schabi.newpipe.extractor.InfoItem;
import org.schabi.newpipe.extractor.NewPipe;
import org.schabi.newpipe.extractor.channel.ChannelInfoItem;
import org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeSearchExtractor;
@@ -25,8 +24,7 @@ public class YoutubeSearchCountTest {
}
@Test
public void testViewCount() throws Exception {
boolean foundKnownChannel = false;
public void testViewCount() {
ChannelInfoItem ci = (ChannelInfoItem) itemsPage.getItems().get(0);
assertTrue("Count does not fit: " + Long.toString(ci.getSubscriberCount()),
65043316 < ci.getSubscriberCount() && ci.getSubscriberCount() < 68043316);