mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-01-18 05:08:15 +01:00
Adding unit tests for Mastodon rippers
This commit is contained in:
parent
19ec16bf7f
commit
c9759f23d2
@ -0,0 +1,15 @@
|
||||
package com.rarchives.ripme.tst.ripper.rippers;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
|
||||
import com.rarchives.ripme.ripper.rippers.ArtAlleyRipper;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class ArtAlleyRipperTest extends RippersTest {
|
||||
@Test
|
||||
public void testRip() throws IOException {
|
||||
ArtAlleyRipper ripper = new ArtAlleyRipper(new URL("https://artalley.social/@curator/media"));
|
||||
testRipper(ripper);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package com.rarchives.ripme.tst.ripper.rippers;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
|
||||
import com.rarchives.ripme.ripper.rippers.BaraagRipper;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class BaraagRipperTest extends RippersTest {
|
||||
@Test
|
||||
public void testRip() throws IOException {
|
||||
BaraagRipper ripper = new BaraagRipper(new URL("https://baraag.net/@darkshadow777/media"));
|
||||
testRipper(ripper);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package com.rarchives.ripme.tst.ripper.rippers;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
|
||||
import com.rarchives.ripme.ripper.rippers.MastodonRipper;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class MastodonRipperTest extends RippersTest {
|
||||
@Test
|
||||
public void testRip() throws IOException {
|
||||
MastodonRipper ripper = new MastodonRipper(new URL("https://mastodon.social/@pythonhub/media"));
|
||||
testRipper(ripper);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package com.rarchives.ripme.tst.ripper.rippers;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
|
||||
import com.rarchives.ripme.ripper.rippers.MastodonXyzRipper;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class MastodonXyzRipperTest extends RippersTest {
|
||||
@Test
|
||||
public void testRip() throws IOException {
|
||||
MastodonXyzRipper ripper = new MastodonXyzRipper(new URL("https://mastodon.xyz/@artwo/media"));
|
||||
testRipper(ripper);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package com.rarchives.ripme.tst.ripper.rippers;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
|
||||
import com.rarchives.ripme.ripper.rippers.PawooRipper;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class PawooRipperTest extends RippersTest {
|
||||
@Test
|
||||
public void testRip() throws IOException {
|
||||
PawooRipper ripper = new PawooRipper(new URL("https://pawoo.net/@halki/media"));
|
||||
testRipper(ripper);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user