kopia lustrzana https://github.com/TeamNewPipe/NewPipeExtractor
Cleanup test
rodzic
470a719861
commit
bcf24def8b
|
@ -10,14 +10,12 @@ import org.schabi.newpipe.downloader.DownloaderFactory;
|
||||||
import org.schabi.newpipe.extractor.NewPipe;
|
import org.schabi.newpipe.extractor.NewPipe;
|
||||||
import org.schabi.newpipe.extractor.exceptions.ParsingException;
|
import org.schabi.newpipe.extractor.exceptions.ParsingException;
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
|
|
||||||
class YoutubeThrottlingParameterDeobfuscationTest {
|
class YoutubeThrottlingParameterDeobfuscationTest {
|
||||||
private static final String RESOURCE_PATH =
|
private static final String RESOURCE_PATH =
|
||||||
DownloaderFactory.RESOURCE_PATH + "services/youtube/extractor/parameterDeobf";
|
DownloaderFactory.RESOURCE_PATH + "services/youtube/extractor/parameterDeobf";
|
||||||
|
|
||||||
@BeforeEach
|
@BeforeEach
|
||||||
void setup() throws IOException {
|
void setup() {
|
||||||
YoutubeTestsUtils.ensureStateless();
|
YoutubeTestsUtils.ensureStateless();
|
||||||
NewPipe.init(DownloaderFactory.getDownloader(RESOURCE_PATH));
|
NewPipe.init(DownloaderFactory.getDownloader(RESOURCE_PATH));
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue