From e3a1462c2c7075a087a4d656ee448071d231b3cc Mon Sep 17 00:00:00 2001 From: metaprime Date: Thu, 30 Nov 2017 01:03:10 -0800 Subject: [PATCH] EroShareRipperTest (disabled per #306) --- .../ripper/rippers/EroShareRipperTest.java | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/test/java/com/rarchives/ripme/tst/ripper/rippers/EroShareRipperTest.java diff --git a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/EroShareRipperTest.java b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/EroShareRipperTest.java new file mode 100644 index 00000000..a9e3b41f --- /dev/null +++ b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/EroShareRipperTest.java @@ -0,0 +1,49 @@ +package com.rarchives.ripme.tst.ripper.rippers; + +import java.io.IOException; +import java.net.URL; + +import com.rarchives.ripme.ripper.rippers.EroShareRipper; +import com.rarchives.ripme.ripper.rippers.RedditRipper; + +public class EroShareRipperTest extends RippersTest { + /* + + // https://github.com/RipMeApp/ripme/issues/306 : EroShareRipper broken (even for eroshae links) + + // single image posts + + public void testImageEroshareFromRedditRip() throws IOException { + RedditRipper ripper = new RedditRipper(new URL("https://www.reddit.com/r/BestOfEroshare/comments/5z7foo/good_morning_who_likes_abstract_asian_artwork_f/")); + testRipper(ripper); + } + + public void testImageEroshareRip() throws IOException { + EroShareRipper ripper = new EroShareRipper(new URL("https://eroshare.com/i/5j2qln3f")); + testRipper(ripper); + } + + public void testImageEroshaeRip() throws IOException { + EroShareRipper ripper = new EroShareRipper(new URL("https://eroshae.com/i/5j2qln3f")); + testRipper(ripper); + } + + // video album post + + public void testVideoAlbumFromRedditRip() throws IOException { + EroShareRipper ripper = new EroShareRipper(new URL("https://www.reddit.com/r/BestOfEroshare/comments/5vyfnw/asian_mf_heard_i_should_post_here_date_night_her/")); + testRipper(ripper); + } + + public void testVideoAlbumEroshareRip() throws IOException { + EroShareRipper ripper = new EroShareRipper(new URL("https://eroshare.com/wqnl6f00")); + testRipper(ripper); + } + + public void testVideoAlbumEroshaeRip() throws IOException { + EroShareRipper ripper = new EroShareRipper(new URL("https://eroshae.com/wqnl6f00")); + testRipper(ripper); + } + + */ +}