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