introduce mockito for test

pull/412/merge
yihua.huang 8 years ago
parent 5215a492cc
commit fc702fd3b6

@ -64,6 +64,12 @@
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.10.19</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>

@ -40,6 +40,11 @@
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>

@ -0,0 +1,17 @@
package us.codecraft.webmagic.samples.scheduler;
import org.junit.Test;
/**
* @author code4crafter@gmail.com
* Date: 17/3/11
* Time: 11:26
*/
public class DuplicateRemovedSchedulerTest {
@Test
public void testDuplicateRemoved() throws Exception {
}
}
Loading…
Cancel
Save