Phillip Webb
3a9ca5fa30
Update copyright header of changed files
7 years ago
Madhura Bhave
1db1c8b03c
Validate our own tests work with JUnit5 and the vintage engine
...
Closes gh-14737
Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
7 years ago
Andy Wilkinson
064f6478df
Move back to JUnit 4 until SUREFIRE-1614 has been resolved
...
See gh-14736
See gh-14737
See gh-14738
7 years ago
Madhura Bhave
59d2b0a3fb
Upgrade tests to Junit5
...
See gh-14737
7 years ago
Phillip Webb
e69296d7d3
Fix checkstyle violations in samples
8 years ago
Phillip Webb
4853477081
Reformat code
8 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
Phillip Webb
95c4cdbedc
Fix packages and annotations used in sample
...
Update a few of the samples to correct the packages used in tests and
to make use of the `@SpringBootApplication` annotation.
10 years ago
Huang YunKun
1c5e445554
Update the samples to use @WebIntegrationTest and randomPort=true
...
Closes gh-4294
Closes gh-4271
11 years ago
Phillip Webb
634bb770b2
Organize imports with new settings
...
See gh-4234
11 years ago
Phillip Webb
a79131f8d2
Organize imports with new settings
...
See gh-4234
11 years ago
Phillip Webb
2615990ffb
Organize imports
11 years ago
Phillip Webb
61fc4f3f12
Polish copyright headers
11 years ago
Phillip Webb
1ce617f1ae
Polish sample package names
11 years ago
Stephane Nicoll
dfdb801533
Fix use of deprecated API.
11 years ago
Phillip Webb
fa88c481a5
Remote trailing whitespace
12 years ago
Phillip Webb
80ac1fb0cd
Polish
12 years ago
kozazz
ba9f92e74f
Add validation test to ws sample
...
Fixes gh-481
12 years ago
Phillip Webb
0160760568
Apply latest eclipse cleanup rules
12 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.
12 years ago
Dave Syer
0498617411
Disable whitelabel view if Thymeleaf error.html detected
13 years ago
Phillip Webb
cf655945aa
Polish
13 years ago
Dave Syer
7bea9dd973
Massage MVC test a bit
...
* Use *Tests as classname
* Fixed broken test in suite where ID is not always "1"
13 years ago