mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-07-02 21:37:26 +00:00
23 lines
616 B
Java
23 lines
616 B
Java
package net.lamgc.cgj.pixiv;
|
|
|
|
import org.junit.Ignore;
|
|
import org.junit.Test;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
@Ignore
|
|
public class ModerateContentDetectorTest {
|
|
|
|
private final static AdultContentDetector acd = new ModerateContentDetector("d91b6c3fa2bba9ee8f9e68827ba0d937");
|
|
private final static Logger log = LoggerFactory.getLogger(ModerateContentDetector.class);
|
|
|
|
@Test
|
|
public void checkTest() throws Exception {
|
|
log.info("Detect: {}, isAdult: {}",
|
|
acd.detect(80840411, false, 0),
|
|
acd.isAdultContent(80840411, false, 0));
|
|
}
|
|
|
|
|
|
}
|