Phillip Webb
2f815a907a
Migrate existing tests from deprecated package
...
Update the existing tests to use the relocated `spring-boot-test`
classes. Restructuring was achieved using the following command:
find . -type f -name '*.java' -exec sed -i '' \
-e s/org.springframework.boot.test.ConfigFileApplicationContextInitializer/\
org.springframework.boot.test.context.ConfigFileApplicationContextInitializer/g \
-e s/org.springframework.boot.test.EnvironmentTestUtils/\
org.springframework.boot.test.util.EnvironmentTestUtils/g \
-e s/org.springframework.boot.test.IntegrationTest/\
org.springframework.boot.test.context.IntegrationTest/g \
-e s/org.springframework.boot.test.IntegrationTestPropertiesListener/\
org.springframework.boot.test.context.IntegrationTestPropertiesListener/g \
-e s/org.springframework.boot.test.OutputCapture/\
org.springframework.boot.test.rule.OutputCapture/g \
-e s/org.springframework.boot.test.SpringApplicationConfiguration/\
org.springframework.boot.test.context.SpringApplicationConfiguration/g \
-e s/org.springframework.boot.test.SpringApplicationContextLoader/\
org.springframework.boot.test.context.SpringApplicationContextLoader/g \
-e s/org.springframework.boot.test.SpringBootMockServletContext/\
org.springframework.boot.test.mock.web.SpringBootMockServletContext/g \
-e s/org.springframework.boot.test.TestRestTemplate/\
org.springframework.boot.test.web.client.TestRestTemplate/g \
-e s/org.springframework.boot.test.WebIntegrationTest/\
org.springframework.boot.test.context.web.WebIntegrationTest/g {} \;
See gh-5293
9 years ago
Andy Wilkinson
44ddfcc7fa
Upgrade copyright headers of all files changed in 2016
9 years ago
Phillip Webb
1cc1fc6431
Use AssertJ in spring-boot-samples
...
See gh-5083
9 years ago
Phillip Webb
7397dbaf57
Allow ExitCodeGenerator to be used on Exceptions
...
Update exit code support to allow the ExitCodeGenerator interface to
be placed on an Exception. Any uncaught exception implementing the
interface and returning a non `0` status will now trigger a System.exit
with the code.
Fixes gh-4803
9 years ago
Phillip Webb
1e4d974ec0
Merge remote-tracking branch 'local12x/1.2.x'
9 years ago
Phillip Webb
a79131f8d2
Organize imports with new settings
...
See gh-4234
9 years ago
Phillip Webb
e473364e4e
Merge branch '1.2.x'
9 years ago
Phillip Webb
6ab376e2e8
Reformat code use Eclipse Mars
9 years ago
Phillip Webb
61fc4f3f12
Polish copyright headers
10 years ago
Phillip Webb
1ce617f1ae
Polish sample package names
10 years ago
Andy Wilkinson
8b1022effa
Upgrade to Spring Batch 3.0.4 snapshots
...
Closes gh-2712
10 years ago
Andy Wilkinson
bc99ad2120
Ignore Batch tests that use JDBC as they don’t work with Spring 4.2
...
Spring Framework’s ParamterizedRowMapper has been deprecated since
3.1 and has been removed in 4.2. Spring Batch currently relies on
ParameterizedRowMapper, making it incompatible with 4.2. To allow us to
build successfully against 4.2, this commit ignores Spring Boot’s tests
that use Spring Batch’s JDBC support.
See gh-2575
10 years ago
Phillip Webb
d039f43107
Update samples to use @SpringBootApplication
...
Update the relevant samples to use the new @SpringBootApplication
annotation.
Closes gh-1842
10 years ago
Phillip Webb
cdda330acd
Update copyright header for files changed in 2014
11 years ago
Dave Syer
5627caa724
Move spring-boot tests utilities to main spring-boot.jar
...
Fixes gh-233
11 years ago
Dave Syer
f448e79f29
Remove long package names from samples
...
Long package names are really unnecessary in samples and they
just clutter things up. Also Spring Loaded doesn't work with
org.sfw packages, so to demo that technology you need a
different package name.
11 years ago
Phillip Webb
4038b39496
Add OutputCapture test class
11 years ago
Phillip Webb
b665a2bb1d
Renamed packages
...
Issue: #54095231
11 years ago
Dave Syer
2098e23fca
Change package names zero->boot
...
* actuator -> boot-ops
* cli -> boot-cli
* launcher -> boot-load
* autoconfig -> boot-config
* bootstrap -> boot-strap
* starters -> boot-up
[#54095231 ] [bs-253] Refactor Zero->Boot
11 years ago