Issam El-atif
35dc7982d2
Fix deployment tests JUnit 5 checkstyle issues
...
See gh-17106
7 years ago
Andy Wilkinson
b18fffaf14
Move tests to JUnit 5 wherever possible
7 years ago
Vedran Pavic
fc9036a3d9
Update deployment tests to include Actuator
...
See gh-11886
8 years ago
Phillip Webb
89b0ba2c14
Relocate test projects under `spring-boot-tests`
...
Move integration and deployment tests under a single `spring-boot-tests`
module.
See gh-9316
8 years ago
Andy Wilkinson
cb7ae2e60a
Add a deployment test for WebSphere Liberty Profile
...
Closes gh-7419
9 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
c5add2ef08
Use AssertJ in spring-boot-deployment-tests
...
See gh-5083
10 years ago
Phillip Webb
a79131f8d2
Organize imports with new settings
...
See gh-4234
10 years ago
Phillip Webb
6ab376e2e8
Reformat code use Eclipse Mars
10 years ago
Phillip Webb
67402405db
Reformat code
11 years ago
Phillip Webb
90e9187b80
Polish deployment tests
11 years ago
Phillip Webb
44dde9fc12
Add deployment integration tests
...
Add deployment tests for Tomcat, TomEE and WildFly to ensure that
a basic Spring Boot application can be deployed to a traditional
Application server.
Since the deployment tests can be quite slow, they currently only
run in the "full" build profile.
Fixes gh-1736
11 years ago
Phillip Webb
fa88c481a5
Remote trailing whitespace
12 years ago
Phillip Webb
fad5ce45db
Polish
12 years ago
Dave Syer
7b07fe8ce0
Convert remaining samples to use random port
...
Partial fix for gh-337. See also gh-607 which complements this, but might
conflict on a merge.
12 years ago
Phillip Webb
aca67066bf
Rename RestTemplates to TestRestTemplate
...
Rename the RestTemplates to TestRestTemplate to help indicate that it's
primarily intended for testing. Also now extend RestTemplate to allow
direct use, rather than via factory methods.
Fixes gh-599
12 years ago
Phillip Webb
80ac1fb0cd
Polish
12 years ago
Dave Syer
7a285cf65d
Convert all sample tests to @IntegrationTest where appropriate
...
Makes them a lot more readable IMO, and also enables @Autowiring
from the context into the test case (sweeet). I added @DirtiesContext
to all of them as well to be on the safe side, but possbly that can be
optimized in some way as well.
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
Phillip Webb
64f32893bb
Source format and clean-up
12 years ago
Dave Syer
43fc107437
Fix security config
...
The management endpoints were still all mixed up
with the user endpoints. Fixed that and extracted
user endpoints in to conditional block so not
protected if path explicitly set to empty string.
[#53029715 ]
13 years ago
Phillip Webb
b665a2bb1d
Renamed packages
...
Issue: #54095231
13 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
13 years ago
Phillip Webb
0b863611d9
Package restructure
13 years ago
Phillip Webb
9fde0a3715
Polish and fix sonar warnings
13 years ago
Phillip Webb
261955c50b
Restructure 'bootstrap' to use 'zero'
13 years ago
Phillip Webb
40bf334871
Restructure projects layout
13 years ago
Dave Syer
fb6b224470
Fast forward existing prototype work
13 years ago