Kazuhiro Sera
be211ceead
Fix typos detected by github.com/client9/misspell
8 years ago
Rossen Stoyanchev
c55c9eb029
Polish
8 years ago
Vedran Pavic
bb2db87c2f
Add support for adding cookies as headers in MockHttpServletResponse
...
Issue: SPR-17110
8 years ago
Juergen Hoeller
2474c48749
Polishing
8 years ago
stsypanov
b5c691bdac
SPR-17074 Replace pointless wrapping with Arrays.asList with iteration over array
8 years ago
Vedran Pavic
70dbaf9751
Publish binding event for replaced attributes in MockHttpSession
...
Issue: SPR-17109
8 years ago
Juergen Hoeller
9b671f8408
Polishing
8 years ago
Сергей Цыпанов
f8340838b3
Use lambda expressions for lazy instantiation ( #1911 )
...
Issue: SPR-17074
8 years ago
Rossen Stoyanchev
23bda9a5a7
Fix compiler warnings
8 years ago
Rossen Stoyanchev
fcbf06f050
Disable equals in JsonPath~ and XPathAssertions
...
Issue: SPR-17091
8 years ago
Rossen Stoyanchev
bcb485b5ed
bindToApplicatonContext uses WebSessionManager bean
...
Issue: SPR-17094
8 years ago
Rossen Stoyanchev
c022f7c19d
Polish
8 years ago
Juergen Hoeller
3881a4aded
Polishing
8 years ago
Juergen Hoeller
1603c4ab2f
Programmatic ObjectProvider retrieval through BeanFactory API
...
Introduces getBeanProvider(Class) and getBeanProvider(ResolvableType), also narrowing getBean(String, Class) and isTypeMatch(String, Class) to a non-null Class argument and enriching NoUniqueBeanDefinitionException with a full ResolvableType. In addition, ObjectProvider supports iterable/stream access for collection-style resolution of multiple matching beans now, and collection injection falls back to an empty collection in a single-constructor case with non-null arguments.
Issue: SPR-17075
Issue: SPR-11419
Issue: SPR-15338
8 years ago
Rossen Stoyanchev
c57e1afd2b
ResulatMatcher.matchAll
...
Issue: SPR-16417
8 years ago
Rossen Stoyanchev
91122ec0f5
Add Consumer methods to WebTestClient assertion classes
...
Issue: SPR-16574
8 years ago
Rossen Stoyanchev
20de5003ff
Hamcrest methods in WebTestClient
...
Issue: SPR-16729
8 years ago
Rossen Stoyanchev
0c62d6b5da
Polish
...
Leaving out hamcrest for now, to address more broadly.
Issue: SPR-16741
8 years ago
Eric Deandrea
2734f01067
Provide XML assertions in WebTestClient
...
Adds XML-based assertions in
org.springframework.test.web.reactive.server.WebTestClient.BodyContentSpec
for asserting against the XML body as well as xPath,
similar to those assertions offered when using
MockMvcResultMatchers.xpath().
Issue: SPR-16741
8 years ago
Juergen Hoeller
9a43d2ec20
Revised log levels: less WARN and INFO, fine-tuned DEBUG vs TRACE
...
Issue: SPR-16946
8 years ago
Juergen Hoeller
4ff1e3e74b
Consistent abstract declaration for utility classes (plus polishing)
...
Issue: SPR-16968
8 years ago
Rossen Stoyanchev
d74e09a925
Polish MockClientHttpRequest
8 years ago
Rossen Stoyanchev
7f555785dd
Add getBodyAsString() to MockClientHttpRequest
...
Issue: SPR-16988
8 years ago
Juergen Hoeller
e22466e9d5
Polishing
8 years ago
Juergen Hoeller
b0ece0e967
Remove hard configuration validation from SpringClassRule/MethodRule
...
Issue: SPR-16967
8 years ago
Phillip Webb
81451aa800
Organize imports
...
Reorganize imports to ensure consistent ordering. This commit also
expands any `.*` static imports in favor of using fully-qualified
method references.
Issue: SPR-16968
8 years ago
Phillip Webb
5cedd0d5d4
Consistently use tabs rather than spaces
...
Update code that has accidentally used spaces instead of tabs.
Also remove all trailing whitespace.
Issue: SPR-16968
8 years ago
Phillip Webb
0b53c1096a
Always use 'this.' when accessing fields
...
Ensure that `this.` is used consistently when accessing class
fields.
Issue: SPR-16968
8 years ago
Phillip Webb
eeebd51f57
Use consistent class design
...
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968
8 years ago
Phillip Webb
0ad0f341bd
Don't use single letter catch variables
...
Update existing catch blocks to ensure that `ex` is always used
in preference to `e` or `t` as the variable name.
Issue: SPR-16968
8 years ago
Phillip Webb
04a8c285df
Fix annotation styling issues
...
Update all annotations so that each is on its own line and
consistently use the short form (i.e. don't use `value=`) when
possible.
Issue: SPR-16968
8 years ago
Phillip Webb
e9d1b39aff
Apply consistent copyright header
...
Add copyright header to `package-info.java` files and fix a few
malformed headers on existing java files.
Issue: SPR-16968
8 years ago
Phillip Webb
c3a17dfd47
Ensure all files end with a newline
...
Update all files to ensure that they always end with a new line.
Issue: SPR-16968
8 years ago
Phillip Webb
e0480f75ac
Fix javadoc checkstyle issues
...
Fix checkstyle violations for javadoc.
Issue: SPR-16968
8 years ago
Sam Brannen
802763d26f
Reintroduce suppression of deprecation warning
8 years ago
Sam Brannen
8027e1f109
Remove obsolete suppression of deprecation warning
8 years ago
Sam Brannen
4ae4788e93
Delete unused import
8 years ago
Juergen Hoeller
3fc8ec498c
MockHttpServletRequest returns a single InputStream or Reader
...
Issue: SPR-16505
Issue: SPR-16499
8 years ago
Rossen Stoyanchev
a31204938a
Getter for DispatcherSerlvet in MockMvc
...
Issue: SPR-16924
8 years ago
Juergen Hoeller
8593fec22c
Avoid ConstantConditions warnings suppression (plus related polishing)
...
Issue: SPR-15756
8 years ago
Rossen Stoyanchev
2acf91a438
Polish
8 years ago
Rossen Stoyanchev
2a993bf9ff
Respect async request timeout of -1 in MockMvc
...
When falling back on the timeout associated with the async request,
a value of -1 must be treated as: never time out.
Issue: SPR-16869
8 years ago
Sebastien Deleuze
265960f09c
Add StatusResultMatchers.isEqualTo Kotlin extension
...
Issue: SPR-16429
8 years ago
Rossen Stoyanchev
15182b29a4
Add MockWebSession for use with MockServerWebExchange
...
Issue: SPR-16772
8 years ago
Rossen Stoyanchev
4da43de7e1
Remove individual detection of forwarded headers
...
This commit removes all places where forwarded headers are checked
implicitly, on an ad-hoc basis.
ForwardedHeaderFilter is expected to be used instead providing
centralized control over using or discarding such headers.
Issue: SPR-16668
8 years ago
Rossen Stoyanchev
d3f3b41f52
MockHttpServletResponse writer sets committed flag
...
Issue: SPR-16683
8 years ago
Rossen Stoyanchev
eef592d901
Add builder to MockServerWebExchange
...
Issue: SPR-16772
8 years ago
Arjen Poutsma
22edab852d
Provide simple way to create ServerRequest
...
This commit introduces support for creating a new `ServerRequest` from
an existing instance. This is especially useful when filtering requests
in a HandlerFilterFunction.
Issue: SPR-16707
8 years ago
Juergen Hoeller
a683472daa
Support for non-standard HTTP status in reactive ClientHttpResponse
...
Issue: SPR-16748
8 years ago
Rossen Stoyanchev
9bc4e70e93
Better assertion message in MockPart
...
Issue: SPR-16767
8 years ago