mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-27 23:40:36 +05:30
Improve tests
This commit is contained in:
parent
7b5d41a741
commit
2d3342bf56
@ -1,5 +1,9 @@
|
|||||||
package org.schabi.newpipe.extractor.utils;
|
package org.schabi.newpipe.extractor.utils;
|
||||||
|
|
||||||
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
|
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||||
|
import static org.schabi.newpipe.FileUtils.resolveTestResource;
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import org.schabi.newpipe.extractor.exceptions.ParsingException;
|
import org.schabi.newpipe.extractor.exceptions.ParsingException;
|
||||||
import org.schabi.newpipe.extractor.utils.jsextractor.JavaScriptExtractor;
|
import org.schabi.newpipe.extractor.utils.jsextractor.JavaScriptExtractor;
|
||||||
@ -10,11 +14,7 @@ import java.io.File;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.nio.file.Files;
|
import java.nio.file.Files;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
class JavaScriptExtractorTest
|
||||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
|
||||||
import static org.schabi.newpipe.FileUtils.resolveTestResource;
|
|
||||||
|
|
||||||
public class JavaScriptExtractorTest
|
|
||||||
{
|
{
|
||||||
@Test
|
@Test
|
||||||
void testJsExtractor() throws ParsingException {
|
void testJsExtractor() throws ParsingException {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user