mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-26 07:14:38 +02:00
Merge disable Hentai nexus and Hentai cafe test, both offline #1881
https://github.com/RipMeApp/ripme/pull/1881
This commit is contained in:
@@ -4,12 +4,14 @@ import java.io.IOException;
|
|||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
|
||||||
import com.rarchives.ripme.ripper.rippers.HentaiCafeRipper;
|
import com.rarchives.ripme.ripper.rippers.HentaiCafeRipper;
|
||||||
|
import org.junit.jupiter.api.Disabled;
|
||||||
import org.junit.jupiter.api.Tag;
|
import org.junit.jupiter.api.Tag;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
public class HentaicafeRipperTest extends RippersTest {
|
public class HentaicafeRipperTest extends RippersTest {
|
||||||
@Test
|
@Test
|
||||||
@Tag("flaky")
|
@Tag("flaky")
|
||||||
|
@Disabled("20/05/2021 This test was disabled as the site has experienced notable downtime")
|
||||||
public void testHentaiCafeAlbum() throws IOException {
|
public void testHentaiCafeAlbum() throws IOException {
|
||||||
HentaiCafeRipper ripper = new HentaiCafeRipper(new URL("https://hentai.cafe/kikuta-the-oni-in-the-room/"));
|
HentaiCafeRipper ripper = new HentaiCafeRipper(new URL("https://hentai.cafe/kikuta-the-oni-in-the-room/"));
|
||||||
testRipper(ripper);
|
testRipper(ripper);
|
||||||
@@ -17,6 +19,7 @@ public class HentaicafeRipperTest extends RippersTest {
|
|||||||
// This album has a line break (<br />) in the url. Test it to make sure ripme can handle these invalid urls
|
// This album has a line break (<br />) in the url. Test it to make sure ripme can handle these invalid urls
|
||||||
@Test
|
@Test
|
||||||
@Tag("flaky")
|
@Tag("flaky")
|
||||||
|
@Disabled("20/05/2021 This test was disabled as the site has experienced notable downtime")
|
||||||
public void testAlbumWithInvalidChars() throws IOException {
|
public void testAlbumWithInvalidChars() throws IOException {
|
||||||
HentaiCafeRipper ripper = new HentaiCafeRipper(new URL("https://hentai.cafe/chobipero-club/"));
|
HentaiCafeRipper ripper = new HentaiCafeRipper(new URL("https://hentai.cafe/chobipero-club/"));
|
||||||
testRipper(ripper);
|
testRipper(ripper);
|
||||||
|
@@ -8,12 +8,14 @@ import java.util.List;
|
|||||||
import com.rarchives.ripme.ripper.rippers.HentaiNexusRipper;
|
import com.rarchives.ripme.ripper.rippers.HentaiNexusRipper;
|
||||||
import org.json.JSONObject;
|
import org.json.JSONObject;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
|
import org.junit.jupiter.api.Disabled;
|
||||||
import org.junit.jupiter.api.Tag;
|
import org.junit.jupiter.api.Tag;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
public class HentainexusRipperTest extends RippersTest {
|
public class HentainexusRipperTest extends RippersTest {
|
||||||
@Test
|
@Test
|
||||||
@Tag("flaky")
|
@Tag("flaky")
|
||||||
|
@Disabled("20/05/2021 This test was disabled as the site has experienced notable downtime")
|
||||||
public void testHentaiNexusJson() throws IOException {
|
public void testHentaiNexusJson() throws IOException {
|
||||||
List<URL> testURLs = new ArrayList<>();
|
List<URL> testURLs = new ArrayList<>();
|
||||||
testURLs.add(new URL("https://hentainexus.com/view/9202"));
|
testURLs.add(new URL("https://hentainexus.com/view/9202"));
|
||||||
|
Reference in New Issue
Block a user