Andy Wilkinson
9d28238598
Update formatting of spring-boot-samples
7 years ago
Andy Wilkinson
ede197fa55
Polish formatting
...
Fix formatting issues, primarily around header comments.
7 years ago
Andy Wilkinson
8f1be4cded
Upgrade to spring-javaformat 0.0.11
7 years ago
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
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
cd5266ac03
Polish
8 years ago
Phillip Webb
adfb6dc128
Polish
8 years ago
Madhura Bhave
d65f9b25bc
Remove redundant throws Exception
8 years ago
Johnny Lim
1783a072ad
Remove explicit constructor super() calls
...
Closes gh-11068
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
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
a79131f8d2
Organize imports with new settings
...
See gh-4234
10 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
1a475102de
Polish
12 years ago
Andy Wilkinson
e45ef06b56
Polish Spring Data Solr integration
12 years ago
Christoph Strobl
6ed69709d7
Add auto configuration support for Spring Data Solr
...
Registers required components in application context if not available to
set up environment for usage with Spring Data Solr. Will listen on
SolrServer and SolrRepositories for configuration.
By default an HttpSolrServer is registered unless a zkHost (zookeeper
host) is defined. In that case an instance of CloudSolrServer will be
created.
By default multicore support is enabled, creating instances of
SolrServer for each core defined via @SolrDocument .
12 years ago