Merge pull request #113 from cyian-1756/unitTestFixes

Unit test fixes
This commit is contained in:
cyian-1756 2017-10-24 00:05:40 -04:00 committed by GitHub
commit d4f83c0ae6
3 changed files with 5 additions and 6 deletions

View File

@ -169,7 +169,7 @@ public class BasicRippersTest extends RippersTest {
}
public void testImgboxRip() throws IOException {
AbstractRipper ripper = new ImgboxRipper(new URL("http://imgbox.com/g/sEMHfsqx4w"));
AbstractRipper ripper = new ImgboxRipper(new URL("https://imgbox.com/g/FJPF7t26FD"));
testRipper(ripper);
}
@ -217,7 +217,7 @@ public class BasicRippersTest extends RippersTest {
}
public void testPornhubRip() throws IOException {
AbstractRipper ripper = new PornhubRipper(new URL("http://www.pornhub.com/album/428351"));
AbstractRipper ripper = new PornhubRipper(new URL("https://www.pornhub.com/album/15680522"));
testRipper(ripper);
}
@ -276,7 +276,7 @@ public class BasicRippersTest extends RippersTest {
}
public void testXhamsterAlbums() throws IOException {
XhamsterRipper ripper = new XhamsterRipper(new URL("https://xhamster.com/photos/gallery/volleyball-sluts-8305007"));
XhamsterRipper ripper = new XhamsterRipper(new URL("https://xhamster.com/photos/gallery/polaroids-2-8940215"));
testRipper(ripper);
}
}

View File

@ -16,7 +16,6 @@ public class InstagramRipperTest extends RippersTest {
testURLs.put(new URL("http://instagram.com/Test_User"), "Test_User");
testURLs.put(new URL("http://instagram.com/_test_user_"), "_test_user_");
testURLs.put(new URL("http://instagram.com/-test-user-"), "-test-user-");
testURLs.put(new URL("http://statigr.am/username"), "username");
for (URL url : testURLs.keySet()) {
InstagramRipper ripper = new InstagramRipper(url);
ripper.setup();

View File

@ -37,8 +37,8 @@ public class VideoRippersTest extends RippersTest {
public void testXvideosRipper() throws IOException {
List<URL> contentURLs = new ArrayList<URL>();
contentURLs.add(new URL("http://www.xvideos.com/video1428195/stephanie_first_time_anal"));
contentURLs.add(new URL("http://www.xvideos.com/video7136868/vid-20140205-wa0011"));
contentURLs.add(new URL("https://www.xvideos.com/video19719109/ziggy_star_ultra_hard_anal_pounding"));
contentURLs.add(new URL("https://www.xvideos.com/video23515878/dee_s_pool_toys"));
for (URL url : contentURLs) {
XvideosRipper ripper = new XvideosRipper(url);
videoTestHelper(ripper);