mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-01 03:20:20 +02:00
chainrippertest method does nothing, remove
This commit is contained in:
@@ -14,19 +14,6 @@ import org.junit.jupiter.api.Assertions;
|
|||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
public class ChanRipperTest extends RippersTest {
|
public class ChanRipperTest extends RippersTest {
|
||||||
@Test
|
|
||||||
public void testChanURLFailures() throws IOException {
|
|
||||||
List<URL> failURLs = new ArrayList<>();
|
|
||||||
// URLs that should not work
|
|
||||||
for (URL url : failURLs) {
|
|
||||||
try {
|
|
||||||
new ChanRipper(url);
|
|
||||||
Assertions.fail("Instantiated ripper for URL that should not work: " + url);
|
|
||||||
} catch (Exception e) {
|
|
||||||
// Expected
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@Test
|
@Test
|
||||||
public void testChanURLPasses() throws IOException {
|
public void testChanURLPasses() throws IOException {
|
||||||
List<URL> passURLs = new ArrayList<>();
|
List<URL> passURLs = new ArrayList<>();
|
||||||
|
Reference in New Issue
Block a user