Juergen Hoeller
458d49bdb8
Polishing
...
(cherry picked from commit acbb254)
10 years ago
Juergen Hoeller
5b0722ed28
Polishing
...
(cherry picked from commit e828be9)
10 years ago
Juergen Hoeller
d03afeb296
Consistent use of Charset.forName over JDK 7 StandardCharsets in 4.x line
...
(cherry picked from commit 2a82b8f)
10 years ago
Juergen Hoeller
264f5335a3
Polishing
10 years ago
Juergen Hoeller
41d2d2d270
Polishing
10 years ago
Juergen Hoeller
7b33cd6476
Polishing
...
(cherry picked from commit 67ba187)
10 years ago
Juergen Hoeller
349f2ad578
Consistent spelling for StandaloneMockMvcBuilder's addPlaceholderValue
...
(cherry picked from commit 67f0b19)
10 years ago
Juergen Hoeller
9475c06eb5
Polishing
10 years ago
Juergen Hoeller
8c6cb3e59d
Polishing
...
(cherry picked from commit 4627545)
10 years ago
Juergen Hoeller
0445ce6c53
Polishing (backported from master)
...
(cherry picked from commit 92d78c1)
10 years ago
Juergen Hoeller
6500018730
HtmlUnitRequestBuilder decodes request parameter names (backport)
...
Issue: SPR-14177
10 years ago
Juergen Hoeller
db4882cea4
Polishing
10 years ago
Juergen Hoeller
833ed7168e
Add missing package-info files for common packages
...
Issue: SPR-14420
(cherry picked from commit 66ec1c1)
10 years ago
Juergen Hoeller
a27200e753
Polishing
10 years ago
Juergen Hoeller
d66186a90b
Polishing
...
(cherry picked from commit 8ddb432)
10 years ago
Juergen Hoeller
b7890ca28e
Consistent license header
...
(cherry picked from commit 537193a)
10 years ago
Juergen Hoeller
0ecbeafd2b
Polishing
...
(cherry picked from commit d2d528d)
10 years ago
Juergen Hoeller
756301b7c5
Polishing
...
(cherry picked from commit 94cb778)
10 years ago
Juergen Hoeller
2ea7fcde3e
Polishing
...
(cherry picked from commit 9af12d2)
10 years ago
Juergen Hoeller
cafb99a33d
Polishing
...
(cherry picked from commit 028a690)
10 years ago
Juergen Hoeller
9c5cabf4ba
Refined ApplicationContextInitializer assignability exception
...
(cherry picked from commit ca19920)
10 years ago
Juergen Hoeller
9f2b3ca8b8
Polishing
...
(cherry picked from commit 1899fb3)
10 years ago
Juergen Hoeller
659e44146c
Consistent equals implementations across class hierarchies
...
Issue: SPR-13951
(cherry picked from commit ac44f9e)
10 years ago
Sam Brannen
484dd96606
Throw exception if TxMgr cannot be retrieved for @Transactional test
...
Prior to this commit, a @Transactional integration test would silently
be executed without a transaction if the transaction manager could not
be retrieved from the application context -- for example, it no such
bean was defined or if multiple beans were present but none satisfied
the qualifier.
This commit addresses this issue by throwing an IllegalStateException
if the PlatformTransactionManager cannot be retrieved for a
@Transactional test.
Issue: SPR-13895
(cherry picked from commit 6d2b9a013602ee2c06d6e30532635f09ae5795d6)
10 years ago
Juergen Hoeller
935c0a463e
Revised MockMvcResultHandlers logger initialization
...
Issue: SPR-13802
10 years ago
Juergen Hoeller
997278e3ed
Polishing
10 years ago
Rossen Stoyanchev
c8aa48faa9
Add params(MultiValueMap) to MockMvc
...
Issue: SPR-13801
10 years ago
Juergen Hoeller
11806b9215
Class identity comparisons wherever possible (and further polishing)
...
Issue: SPR-12926
10 years ago
Juergen Hoeller
4261f34b63
Consistent and lenient HttpMethod resolution across all web modules
...
Issue: SPR-13776
10 years ago
Juergen Hoeller
40cff5e340
Polishing
10 years ago
Juergen Hoeller
a4f5c46fed
MockHttpServletResponse.setIntHeader supports 'Content-Length' header as well
...
Issue: SPR-13752
10 years ago
Juergen Hoeller
aef6b20626
Removed tests for invalid -1 index (for compatibility with JsonPath 2.1)
10 years ago
Juergen Hoeller
dd647659b3
Rearranged cache test class names across several modules
10 years ago
Juergen Hoeller
fd84262e71
Polishing
10 years ago
Stephane Nicoll
bf1afdfdc9
Add cache tests for JCache
10 years ago
Stephane Nicoll
610b5a20ea
Fix test name
10 years ago
Sam Brannen
59d60c60cf
Polishing
10 years ago
Sam Brannen
4b682275c9
Clean up warnings in spring-test
10 years ago
Juergen Hoeller
5b901852e6
Upgrade to HtmlUnit 2.19
...
This upgrade includes AutoCloseable support for HtmlUnit WebConnections as introduced in 2.19, while remaining compatible with 2.18.
Issue: SPR-13686
10 years ago
Rossen Stoyanchev
8c127ad3c9
Property init HandlerMapping in standalone MockMvc
...
Issue: SPR-13637
10 years ago
Juergen Hoeller
b057e503ef
Adapted exception message expectations
...
Issue: SPR-13621
10 years ago
Hronom
1d60a6a6af
Added strict compare mode for Json
...
Issue: SPR-13607
10 years ago
Rossen Stoyanchev
323fa8510d
Call complete() on MockAsyncContext after dispatch
...
Issue: SPR-13615
10 years ago
Sam Brannen
1bf7249d59
Suppress deprecation warning in HtmlUnitRequestBuilderTests
10 years ago
Juergen Hoeller
66177dfd8c
StreamUtils.emptyInput() for consistent empty InputStream exposure
...
Issue: SPR-13563
10 years ago
Sam Brannen
3db62d5494
Remove MimeTypeResolver since JAF is part of Java SE 6+
...
The inner MimeTypeResolver class is no longer necessary in the
MockServletContext since the Java Activation Framework (JAF) is a
standard part of Java SE since Java 6.
10 years ago
Sam Brannen
61a46db101
Treat query param w/o "=" as empty string in HtmlUnitRequestBuilder
...
Prior to this commit, HtmlUnitRequestBuilder stored empty query
parameters declared without an equals sign as null (i.e., query
parameters such as 'error' in 'http://example.com/login?error ').
This commit addresses this issue by ensuring that
HtmlUnitRequestBuilder treats all empty query parameter values as empty
strings. Consequently, query strings such as '?error' and '?error=' now
both result in 'error' being stored as an empty string.
Issue: SPR-13524
10 years ago
Sam Brannen
283fc94572
Support null query param values in HtmlUnitRequestBuilder
...
Prior to this commit, HtmlUnitRequestBuilder would incorrectly attempt
to decode null values for query parameters (i.e., query parameters such
as 'error' in 'http://example.com/login?error ') which resulted in a
NullPointerException since URLDecoder.decode() does not support null
values.
This commit fixes this issue by ensuring that HtmlUnitRequestBuilder
only attempts to decode non-null query parameter values.
Issue: SPR-13524
10 years ago
Sam Brannen
d5b4685391
Polish HtmlUnitRequestBuilderTests
10 years ago
Juergen Hoeller
a9fbbc55e6
Polishing
10 years ago