226 Commits

Author SHA1 Message Date
Phillip Webb
2c7dd9f519 Polish 2017-06-02 16:00:39 -07:00
Stephane Nicoll
d096dcad1d Polish "Add @JooqTest"
Closes gh-9343
2017-05-31 15:10:09 +02:00
Michael J. Simons
00a643f9d8 Add @JooqTest
This commit provides test slicing for jOOQ.

See gh-9343
2017-05-31 14:41:28 +02:00
Madhura Bhave
d745b69630 Replace usages of EnvironmentTestUtils 2017-05-24 14:59:04 -07:00
Andy Wilkinson
d5438c299c Polish "Use try-with-resources to close resources automatically"
- Apply code formatting
- Use try-with-resources in many other places that were missed in the
  pull request

Closes gh-8045
2017-05-23 19:38:48 +01:00
Johnny Lim
53e5d67cde Polish
Closes gh-9103
2017-05-07 10:32:12 +02:00
Stephane Nicoll
5247fa323b Harmonize reactive auto-configuration class names
Closes gh-9086
2017-05-04 10:19:10 +02:00
Phillip Webb
06558675bb Polish 2017-04-25 09:45:14 -07:00
Madhura Bhave
c2e5fd031a Replace usage of WebMvcConfigurerAdapter
Closes gh-8964
2017-04-24 15:31:39 -07:00
Phillip Webb
9981ae6874 Rename WebFluxAnnotationAutoConfiguration
Rename WebFluxAnnotationAutoConfiguration to WebFluxAutoConfiguration
to better align with Spring MVC.
2017-04-20 16:02:49 -07:00
Phillip Webb
94209e2883 Merge branch '1.5.x' 2017-04-18 15:06:43 -07:00
Phillip Webb
8eb79b3c0f Polish 2017-04-18 11:13:12 -07:00
Phillip Webb
383640d5ec Merge branch '1.5.x' 2017-04-17 22:15:33 -07:00
Phillip Webb
f46d799f31 Polish 2017-04-17 22:08:51 -07:00
Madhura Bhave
ed072abaef Merge branch '1.5.x' 2017-04-17 11:42:02 -07:00
Madhura Bhave
9e2d54feae Support json view with JacksonTester
Closes gh-8672
2017-04-17 11:14:26 -07:00
Phillip Webb
700f0ea93c Fix WebClientTest calls
Update calls to WebClientTest following upstream changes.
2017-04-14 16:26:01 -07:00
Stephane Nicoll
04ee374e7f Polish "Add slice test annotation for LDAP"
Closes gh-8536
2017-04-14 10:51:43 +02:00
Eddú Meléndez
2830bef95c Add slice test annotation for LDAP
This commit adds new annotation `@DataLdapTest` which provides test
infrastructure for LDAP. By default, embedded ldap server is initialized
if available.

See gh-8536
2017-04-14 10:39:03 +02:00
dreis
f3bbbc4530 Use JDK hashCode() variants for primitives
See gh-8768
2017-04-12 15:22:14 +02:00
Stephane Nicoll
12170f53e2 Restore DataMongoTestReactiveIntegrationTests
Closes gh-8885
2017-04-12 11:23:30 +02:00
Phillip Webb
d21a5076fe Upgrade to Reactor BOM Bismuth SNAPSHOT
See gh-8884
2017-04-11 14:53:46 -07:00
Johnny Lim
0cd1285aa4 Polish
Closes gh-8879
2017-04-11 09:41:33 +02:00
Stephane Nicoll
5b92a0278b Merge branch '1.5.x' 2017-04-11 09:41:08 +02:00
Stephane Nicoll
934d33685a Polish
See gh-8879
2017-04-11 09:40:54 +02:00
Phillip Webb
2de7e9c310 Merge branch '1.5.x' 2017-04-04 10:07:38 -07:00
Phillip Webb
ad38776de3 Polish 2017-04-04 09:48:10 -07:00
Stephane Nicoll
b08016f15a Polish "Add @DataNeo4jTest" contribution
Closes gh-8618
2017-04-02 12:38:24 +02:00
Eddú Meléndez
b6feb47574 Add @DataNeo4jTest
This commit adds test infrastructure for Neo4j repositories through
`@DataNeo4jTest`.

See gh-8618
2017-04-02 08:21:00 +02:00
Andy Wilkinson
28a5ffcce6 Fix DataJpaTestIntegrationTests
Closes gh-7612
2017-03-24 22:46:03 +00:00
Andy Wilkinson
2fd51dd8a1 Upgrade to Spring REST Docs 1.2.0.RC1
Closes gh-8716
2017-03-24 21:12:21 +00:00
Madhura Bhave
9bacca7aa0 Merge branch '1.5.x' 2017-03-23 15:23:44 -07:00
Madhura Bhave
f73714bdcc Do not filter HttpMessageConverters in WebMvcTest
Closes gh-8617
2017-03-23 14:21:04 -07:00
Madhura Bhave
356b78b77f Stop autoconfiguration from being scanned in tests
These tests used to pass even without explicitly adding the autoconfigure
annotation. Moving them to a subpackage prevents scanning of the
autoconfiguration by component scanning.

Closes gh-8645
2017-03-17 10:33:44 -07:00
Madhura Bhave
7d90bbe839 Fix typo 2017-03-16 16:16:36 -07:00
Phillip Webb
b76ca0bf8f Restructure web auto-configuration
Restructure `org.springframework.boot.autoconfigure.web` to better align
with the new package structure in `spring-boot`.

Auto-configuration is now split into client, servlet and reactive
sub-packages. In addition a new `http` package now handles common
HTTP concerns.

Fixes gh-8616
2017-03-14 22:06:28 -07:00
Phillip Webb
d8f827d224 Cleanup and format code 2017-03-06 17:08:09 -08:00
Phillip Webb
425dbc3e52 Update copyright header for edited files 2017-03-06 15:04:07 -08:00
Phillip Webb
2a592103f0 Polish formatting 2017-03-06 15:03:43 -08:00
Spring Buildmaster
d23fa24340 Next Development Version 2017-03-03 16:18:26 +00:00
Vedran Pavic
1c789f1a8d Remove dependency management for hibernate-entitymanager
Closes gh-8433
2017-03-02 18:31:53 +01:00
Phillip Webb
a4bcd20b64 Merge branch '1.5.x' 2017-02-27 20:43:18 -08:00
Phillip Webb
ca1540cefe Update header copyright for changed files 2017-02-27 20:41:18 -08:00
Stephane Nicoll
c5595f296c Add support for Mock test with WebFlux
This commit add mock support for WebFlux with an infrastructure similar
to what `WebMvcTest` provides. `@WebFluxTest` can be used to test
controllers with a narrowed classpath that is relevant to WebFlux. Also,
`@SpringBootTest` now starts WebFlux in "mock" mode by default and
`@AutoConfigureWebTestClient` can be used to inject a `WebTestClient`
connected to the `ApplicationContext`.

To make that happen, a `ReactiveWebApplicationContext` interface has been
introduced to mirror what `WebApplicationContext` currently does. Things
are still a bit volatile at this point and that infra may move to Spring
Framework at some point.

Closes gh-8401
2017-02-27 15:05:34 +01:00
Andy Wilkinson
9cbb857111 Add explicit dependency on Gson
It used to be pulled in transitively by selenium-api but that's no
longer that case.

See gh-8381
2017-02-22 16:07:23 +00:00
Andy Wilkinson
923393d5af Merge branch '1.5.x' 2017-02-21 16:15:25 +00:00
Andy Wilkinson
98a2ae3b91 Merge branch '1.4.x' into 1.5.x 2017-02-21 16:12:06 +00:00
Andy Wilkinson
1abd91dc23 Start building against Spring Framework 4.3.7 snapshots
See gh-8248
2017-02-20 14:05:04 +00:00
Stephane Nicoll
ce6372c46f Add support of reactive repositories with @DataMongoTest
Closes gh-8280
2017-02-14 11:21:51 +01:00
Andy Wilkinson
df08863641 Make ServletRegistrationBean and FilterRegistration bean generic
Closes gh-7666
2017-02-09 13:36:35 +00:00