Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
webmagic
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
沈俊林
webmagic
Commits
fc702fd3
Commit
fc702fd3
authored
Mar 11, 2017
by
yihua.huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
introduce mockito for test
parent
5215a492
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
0 deletions
+28
-0
pom.xml
pom.xml
+6
-0
pom.xml
webmagic-core/pom.xml
+5
-0
DuplicateRemovedSchedulerTest.java
...agic/samples/scheduler/DuplicateRemovedSchedulerTest.java
+17
-0
No files found.
pom.xml
View file @
fc702fd3
...
...
@@ -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>
...
...
webmagic-core/pom.xml
View file @
fc702fd3
...
...
@@ -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>
...
...
webmagic-samples/src/test/java/us/codecraft/webmagic/samples/scheduler/DuplicateRemovedSchedulerTest.java
0 → 100644
View file @
fc702fd3
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
{
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment