Phillip Webb
4853477081
Reformat code
8 years ago
Phillip Webb
a8f366a554
Fix copyright header for edited files
8 years ago
Phillip Webb
cd5266ac03
Polish
8 years ago
Phillip Webb
798522d890
Format with Eclipse Oxygen SR2
8 years ago
Andy Wilkinson
76a450dfba
Format with Eclipse Oxygen SR2
8 years ago
Madhura Bhave
dc7b3f6d6e
Update samples to use new generator mappings
...
Closes gh-7612
9 years ago
Phillip Webb
45dd9f7144
Polish
9 years ago
Madhura Bhave
bc1ee76b55
Change default for new_generator_mappings to true
...
Closes gh-7612
9 years ago
Phillip Webb
06558675bb
Polish
9 years ago
Andy Wilkinson
a9a31107cf
Align with API changes in latest Spring Data Kay snapshots
...
See gh-7461
9 years ago
Phillip Webb
b398b3319c
Rename @SpringApplicationTest -> @SpringBootTest
...
Rename @SpringApplicationTest to SpringBootTest and
@SpringApplicationContextLoader to @SpringBootContextLoader .
Fixes gh-5562
10 years ago
Phillip Webb
4d404b214c
Migrate away from @SpringApplicationConfiguration
...
Refactor internal tests to no longer use @SpringApplicationConfiguration
See gh-5562
10 years ago
Phillip Webb
c28f552883
Migrate SpringJUnit4ClassRunner to SpringRunner
...
Replace all existing SpringJUnit4ClassRunner references with the new
SpringRunner alias.
Fixes gh-5292
10 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
10 years ago
Andy Wilkinson
44ddfcc7fa
Upgrade copyright headers of all files changed in 2016
10 years ago
Phillip Webb
1cc1fc6431
Use AssertJ in spring-boot-samples
...
See gh-5083
10 years ago
Johnny Lim
8ec00c35bf
Polish
...
Closes gh-4572
10 years ago
Phillip Webb
634bb770b2
Organize imports with new settings
...
See gh-4234
10 years ago
Phillip Webb
2615990ffb
Organize imports
11 years ago
Stephane Nicoll
7c0c953f81
Add value alias for SpringApplicationConfiguration
...
Given that Spring Boot uses java config accross the board, a new `value`
attribute is now aliased to the existing `classes` attribute such that
one could write the following:
@SpringApplicationConfiguration(MyConfig.class)
public class MyTest {}
Closes gh-3635
11 years ago
Andy Wilkinson
0bb0f32c88
Reinstate code in Data REST sample that went AWOL in 1ce617f1
11 years ago