76 Commits

Author SHA1 Message Date
dreis2211
a930835b92 Replace <code> tags where possible
Closes gh-12922
2018-04-20 07:19:31 +02:00
Stephane Nicoll
f83934e192 Polish contribution
Closes gh-12812
2018-04-10 11:46:16 +02:00
Johnny Lim
f03849d502 Polish
See gh-12812
2018-04-10 11:46:16 +02:00
Andy Wilkinson
f335ec00bf Polish 2018-04-05 09:31:17 +01:00
Phillip Webb
598e9bb842 Polish 2018-04-04 18:01:25 -07:00
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
2018-04-03 11:31:37 +02:00
Johnny Lim
c100510222 Remove value in @ConditionalOnMissingBean if possible
See gh-12604
2018-03-26 17:38:46 +02:00
Phillip Webb
a4b0be089d Polish 2018-03-14 14:05:26 -07:00
Stephane Nicoll
5320081d0b Revert "Only create a WebTestClient with WebFlux"
This reverts commit 282bd9f
2018-03-14 08:34:48 -04:00
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
2018-03-14 05:12:45 -04:00
dreis2211
0d3f3e46dd Fix typos
Closes gh-12468
2018-03-13 17:42:19 -07:00
Madhura Bhave
4ca1e6ae4e Polish "Fix typo in TestDatabaseAutoConfiguration"
Closes gh-12350
2018-03-05 13:13:07 -08:00
inabajunmr
ddd8598e2e Fix typo in TestDatabaseAutoConfiguration failure msg
See gh-12350
2018-03-05 13:10:46 -08:00
Phillip Webb
9bee9e9cf9 Polish 2018-02-28 13:50:43 -08:00
Madhura Bhave
df337eaf5e Fix author name 2018-02-28 12:26:58 -08:00
Phillip Webb
7bc535e4fa Polish 2018-02-28 10:59:26 -08:00
Phillip Webb
67998e983f Revert "Include WebSecurityConfigurer beans in @WebMvcTest"
This reverts commit eef6fdb0664526f027c7fb59eda05ff1acebce07.
2018-02-28 10:59:26 -08:00
Phillip Webb
eef6fdb066 Include WebSecurityConfigurer beans in @WebMvcTest
Update `WebMvcTypeExcludeFilter` to include `WebSecurityConfigurer`
beans.

Fixes gh-12275
2018-02-27 21:05:35 -08:00
Stephane Nicoll
306c79f0de Merge branch '1.5.x' 2018-02-26 18:03:32 +01:00
Phillip Webb
4b9c3c137e Polish Collection.toArray
Consistently use `StringUtils.toStringArray`, `ClassUtils.toClassArray`
or zero length when converting collections to arrays.

Fixes gh-12160
2018-02-22 21:11:30 -08:00
igor-suhorukov
fe023817c7 Polish static finals
Closes gh-12083
2018-02-19 20:10:58 -08:00
Andy Wilkinson
5522174e96 Provide package info for all packages included in javadoc 2018-02-08 16:50:37 +00:00
Andy Wilkinson
76a450dfba Format with Eclipse Oxygen SR2 2018-02-08 10:53:53 +00:00
Madhura Bhave
7136bed126 Fix tests 2018-02-07 17:36:44 -08:00
Andy Wilkinson
875091ed85 Polish “Remove or use unused method parameters”
Closes gh-11812
2018-02-02 09:34:19 +00:00
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
2018-02-01 14:28:25 +00:00
Stephane Nicoll
3f1aaa1f7e Polish contribution
Closes gh-11783
2018-01-26 10:03:47 +01:00
Raja Kolli
64c324612e Polish
See gh-11783
2018-01-26 09:52:52 +01:00
Phillip Webb
dc935fba48 Polish 2018-01-19 20:44:18 -08:00
Madhura Bhave
5e2cc02499 Move servlet specific security auto-config 2018-01-20 09:41:50 +05:30
Phillip Webb
b078698f20 Update copyright year of changed files 2018-01-09 12:13:27 -08:00
Phillip Webb
b9bb31cfd4 Extract RestDocsProperties
Extract properties used by RestDocs to their own class.
2018-01-09 12:11:23 -08:00
Andy Wilkinson
964939d3a9 Polish "Add auto-configuration for using REST Docs with WebTestClient"
Closes gh-10696
2018-01-09 11:53:12 +00:00
Roman Zaynetdinov
ab7c47d340 Add auto-configuration for using REST Docs with WebTestClient
See gh-10969
2018-01-09 11:37:14 +00:00
Andy Wilkinson
16c52bce84 Introduce WebTestClientBuilderCustomizer callback
Closes gh-11579
2018-01-09 11:16:27 +00:00
Johnny Lim
b8706c47d6 Use instance equality for Class
Closes gh-11534
2018-01-09 09:30:36 +01:00
Phillip Webb
201da97774 Further refine test containers 2018-01-08 16:32:39 -08:00
Phillip Webb
25609c060e Polish 2018-01-08 15:19:06 -08:00
Madhura Bhave
9a6c339243 Use TestContainers util from spring-boot-test-support
See gh-10516
2018-01-08 14:05:15 -08:00
Andy Wilkinson
996b3ef7f2 Refine test containers 2018-01-08 14:05:05 -08:00
Andy Wilkinson
927003e0b7 Polish 2018-01-08 13:59:14 +00:00
Andy Wilkinson
94d5836618 Merge branch '1.5.x' 2018-01-05 12:02:11 +00:00
Stephane Nicoll
ac004eabf3 Update copyright header
See gh-11510
2018-01-05 10:30:43 +01:00
Johnny Lim
37d8eedae3 Polish
Closes gh-11510
2018-01-05 10:29:22 +01:00
Madhura Bhave
fc3b43e832 Wait for neo4j to start accepting connections
See gh-10516
2018-01-04 14:26:34 -08:00
Madhura Bhave
e28915bd4b Make integration tests self-contained
Fixes gh-10516
2018-01-04 11:26:40 -08:00
Madhura Bhave
8102dc78cb Remove redundant throws declarations 2017-12-29 12:10:13 -08:00
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
2017-12-22 20:55:47 -08:00
Phillip Webb
3273859fde Polish 2017-12-13 14:32:55 -08:00
Stephane Nicoll
47c8b5731a polish 2017-12-13 14:41:39 +01:00