1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-01-16 20:28:15 +01:00

imgur 100, ehentai flaky tests

This commit is contained in:
soloturn 2024-12-12 05:14:49 +01:00
parent afe0728671
commit b0214bca05
3 changed files with 6 additions and 2 deletions

View File

@ -43,7 +43,7 @@ version = "1.7.94"
description = "ripme"
jacoco {
toolVersion = "0.8.11"
toolVersion = "0.8.12"
}
jgitver {

View File

@ -9,10 +9,12 @@ import java.util.List;
import com.rarchives.ripme.ripper.rippers.EHentaiRipper;
import com.rarchives.ripme.utils.RipUtils;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
public class EhentaiRipperTest extends RippersTest {
@Test
@Tag("flaky")
public void testEHentaiAlbum() throws IOException, URISyntaxException {
EHentaiRipper ripper = new EHentaiRipper(new URI("https://e-hentai.org/g/1144492/e823bdf9a5/").toURL());
testRipper(ripper);

View File

@ -5,6 +5,7 @@ import com.rarchives.ripme.ripper.rippers.ImgurRipper.ImgurAlbum;
import com.rarchives.ripme.utils.RipUtils;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.io.IOException;
@ -95,6 +96,7 @@ public class ImgurRipperTest extends RippersTest {
}
@Test
@Tag("flaky")
public void testImgurAlbumWithMoreThan100Pictures() throws IOException, URISyntaxException {
ImgurAlbum album = ImgurRipper.getImgurAlbum(new URI("https://imgur.com/a/HX3JSrD").toURL());
Assertions.assertTrue(album.images.size() >= 100,