VSCO Tests

Added a few tests for VSCORipper
This commit is contained in:
Kevin Jiang 2018-06-09 00:27:01 -04:00
parent 8c82588258
commit b5ab5b9b99

View File

@ -7,7 +7,7 @@ import java.net.URL;
public class VscoRipperTest extends RippersTest {
/**
* Testing Rip.
* Testing single image.
* @throws IOException
*/
public void testSingleImageRip() throws IOException {
@ -15,6 +15,25 @@ public class VscoRipperTest extends RippersTest {
testRipper(ripper);
}
/**
* Tests profile rip.
* @throws IOException
*/
public void testProfileRip() throws IOException {
VscoRipper ripper = new VscoRipper(new URL("https://vsco.co/jonathangodoy/images/1"));
testRipper(ripper);
}
/**
* Prevents Bug #679 from happening again.
* https://github.com/RipMeApp/ripme/issues/679
* @throws IOException
*/
public void testHyphenatedRip() throws IOException {
VscoRipper ripper = new VscoRipper(new URL(""));
testRipper(ripper);
}
/**
* Make sure it names the folder something sensible.
* @throws IOException