mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-01-18 05:08:15 +01:00
Add test for folio.ink ripper
This commit is contained in:
parent
1485d22f50
commit
d63eb4028f
@ -0,0 +1,26 @@
|
||||
package com.rarchives.ripme.tst.ripper.rippers;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import com.rarchives.ripme.ripper.rippers.FolioRipper;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class FolioRipperTest extends RippersTest {
|
||||
/**
|
||||
* Test for folio.ink ripper
|
||||
* @throws IOException
|
||||
*/
|
||||
@Test
|
||||
public void testFolioRip() throws IOException {
|
||||
FolioRipper ripper = new FolioRipper(new URL("https://folio.ink/DmBe6i"));
|
||||
testRipper(ripper);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGetGID() throws IOException {
|
||||
URL url = new URL("https://folio.ink/DmBe6i");
|
||||
FolioRipper ripper = new FolioRipper(url);
|
||||
assertEquals("DmBe6i", ripper.getGID(url));
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user