@@ -92,7 +92,7 @@ parties such as https://github.com/h-thurow/Simple-JNDI[Simple-JNDI].
92
92
The `org.springframework.mock.web` package contains a comprehensive set of Servlet API
93
93
mock objects that are useful for testing web contexts, controllers, and filters. These
94
94
mock objects are targeted at usage with Spring's Web MVC framework and are generally more
95
- convenient to use than dynamic mock objects (such as http ://easymock.org/[EasyMock])
95
+ convenient to use than dynamic mock objects (such as https ://easymock.org/[EasyMock])
96
96
or alternative Servlet API mock objects (such as http://www.mockobjects.com[MockObjects]).
97
97
98
98
TIP: Since Spring Framework 5.0, the mock objects in `org.springframework.mock.web` are
@@ -7729,13 +7729,13 @@ WebTestClient]. Browse these examples for further ideas.
7729
7729
==== HtmlUnit Integration
7730
7730
7731
7731
Spring provides integration between <<spring-mvc-test-server, MockMvc>> and
7732
- http ://htmlunit.sourceforge.net /[HtmlUnit]. This simplifies performing end-to-end testing
7732
+ https ://htmlunit.sourceforge.io /[HtmlUnit]. This simplifies performing end-to-end testing
7733
7733
when using HTML-based views. This integration lets you:
7734
7734
7735
7735
* Easily test HTML pages by using tools such as
7736
- http ://htmlunit.sourceforge.net /[HtmlUnit],
7736
+ https ://htmlunit.sourceforge.io /[HtmlUnit],
7737
7737
https://www.seleniumhq.org[WebDriver], and
7738
- http ://www.gebish.org/manual/current/#spock-junit-testng[Geb] without the need to
7738
+ https ://www.gebish.org/manual/current/#spock-junit-testng[Geb] without the need to
7739
7739
deploy to a Servlet container.
7740
7740
* Test JavaScript within pages.
7741
7741
* Optionally, test using mock services to speed up testing.
@@ -8062,11 +8062,11 @@ First, we no longer have to explicitly verify our form and then create a request
8062
8062
looks like the form. Instead, we request the form, fill it out, and submit it, thereby
8063
8063
significantly reducing the overhead.
8064
8064
8065
- Another important factor is that http ://htmlunit.sourceforge.net /javascript.html[HtmlUnit
8065
+ Another important factor is that https ://htmlunit.sourceforge.io /javascript.html[HtmlUnit
8066
8066
uses the Mozilla Rhino engine] to evaluate JavaScript. This means that we can also test
8067
8067
the behavior of JavaScript within our pages.
8068
8068
8069
- See the http ://htmlunit.sourceforge.net /gettingStarted.html[HtmlUnit documentation] for
8069
+ See the https ://htmlunit.sourceforge.io /gettingStarted.html[HtmlUnit documentation] for
8070
8070
additional information about using HtmlUnit.
8071
8071
8072
8072
[[spring-mvc-test-server-htmlunit-mah-advanced-builder]]
@@ -8673,7 +8673,7 @@ TIP: For additional information on creating a `MockMvc` instance, see
8673
8673
===== MockMvc and Geb
8674
8674
8675
8675
In the previous section, we saw how to use MockMvc with WebDriver. In this section, we
8676
- use http ://www.gebish.org/[Geb] to make our tests even Groovy-er.
8676
+ use https ://www.gebish.org/[Geb] to make our tests even Groovy-er.
8677
8677
8678
8678
[[spring-mvc-test-server-htmlunit-geb-why]]
8679
8679
====== Why Geb and MockMvc?
@@ -8776,7 +8776,7 @@ if we were at the wrong page.
8776
8776
8777
8777
Next, we create a `content` closure that specifies all the areas of interest within the
8778
8778
page. We can use a
8779
- http ://www.gebish.org/manual/current/#the-jquery-ish-navigator-api[jQuery-ish Navigator
8779
+ https ://www.gebish.org/manual/current/#the-jquery-ish-navigator-api[jQuery-ish Navigator
8780
8780
API] to select the content in which we are interested.
8781
8781
8782
8782
Finally, we can verify that a new message was created successfully, as follows:
@@ -8793,7 +8793,7 @@ message == expectedMessage
8793
8793
----
8794
8794
8795
8795
For further details on how to get the most out of Geb, see
8796
- http ://www.gebish.org/manual/current/[The Book of Geb] user's manual.
8796
+ https ://www.gebish.org/manual/current/[The Book of Geb] user's manual.
8797
8797
8798
8798
8799
8799
[[spring-mvc-test-client]]
0 commit comments