mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-02-21 22:52:26 +01:00
reddit flaky tests
This commit is contained in:
parent
cbdf457419
commit
ab4b584a97
@ -7,19 +7,20 @@ import java.net.URL;
|
||||
import com.rarchives.ripme.ripper.rippers.RedditRipper;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class RedditRipperTest extends RippersTest {
|
||||
|
||||
@Test
|
||||
@Disabled("Rip is flaky") // https://github.com/RipMeApp/ripme/issues/253
|
||||
@Tag("flaky") // https://github.com/RipMeApp/ripme/issues/253
|
||||
public void testRedditSubredditRip() throws IOException {
|
||||
RedditRipper ripper = new RedditRipper(new URL("http://www.reddit.com/r/nsfw_oc"));
|
||||
testRipper(ripper);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled("Rip is flaky") // https://github.com/RipMeApp/ripme/issues/253
|
||||
@Tag("flaky") // https://github.com/RipMeApp/ripme/issues/253
|
||||
public void testRedditSubredditTopRip() throws IOException {
|
||||
RedditRipper ripper = new RedditRipper(new URL("http://www.reddit.com/r/nsfw_oc/top?t=all"));
|
||||
testRipper(ripper);
|
||||
@ -33,12 +34,13 @@ public class RedditRipperTest extends RippersTest {
|
||||
testRipper(ripper);
|
||||
}
|
||||
|
||||
/**
|
||||
/**testRedditSubredditRip:19
|
||||
* GFYCAT TEST Tests a good GfycatURL (no "/gifs/detail")
|
||||
*
|
||||
* @throws IOException
|
||||
*/
|
||||
@Test
|
||||
@Tag("flaky")
|
||||
public void testRedditGfyGoodURL() throws IOException {
|
||||
RedditRipper ripper = new RedditRipper(
|
||||
new URL("https://www.reddit.com/r/bottesting/comments/7msozf/good_link/"));
|
||||
@ -51,6 +53,7 @@ public class RedditRipperTest extends RippersTest {
|
||||
* @throws IOException
|
||||
*/
|
||||
@Test
|
||||
@Tag("flaky")
|
||||
public void testRedditGfyBadURL() throws IOException {
|
||||
RedditRipper ripper = new RedditRipper(
|
||||
new URL("https://www.reddit.com/r/bottesting/comments/7msmhi/bad_link/"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user