rstoyanchev
1b60b86bb2
Update MockMvc section on Streaming in the docs
...
Closes gh-32687
2 years ago
Brian Clozel
5cb4985234
Merge branch '6.1.x'
2 years ago
Brian Clozel
89ce63f1f3
Replace RFC7807 by RFC9457 in documentation
...
This commit updates all references to RFC7807 by RFC9457 since the
former is now obsolete.
Closes gh-32806
2 years ago
Sam Brannen
19792f9670
Merge branch '6.1.x'
2 years ago
Sam Brannen
7536980be9
Fix Dokka links to Spring Framework and Servlet APIs
...
This commit fixes links from Spring Framework's Dokka HTML to Javadoc
for Spring Framework and Servlet APIs by explicitly configuring the
`element-list` page as the `package-list` in the Dokka Gradle plugin.
Closes gh-32797
2 years ago
Sam Brannen
f629fc9dc5
Polish Javadoc for SmartInstantiationAwareBeanPostProcessor
2 years ago
Sam Brannen
589b6dbba0
Merge branch '6.1.x'
2 years ago
Sam Brannen
c1229b03a7
Polishing
2 years ago
Juergen Hoeller
b3005fcdde
Merge branch '6.1.x'
2 years ago
Juergen Hoeller
a4135bac5c
Leniently ignore unsupported pointcut expression
...
See gh-32793
2 years ago
Juergen Hoeller
b2d43f54e0
Merge branch '6.1.x'
2 years ago
Juergen Hoeller
bf08e0c1b4
Polishing
2 years ago
Juergen Hoeller
9202c0ad41
Accept ajc-compiled @Aspect classes for Spring AOP proxy usage
...
Closes gh-32793
2 years ago
earlgrey02
797f586f9a
Polish RouterFunctionDsl
...
Place the lambda outside the method call.
Closes gh-32765
2 years ago
Sébastien Deleuze
8ac39d0062
Polishing
2 years ago
Sébastien Deleuze
7985ab33f4
Throw an exception for suspending factory methods
...
Suspending factory methods are not supported, and can
have side effects, so it is better to fail explicitly
for such use case.
Closes gh-32719
2 years ago
Yanming Zhou
a02861f7db
Insist on using `CollectionUtils.isEmpty()` and `StringUtils.hasLength()`
...
search `(\w+) != null && !(\1).isEmpty\(\)`
2 years ago
Yanming Zhou
8137cc9566
Polishing
2 years ago
Juergen Hoeller
7b16988ec9
Merge branch '6.1.x'
2 years ago
Juergen Hoeller
22b6d66a28
Document @Order behavior on @Configuration classes versus @Bean methods
...
Includes brief note on self injection (extracted from qualifiers section).
Closes gh-30177
Closes gh-28299
2 years ago
Juergen Hoeller
9376e6322d
Revise IoC container introduction for modern configuration styles
...
Includes @Configuration(proxyBeanMethods=false) documentation.
Closes gh-32429
2 years ago
Juergen Hoeller
0eb937a866
Document limitations of CGLIB proxy class generation in JPMS module setups
...
Includes extended exception messages with common hints and explanations.
Closes gh-32671
2 years ago
Stéphane Nicoll
8d90817ba3
Polish and fix build failure
2 years ago
Stéphane Nicoll
36295e664a
Merge branch '6.1.x'
2 years ago
Stéphane Nicoll
6250b64766
Add support for form data in MockHttpServletRequestBuilder
...
Closes gh-32757
2 years ago
Sam Brannen
3ce79c3fbf
Polishing
2 years ago
Chad Attermann
cb48077698
Adds support for qualifying columns with table.
...
Adds support common in other ResultSet implemenatations for qualifying column names with table name to distinguish potentially duplicate column names in a join of two or more tables from one another. The expected format is {table_name}.{column_namne}, where column_name is the actuall designated column name and not the column label.
2 years ago
Stéphane Nicoll
2d942a6e91
Merge branch '6.1.x'
2 years ago
Stéphane Nicoll
5b1278d03c
Refine exception message to include bean name
...
Closes gh-32775
2 years ago
Stéphane Nicoll
168276aaab
Review AssertJ support for MockMvc
...
Closes gh-32712
2 years ago
Stéphane Nicoll
bcecce7aac
Add shortcuts for frequently used assertions
...
See gh-32712
2 years ago
Stéphane Nicoll
c8967de065
Provide better name for entry points
...
This commit renames AssertableMockMvc to MockMvcTester as the former
was too mouthful, and we are looking for a naming pattern that can be
applied consistently to test utilities that rely on AssertJ.
Rather than AssertableMvcResult, we now use MvcTestResult and it no
longer extends from MvcResult itself. That avoids having existing code
that is migrated to the new API whilst assigning the result to MvcResult
and get a bad DevXP as that doesn't bring any of the AssertJ support.
See gh-32712
2 years ago
Stéphane Nicoll
5567d14700
Move response body directly in AbstractMockHttpServletResponseAssert
...
This commit removes ResponseBodyAssert and rather offers first-class
access support for the response body at the root level using bodyText(),
bodyJson(), and body().
This avoids a double navigation to assert the response body.
See gh-32712
2 years ago
Stéphane Nicoll
24cc77655f
Merge JSON assertions in a single Assert type
...
This commit merges the JSONCompare and JsonPath support in a single
assert object. The rationale for the previous situation was that
JsonPath is optional but merging the assertions methods do not make
it mandatory as the usage if JsonPath is triggered only if it is
actually used.
See gh-32712
2 years ago
Juergen Hoeller
645556a28c
Merge branch '6.1.x'
2 years ago
Juergen Hoeller
4f02be263f
Polishing
2 years ago
Sam Brannen
ac0136b75c
Clarify supported targets for annotations in the TestContext framework
...
Closes gh-32772
2 years ago
Juergen Hoeller
3048cfe9d9
Polishing
2 years ago
Juergen Hoeller
d9ca263065
Merge branch '6.1.x'
2 years ago
Juergen Hoeller
05d9b52b19
Polishing
2 years ago
Juergen Hoeller
59a125d06f
Unwrap raw target Query instance in case of proxy mismatch
...
Closes gh-32766
2 years ago
Sébastien Deleuze
39889744b0
Polish JdbcTemplate Best Practices section
2 years ago
Sébastien Deleuze
12272d6e41
Remove unneeded `@SuppressWarnings("NullAway")`
...
Closes gh-32542
2 years ago
Stéphane Nicoll
93dcbc41b0
Polish
2 years ago
Stéphane Nicoll
371d1a02f2
Fix typo
2 years ago
Sébastien Deleuze
04944a1f56
Modernize the lazy-initialized beans refdoc section
...
Closes gh-32767
2 years ago
Sébastien Deleuze
c6459b40e4
Modernize the integration section of the refdoc
...
This commit adds Java and Kotlin tabs to XML code snippets where
relevant, and leverages code includes.
Closes gh-32600
2 years ago
Sam Brannen
bdc4ecd599
Merge branch '6.1.x'
...
# Conflicts:
# spring-expression/src/test/java/org/springframework/expression/spel/SpelCompilationCoverageTests.java
2 years ago
Sam Brannen
aebc48ee8d
Revise contribution
...
See gh-32704
2 years ago
Mikaël Francoeur
f51be0a17e
Support varargs invocations in SpEL for varargs array subtype
...
Closes gh-32704
2 years ago