1
0
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:
Owais 2019-10-10 23:02:26 +05:30
parent 1485d22f50
commit d63eb4028f

View File

@ -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));
}
}