Added PicstatioRipper unit test
This commit is contained in:
parent
f34b1273f5
commit
7102bdec6f
@ -0,0 +1,19 @@
|
||||
package com.rarchives.ripme.tst.ripper.rippers;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
|
||||
import com.rarchives.ripme.ripper.rippers.PicstatioRipper;
|
||||
|
||||
public class PicstatioRipperTest extends RippersTest {
|
||||
|
||||
public void testRip() throws IOException {
|
||||
PicstatioRipper ripper = new PicstatioRipper(new URL("https://www.picstatio.com/aerial-view-wallpapers"));
|
||||
testRipper(ripper);
|
||||
}
|
||||
|
||||
public void testGID() throws IOException {
|
||||
PicstatioRipper ripper = new PicstatioRipper(new URL("https://www.picstatio.com/aerial-view-wallpapers"));
|
||||
assertEquals("aerial-view-wallpapers", ripper.getGID(new URL("https://www.picstatio.com/aerial-view-wallpapers")));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user