Commit Graph

76 Commits (03cf4fbb10d72bb061cb7e7e651e68f6de027dee)

Author SHA1 Message Date
dreis2211 a930835b92 Replace <code> tags where possible
Closes gh-12922
7 years ago
Stephane Nicoll f83934e192 Polish contribution
Closes gh-12812
7 years ago
Johnny Lim f03849d502 Polish
See gh-12812
7 years ago
Andy Wilkinson f335ec00bf Polish 7 years ago
Phillip Webb 598e9bb842 Polish 7 years ago
Stephane Nicoll b6f9b46be8 Only create a WebTestClient with WebFlux
This commit updates WebTestClientAutoConfiguration to only create a
WebTestClient when running a WebFlux-based application as mocking the
context only works with that mode at the moment.

Closes gh-12318
7 years ago
Johnny Lim c100510222 Remove value in @ConditionalOnMissingBean if possible
See gh-12604
7 years ago
Phillip Webb a4b0be089d Polish 7 years ago
Stephane Nicoll 5320081d0b Revert "Only create a WebTestClient with WebFlux"
This reverts commit 282bd9f
7 years ago
Stephane Nicoll 282bd9f0db Only create a WebTestClient with WebFlux
This commit updates WebTestClientAutoConfiguration to only create a
WebTestClient when running a WebFlux-based application as mocking the
context only works with that mode at the moment.

Closes gh-12318
7 years ago
dreis2211 0d3f3e46dd Fix typos
Closes gh-12468
7 years ago
Madhura Bhave 4ca1e6ae4e Polish "Fix typo in TestDatabaseAutoConfiguration"
Closes gh-12350
7 years ago
inabajunmr ddd8598e2e Fix typo in TestDatabaseAutoConfiguration failure msg
See gh-12350
7 years ago
Phillip Webb 9bee9e9cf9 Polish 7 years ago
Madhura Bhave df337eaf5e Fix author name 7 years ago
Phillip Webb 7bc535e4fa Polish 7 years ago
Phillip Webb 67998e983f Revert "Include WebSecurityConfigurer beans in @WebMvcTest"
This reverts commit eef6fdb066.
7 years ago
Phillip Webb eef6fdb066 Include WebSecurityConfigurer beans in @WebMvcTest
Update `WebMvcTypeExcludeFilter` to include `WebSecurityConfigurer`
beans.

Fixes gh-12275
7 years ago
Stephane Nicoll 306c79f0de Merge branch '1.5.x' 7 years ago
Phillip Webb 4b9c3c137e Polish Collection.toArray
Consistently use `StringUtils.toStringArray`, `ClassUtils.toClassArray`
or zero length when converting collections to arrays.

Fixes gh-12160
7 years ago
igor-suhorukov fe023817c7 Polish static finals
Closes gh-12083
7 years ago
Andy Wilkinson 5522174e96 Provide package info for all packages included in javadoc 7 years ago
Andy Wilkinson 76a450dfba Format with Eclipse Oxygen SR2 7 years ago
Madhura Bhave 7136bed126 Fix tests 7 years ago
Andy Wilkinson 875091ed85 Polish “Remove or use unused method parameters”
Closes gh-11812
7 years ago
Andy Wilkinson 458dde63a8 Explicitly order AbstractTestExecutionListener subclasses
By default, AbstractTestExecutionListeners have an order of lowest
precedence. This means that it is impossible to write a listener with
lower precedence that any listener that's using the default order.

This commit updates Boot's 6 AbstractTestExecutionListeners to order
them explicitly. MockitoTestExecutionListener performs injection of
Mockito mocks and spies into the test instance. It now has an order of
2050 giving it slightly lower precedence than the dependency injection
test execution listener (2000).

The remaining 5 listeners have all been ordered with lowest precedence
- 100. This leaves them near their current lowest precedence position
while creating some room for any listeners that require lower
precedence.

Closes gh-11796
7 years ago
Stephane Nicoll 3f1aaa1f7e Polish contribution
Closes gh-11783
7 years ago
Raja Kolli 64c324612e Polish
See gh-11783
7 years ago
Phillip Webb dc935fba48 Polish 7 years ago
Madhura Bhave 5e2cc02499 Move servlet specific security auto-config 7 years ago
Phillip Webb b078698f20 Update copyright year of changed files 7 years ago
Phillip Webb b9bb31cfd4 Extract RestDocsProperties
Extract properties used by RestDocs to their own class.
7 years ago
Andy Wilkinson 964939d3a9 Polish "Add auto-configuration for using REST Docs with WebTestClient"
Closes gh-10696
7 years ago
Roman Zaynetdinov ab7c47d340 Add auto-configuration for using REST Docs with WebTestClient
See gh-10969
7 years ago
Andy Wilkinson 16c52bce84 Introduce WebTestClientBuilderCustomizer callback
Closes gh-11579
7 years ago
Johnny Lim b8706c47d6 Use instance equality for Class
Closes gh-11534
7 years ago
Phillip Webb 201da97774 Further refine test containers 7 years ago
Phillip Webb 25609c060e Polish 7 years ago
Madhura Bhave 9a6c339243 Use TestContainers util from spring-boot-test-support
See gh-10516
7 years ago
Andy Wilkinson 996b3ef7f2 Refine test containers 7 years ago
Andy Wilkinson 927003e0b7 Polish 7 years ago
Andy Wilkinson 94d5836618 Merge branch '1.5.x' 7 years ago
Stephane Nicoll ac004eabf3 Update copyright header
See gh-11510
7 years ago
Johnny Lim 37d8eedae3 Polish
Closes gh-11510
7 years ago
Madhura Bhave fc3b43e832 Wait for neo4j to start accepting connections
See gh-10516
7 years ago
Madhura Bhave e28915bd4b Make integration tests self-contained
Fixes gh-10516
7 years ago
Madhura Bhave 8102dc78cb Remove redundant throws declarations 7 years ago
Phillip Webb 2efa21c570 Make hot methods in-line friendly
Refactor a few hot methods so that they are more likely to be in-lined
by the JIT.

Fixes gh-11409
7 years ago
Phillip Webb 3273859fde Polish 7 years ago
Stephane Nicoll 47c8b5731a polish 7 years ago