Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
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
DEMO
spring-boot
Commits
7daf69a3
Commit
7daf69a3
authored
Nov 16, 2016
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade to HTMLUnit 2.23 (+selenium module 2.23.2)
Fixes gh-7232
parent
ab26347c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
pom.xml
spring-boot-dependencies/pom.xml
+3
-2
LocalHostWebConnectionHtmlUnitDriverTests.java
.../webdriver/LocalHostWebConnectionHtmlUnitDriverTests.java
+3
-1
No files found.
spring-boot-dependencies/pom.xml
View file @
7daf69a3
...
...
@@ -89,7 +89,7 @@
<hikaricp.version>
2.4.7
</hikaricp.version>
<hikaricp-java6.version>
2.3.13
</hikaricp-java6.version>
<hsqldb.version>
2.3.3
</hsqldb.version>
<htmlunit.version>
2.2
1
</htmlunit.version>
<htmlunit.version>
2.2
3
</htmlunit.version>
<httpasyncclient.version>
4.1.2
</httpasyncclient.version>
<httpclient.version>
4.5.2
</httpclient.version>
<httpcore.version>
4.4.5
</httpcore.version>
...
...
@@ -139,6 +139,7 @@
<reactor.version>
2.0.8.RELEASE
</reactor.version>
<reactor-spring.version>
2.0.7.RELEASE
</reactor-spring.version>
<selenium.version>
2.53.1
</selenium.version>
<selenium-htmlunit.version>
2.23.2
</selenium-htmlunit.version>
<sendgrid.version>
2.2.2
</sendgrid.version>
<servlet-api.version>
3.1.0
</servlet-api.version>
<simple-json.version>
1.1.1
</simple-json.version>
...
...
@@ -1923,7 +1924,7 @@
<dependency>
<groupId>
org.seleniumhq.selenium
</groupId>
<artifactId>
htmlunit-driver
</artifactId>
<version>
${htmlunit.version}
</version>
<version>
${
selenium-
htmlunit.version}
</version>
</dependency>
<dependency>
<groupId>
org.seleniumhq.selenium
</groupId>
...
...
spring-boot-test/src/test/java/org/springframework/boot/test/web/htmlunit/webdriver/LocalHostWebConnectionHtmlUnitDriverTests.java
View file @
7daf69a3
...
...
@@ -81,7 +81,9 @@ public class LocalHostWebConnectionHtmlUnitDriverTests {
throws
Exception
{
this
.
thrown
.
expect
(
IllegalArgumentException
.
class
);
this
.
thrown
.
expectMessage
(
"Environment must not be null"
);
new
LocalHostWebConnectionHtmlUnitDriver
(
null
,
mock
(
Capabilities
.
class
));
Capabilities
capabilities
=
mock
(
Capabilities
.
class
);
given
(
capabilities
.
getBrowserName
()).
willReturn
(
"chrome"
);
new
LocalHostWebConnectionHtmlUnitDriver
(
null
,
capabilities
);
}
@Test
...
...
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