File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed
apache-http-client/src/main/java/com/unidev/httpclient/apache
phantom-js/src/test/java/com/unidev/httpclient/phantomjs Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ protected RequestConfig.Builder buildRequestConfig() {
117117 }
118118
119119 /**
120- * Create default HTTPClient with random user agent & no proxy
120+ * Create default HTTPClient with random user agent and no proxy
121121 */
122122 public void init (List <String > userAgents ) {
123123 if (!CollectionUtils .isEmpty (userAgents )) {
Original file line number Diff line number Diff line change @@ -32,6 +32,12 @@ subprojects {
3232
3333 testCompileOnly " org.projectlombok:lombok:${ lombokVersion} "
3434 testAnnotationProcessor " org.projectlombok:lombok:${ lombokVersion} "
35+
36+ testImplementation ' org.mockito:mockito-all:1.10.19'
37+ testImplementation ' org.hamcrest:hamcrest-all:1.3'
38+ testImplementation ' org.assertj:assertj-core:3.9.1'
39+
40+ testImplementation " org.junit.jupiter:junit-jupiter:${ junitJupiterVersion} "
3541 }
3642
3743 tasks. named(' test' ) {
Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ httpclientVersion=4.5.13
22httpmimeVersion =4.5.13
33httpcoreVresion =4.4.10
44lombokVersion =1.18.24
5+ junitJupiterVersion =5.9.1
Original file line number Diff line number Diff line change 11package com .unidev .httpclient .phantomjs ;
22
33import com .unidev .platform .Processes ;
4- import com .unidev .httpclient .apache .PhantomJSClient ;
54import org .junit .jupiter .api .BeforeEach ;
65import org .junit .jupiter .api .Test ;
76
You can’t perform that action at this time.
0 commit comments