Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ protected RequestConfig.Builder buildRequestConfig() {
}

/**
* Create default HTTPClient with random user agent & no proxy
* Create default HTTPClient with random user agent and no proxy
*/
public void init(List<String> userAgents) {
if (!CollectionUtils.isEmpty(userAgents)) {
Expand Down
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ subprojects {

testCompileOnly "org.projectlombok:lombok:${lombokVersion}"
testAnnotationProcessor "org.projectlombok:lombok:${lombokVersion}"

testImplementation 'org.mockito:mockito-all:1.10.19'
testImplementation 'org.hamcrest:hamcrest-all:1.3'
testImplementation 'org.assertj:assertj-core:3.9.1'

testImplementation "org.junit.jupiter:junit-jupiter:${junitJupiterVersion}"
}

tasks.named('test') {
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ httpclientVersion=4.5.13
httpmimeVersion=4.5.13
httpcoreVresion=4.4.10
lombokVersion=1.18.24
junitJupiterVersion=5.9.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.unidev.httpclient.phantomjs;

import com.unidev.platform.Processes;
import com.unidev.httpclient.apache.PhantomJSClient;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

Expand Down