mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-01-17 20:58:31 +01:00
e62ripper, erofusripper, imagebamrupper flaky
This commit is contained in:
parent
b28c4bf86a
commit
130a57d545
@ -5,6 +5,7 @@ import java.net.URL;
|
||||
|
||||
import com.rarchives.ripme.ripper.rippers.E621Ripper;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class E621RipperTest extends RippersTest {
|
||||
@ -13,11 +14,13 @@ public class E621RipperTest extends RippersTest {
|
||||
testRipper(ripper);
|
||||
}
|
||||
@Test
|
||||
@Tag("flaky")
|
||||
public void testFlashOrWebm() throws IOException {
|
||||
E621Ripper ripper = new E621Ripper(new URL("https://e621.net/posts?page=4&tags=gif+rating%3As+3d"));
|
||||
testRipper(ripper);
|
||||
}
|
||||
@Test
|
||||
@Tag("flaky")
|
||||
public void testGetNextPage() throws IOException {
|
||||
E621Ripper nextPageRipper = new E621Ripper(new URL("https://e621.net/posts?tags=cosmicminerals"));
|
||||
try {
|
||||
@ -35,16 +38,19 @@ public class E621RipperTest extends RippersTest {
|
||||
}
|
||||
}
|
||||
@Test
|
||||
@Tag("flaky")
|
||||
public void testOldRip() throws IOException {
|
||||
E621Ripper ripper = new E621Ripper(new URL("https://e621.net/post/index/1/beach"));
|
||||
testRipper(ripper);
|
||||
}
|
||||
@Test
|
||||
@Tag("flaky")
|
||||
public void testOldFlashOrWebm() throws IOException {
|
||||
E621Ripper ripper = new E621Ripper(new URL("https://e621.net/post/index/1/gif"));
|
||||
testRipper(ripper);
|
||||
}
|
||||
@Test
|
||||
@Tag("flaky")
|
||||
public void testOldGetNextPage() throws IOException {
|
||||
E621Ripper nextPageRipper = new E621Ripper(new URL("https://e621.net/post/index/1/cosmicminerals"));
|
||||
try {
|
||||
|
@ -5,16 +5,19 @@ import java.net.URL;
|
||||
|
||||
import com.rarchives.ripme.ripper.rippers.ErofusRipper;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class ErofusRipperTest extends RippersTest {
|
||||
@Test
|
||||
@Tag("flaky") // if url does not exist, erofusripper test ends in out of memory
|
||||
public void testRip() throws IOException {
|
||||
ErofusRipper ripper = new ErofusRipper(new URL("https://www.erofus.com/comics/be-story-club-comics/a-kiss/issue-1"));
|
||||
testRipper(ripper);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Tag("flaky")
|
||||
public void testGetGID() throws IOException {
|
||||
ErofusRipper ripper = new ErofusRipper(new URL("https://www.erofus.com/comics/be-story-club-comics/a-kiss/issue-1"));
|
||||
Assertions.assertEquals("be-story-club-comics", ripper.getGID(new URL("https://www.erofus.com/comics/be-story-club-comics/a-kiss/issue-1")));
|
||||
|
@ -9,6 +9,7 @@ import org.junit.jupiter.api.Test;
|
||||
|
||||
public class ImagebamRipperTest extends RippersTest {
|
||||
@Test
|
||||
@Tag("flaky")
|
||||
public void testImagebamRip() throws IOException {
|
||||
ImagebamRipper ripper = new ImagebamRipper(new URL("http://www.imagebam.com/gallery/488cc796sllyf7o5srds8kpaz1t4m78i"));
|
||||
testRipper(ripper);
|
||||
|
Loading…
x
Reference in New Issue
Block a user