Andy Wilkinson
0644a79401
Repackage output capture and always use extension declaratively
...
Closes gh-17029
7 years ago
Phillip Webb
d11d5ceb29
Split up JUnit 5 OutputCapture class
...
Split the JUnit 5 `OutputCapture` class into separate `OutputExtension`
and `CapturedOutput` classes. The JUnit 5 callback methods are now
contained only in the `OutputExtension` class so no longer pollute the
public API that users will interact with.
The `CapturedOutput` class has also been updated to capture System.err
and System.out separately to allow distinct assertions if required.
Closes gh-17029
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
Phillip Webb
ddbfb2530d
Update copyright header of changed files
7 years ago
Phillip Webb
f12ab1ff90
Update copyright header of changed files
7 years ago
Andy Wilkinson
0e009ef047
Use HTTPS to link to the Apache license
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
adfb6dc128
Polish
8 years ago
Madhura Bhave
d65f9b25bc
Remove redundant throws Exception
8 years ago
Stephane Nicoll
23218add90
Polish
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
10 years ago
Phillip Webb
8d08e816a7
Fix tests that fail when Redis is unavailable
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
Phillip Webb
a79131f8d2
Organize imports with new settings
...
See gh-4234
10 years ago
Phillip Webb
61fc4f3f12
Polish copyright headers
11 years ago
Phillip Webb
1ce617f1ae
Polish sample package names
11 years ago
Phillip Webb
636898f9ad
Polish
11 years ago
Phillip Webb
d039f43107
Update samples to use @SpringBootApplication
...
Update the relevant samples to use the new @SpringBootApplication
annotation.
Closes gh-1842
11 years ago
Phillip Webb
fa88c481a5
Remote trailing whitespace
12 years ago
Phillip Webb
cdda330acd
Update copyright header for files changed in 2014
12 years ago
Dave Syer
5627caa724
Move spring-boot tests utilities to main spring-boot.jar
...
Fixes gh-233
12 years ago
Phillip Webb
7623c291a2
Attempt to fix failing CI build
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
6c4ee0b05d
Add PoolConfig to Redis
12 years ago