diff --git a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/CoomerPartyRipperTest.java b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/CoomerPartyRipperTest.java index c35822a8..b6e8a123 100644 --- a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/CoomerPartyRipperTest.java +++ b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/CoomerPartyRipperTest.java @@ -3,17 +3,19 @@ package com.rarchives.ripme.tst.ripper.rippers; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; -import com.rarchives.ripme.ripper.rippers.CoomerPartyRipper; - -import org.junit.jupiter.api.Test; - import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; +import org.junit.jupiter.api.Tag; +import org.junit.jupiter.api.Test; + +import com.rarchives.ripme.ripper.rippers.CoomerPartyRipper; + public class CoomerPartyRipperTest extends RippersTest { @Test + @Tag("flaky") public void testRip() throws IOException, URISyntaxException { URL url = new URI("https://coomer.su/onlyfans/user/soogsx").toURL(); CoomerPartyRipper ripper = new CoomerPartyRipper(url); @@ -23,7 +25,7 @@ public class CoomerPartyRipperTest extends RippersTest { @Test public void testUrlParsing() throws IOException, URISyntaxException { String expectedGid = "onlyfans_soogsx"; - String[] urls = new String[]{ + String[] urls = new String[] { "https://coomer.su/onlyfans/user/soogsx", // normal url "http://coomer.su/onlyfans/user/soogsx", // http, not https "https://coomer.su/onlyfans/user/soogsx/", // with slash at the end @@ -37,4 +39,4 @@ public class CoomerPartyRipperTest extends RippersTest { assertEquals(expectedGid, ripper.getGID(url)); } } -} \ No newline at end of file +} diff --git a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/FapwizRipperTest.java b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/FapwizRipperTest.java index 5228e7cd..3b3c9d2d 100644 --- a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/FapwizRipperTest.java +++ b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/FapwizRipperTest.java @@ -72,6 +72,7 @@ public class FapwizRipperTest extends RippersTest { } @Test + @Tag("flaky") public void testRipPostWithEmojiInLongUrlAtEnd() throws IOException, URISyntaxException { URL url = new URI( "https://fapwiz.com/bimeat1998/just-imagine-youre-out-with-your-girl-and-your-buddies-and-then-she-makes-this-move-%f0%9f%98%8d/") diff --git a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/RulePornRipperTest.java b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/RulePornRipperTest.java index 73f79a56..cf60ced0 100644 --- a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/RulePornRipperTest.java +++ b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/RulePornRipperTest.java @@ -5,12 +5,15 @@ import java.net.URI; import java.net.URISyntaxException; import java.net.URL; -import com.rarchives.ripme.ripper.rippers.RulePornRipper; import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; +import com.rarchives.ripme.ripper.rippers.RulePornRipper; + public class RulePornRipperTest extends RippersTest { @Test + @Tag("flaky") public void testRip() throws IOException, URISyntaxException { RulePornRipper ripper = new RulePornRipper(new URI("https://ruleporn.com/tosh/").toURL()); testRipper(ripper); @@ -22,4 +25,4 @@ public class RulePornRipperTest extends RippersTest { RulePornRipper ripper = new RulePornRipper(url); Assertions.assertEquals("tosh", ripper.getGID(url)); } -} \ No newline at end of file +} diff --git a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/VscoRipperTest.java b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/VscoRipperTest.java index 20e14442..46f6875e 100644 --- a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/VscoRipperTest.java +++ b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/VscoRipperTest.java @@ -1,17 +1,17 @@ package com.rarchives.ripme.tst.ripper.rippers; -import com.rarchives.ripme.ripper.rippers.VscoRipper; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; -public class VscoRipperTest extends RippersTest { +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Tag; +import org.junit.jupiter.api.Test; +import com.rarchives.ripme.ripper.rippers.VscoRipper; + +public class VscoRipperTest extends RippersTest { /** * Testing single image. * @@ -19,7 +19,8 @@ public class VscoRipperTest extends RippersTest { */ @Test public void testSingleImageRip() throws IOException, URISyntaxException { - VscoRipper ripper = new VscoRipper(new URI("https://vsco.co/jolly-roger/media/597ce449846079297b3f7cf3").toURL()); + VscoRipper ripper = new VscoRipper( + new URI("https://vsco.co/jolly-roger/media/597ce449846079297b3f7cf3").toURL()); testRipper(ripper); } @@ -30,6 +31,7 @@ public class VscoRipperTest extends RippersTest { * @throws IOException */ @Test + @Tag("flaky") public void testHyphenatedRip() throws IOException, URISyntaxException { VscoRipper ripper = new VscoRipper(new URI("https://vsco.co/jolly-roger/gallery").toURL()); testRipper(ripper);