Rossen Stoyanchev
6e4bbac6f7
MvcResult returns asyncResult after asyncDispatch
...
Issue: SPR-16648
8 years ago
Juergen Hoeller
9cc03fa8b0
Polishing
8 years ago
Sam Brannen
d57d914b26
Make method params final for use in anonymous inner class
...
Issue: SPR-16587
8 years ago
Sam Brannen
68463e2018
Support target type in JsonPath assertions for MockMvc results
...
This commit picks up where SPR-14498 left off by adding support for an
explicit target type when using JsonPath to perform an assertion against
the response content using a Hamcrest Matcher.
Specifically, there is a new overloaded value(Matcher<T>, Class<T>)
method in JsonPathResultMatchers for use with Hamcrest matchers where
the target type (i.e., Class<T>) can be specified.
Issue: SPR-16587
8 years ago
Yannik Hampe
ff53a26333
Make MockRestRequestMatchers independent of JUnit ( #1720 )
...
MockRestRequestMatchers was using org.junit.Assert.assertNotNull
and thus could not be used in projects that use e.g. TestNG instead
of JUnit 4.
8 years ago
Juergen Hoeller
bd6b7b08f3
Concurrency and exception message refinements for test transactions
...
(cherry picked from commit a0cc800 )
8 years ago
Juergen Hoeller
1f12214b45
Polishing
8 years ago
Juergen Hoeller
8e68ac44d2
Polishing
8 years ago
Juergen Hoeller
073e78b68d
Polishing
8 years ago
igor-suhorukov
d5f358c33c
Polish: Array designators "[]" should be on the type, not the variable
...
(cherry picked from commit c782075 )
8 years ago
Juergen Hoeller
295df21f06
Polishing
8 years ago
Juergen Hoeller
8b071633d3
Consistent use of ClassUtils.toClassArray (and related polishing)
8 years ago
Juergen Hoeller
87abdb92da
Polishing
8 years ago
Juergen Hoeller
6d11b40353
Consistent use of StringUtils.toStringArray
8 years ago
Juergen Hoeller
722cb36e01
Consistent Class array vs vararg declarations (and related polishing)
...
(cherry picked from commit 3b810f3 )
8 years ago
Juergen Hoeller
afe461609c
Polishing (selective backports from master)
8 years ago
Juergen Hoeller
33d655a634
Consistent handling of InterruptedException (plus setSchedulerFactory)
...
Issue: SPR-16479
Issue: SPR-16439
(cherry picked from commit 39201ad )
8 years ago
Rossen Stoyanchev
fe4472dbeb
MockHttpServletRequestBuilder decodes pathInfo
...
Previously MockHttpServletRequestBuilder calculated the pathInfo from the
provided URL without decoding the value. This meant that the pathInfo
incorrectly included URL encoded values.
Now MockHttpServletRequestBuilder properly decodes the pathInfo.
Backport of #0cd427bdd35e668dda6332ae2885d94c222d9c49.
Fixes: SPR-16453
8 years ago
Juergen Hoeller
4ccf33e36b
Javadoc format and related polishing
...
(cherry picked from commit 9d0e62e )
8 years ago
Juergen Hoeller
19640ec3f9
Log non-loadable TestExecutionListener classes at debug level only
...
Issue: SPR-16369
8 years ago
Rossen Stoyanchev
d62dd2dd8d
Polish MockRestServiceServer code
...
Cherry picked from #7ab4d0ca08
8 years ago
Rossen Stoyanchev
0a30b71dc3
Fix failing tests caused by previous commit
8 years ago
Rossen Stoyanchev
03118542f4
MockHttpInputMessage respects getBody contract
...
Issue: SPR-16367
8 years ago
Juergen Hoeller
f09e252417
Polishing
8 years ago
Juergen Hoeller
a88c47a120
Properly handle follow-up request after failure
...
Issue: SPR-16132
8 years ago
Juergen Hoeller
dc0a934c99
MockHttpServletResponse.getDateHeader returns -1 for non-existent header
...
Includes consistent getDateHeader results in both MockHttpServletResponse variants (spring-test and spring-web)
Issue: SPR-16160
(cherry picked from commit 80a0cf7 )
8 years ago
Juergen Hoeller
9ca4de1ccf
MockHttpServletRequest.getRequestURL aligns with getServerName/Port
...
Issue: SPR-16138
(cherry picked from commit 0edf4d6 )
8 years ago
Juergen Hoeller
5f167fd7f8
Polishing
8 years ago
Juergen Hoeller
9fdc4404a5
Backport selected refinements from the nullability efforts
...
Issue: SPR-15656
8 years ago
Juergen Hoeller
87df393f91
MockPart backport
...
Issue: SPR-15854
8 years ago
Juergen Hoeller
fa2c377405
Downgrade to AspectJ 1.8.9 and merge EhCache 3 tests into spring-context-support
...
Includes latest applicable updates (Jackson 2.8.10, OkHttp 3.8.1, Undertow 1.3.31, Netty 4.1.15)
Issue: SPR-15836
Issue: SPR-15880
8 years ago
Juergen Hoeller
55fa5f2b65
ReflectionTestUtils does not require spring-aop on the classpath
...
Issue: SPR-15757
(cherry picked from commit dd43b6a )
9 years ago
Rossen Stoyanchev
8d743181da
Fix MockMvc + HttpPutFormContentFilter issue
...
Issue: SPR-15753
9 years ago
Juergen Hoeller
a17255a2e3
SimpleRequestExpectationManager properly handles sequential requests with different count
...
Issue: SPR-15672
(cherry picked from commit efb735a )
9 years ago
Juergen Hoeller
50235be746
Avoid JDK 7+ AssertionError constructor in 4.3.x line
9 years ago
Juergen Hoeller
9b647021f7
Allow for HttpOnly cookie result matcher
...
Issue: SPR-15488
(cherry picked from commit 04f0f13 )
9 years ago
Juergen Hoeller
38089d8e66
Correct attributeHasNoErrors message in ModelResultMatchers
...
Includes consistent name quoting.
Issue: SPR-15487
(cherry picked from commit 0479dc9)
9 years ago
Juergen Hoeller
8b054840fc
Minimize reflective interaction with annotation instances during retrieval
...
Issue: SPR-15387
(cherry picked from commit 3037277 )
9 years ago
Connor Lin
8289bf0aff
Remove a redundant word
...
Closes gh-1361
9 years ago
Juergen Hoeller
21ac764e5c
Polishing
9 years ago
Juergen Hoeller
22ddb35258
HeaderValueHolder.toString() exposes underlying list of header values
...
Issue: SPR-15375
(cherry picked from commit 15bff8f )
9 years ago
Juergen Hoeller
98dbc17591
Polishing
9 years ago
Juergen Hoeller
9de97614a0
Adapt to HtmlUnit 2.25 getCharset() return type at runtime
...
Issue: SPR-15319
9 years ago
Rossen Stoyanchev
e9de3bb85b
Fix wrong access modifier in MockMvc standalone setup
...
Issue: SPR-15248
9 years ago
Juergen Hoeller
b0ef80c3ff
Polishing
9 years ago
Juergen Hoeller
c3cc42d4d3
Avoid double encoding of URIs
...
Issue: SPR-15254
9 years ago
Juergen Hoeller
eff285eb3b
MockHttpServletRequest exposes "HTTP/1.1" as default protocol
...
Issue: SPR-15232
(cherry picked from commit ed85337 )
9 years ago
Stephane Nicoll
e80c251c7a
Update copyright header
9 years ago
Masayasu Yamamoto
56abc4a429
Fix Javadoc in ContentResultMatchers
...
Closes gh-1322
9 years ago
Juergen Hoeller
d4010573af
MockHttpServletRequest returns empty BufferedReader in case of no content
...
Issue: SPR-15215
(cherry picked from commit 0da964f )
9 years ago