Phillip Webb
adfb6dc128
Polish
7 years ago
Madhura Bhave
d65f9b25bc
Remove redundant throws Exception
7 years ago
Phillip Webb
2c7dd9f519
Polish
8 years ago
Phillip Webb
889d43ddc4
Refine SpringApplication source types
...
Update `SpringApplication` so that the `run` methods and constructors
now require `Class<?>` arguments, rather than `Objects`. String based
sources can still be loaded, but must now be set on the `getSources()`
collections. `Package` and `Resource` types are no longer directly
supported.
This change should help IDEs offer better content assist, and will
help integrations with alternative languages such as Ceylon.
Users currently passing in Class references or using the
`spring.main.sources` property should not be affected by this change. If
an XML resource is being used, some refactoring may be required (see the
changes to `SampleSpringXmlApplication` in this commit).
Fixes gh-9170
8 years ago
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
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
61fc4f3f12
Polish copyright headers
10 years ago
Phillip Webb
1ce617f1ae
Polish sample package names
10 years ago
Phillip Webb
0160760568
Apply latest eclipse cleanup rules
11 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
Dave Syer
9db55a3b71
Add explicit test for config file and SpringApplication
11 years ago
Phillip Webb
b772f7c2e4
Polish
...
Minor formatting and consistent copyright header.
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