You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot/spring-boot-tests/spring-boot-smoke-tests
Andy Wilkinson 8f1b8622ba Ensure that webEnvironment=NONE creates non-web context
Previously, if spring.main.web-application-type was configured in
application.properties to servlet or reactive, setting
webEnvironment=NONE on @SpringBootTest would not work correctly and
a servlet or reactive web application context would be created
based on the value of spring.main.web-application-type.

This commit updates the test context bootstapper to set
spring.main.web-application-type to none when webEnvironment has been
set to none. This is done in the merged context configuration's
property source properties which are applied to the environment in a
high-precedence test property source that will override configuration
in application.properties.

Closes gh-29695
3 years ago
..
spring-boot-smoke-test-activemq
spring-boot-smoke-test-actuator Merge branch '2.4.x' into 2.5.x 3 years ago
spring-boot-smoke-test-actuator-custom-security Merge branch '2.4.x' into 2.5.x 3 years ago
spring-boot-smoke-test-actuator-log4j2
spring-boot-smoke-test-actuator-noweb
spring-boot-smoke-test-actuator-ui
spring-boot-smoke-test-amqp
spring-boot-smoke-test-animated-banner
spring-boot-smoke-test-ant
spring-boot-smoke-test-aop Remove unnecessary throws declaration in tests 4 years ago
spring-boot-smoke-test-atmosphere
spring-boot-smoke-test-batch
spring-boot-smoke-test-bootstrap-registry Deprecate Bootstrapper 4 years ago
spring-boot-smoke-test-cache
spring-boot-smoke-test-data-couchbase Upgrade to Couchbase Client 3.1.5 4 years ago
spring-boot-smoke-test-data-elasticsearch Fix Spring Data Elasticsearch deprecations 4 years ago
spring-boot-smoke-test-data-jdbc
spring-boot-smoke-test-data-jpa Polish "Enforce use of BDDMockito" 3 years ago
spring-boot-smoke-test-data-ldap
spring-boot-smoke-test-data-mongodb Disable SampleMongoApplicationTests on Linux aarch64 3 years ago
spring-boot-smoke-test-data-neo4j
spring-boot-smoke-test-data-r2dbc Auto-configure script-based R2DBC database initialization 4 years ago
spring-boot-smoke-test-data-r2dbc-flyway
spring-boot-smoke-test-data-r2dbc-liquibase Prohibit unwanted dependencies in all modules not just starters 3 years ago
spring-boot-smoke-test-data-redis
spring-boot-smoke-test-data-rest
spring-boot-smoke-test-devtools Remove use of Thymeleaf from smoke tests 3 years ago
spring-boot-smoke-test-flyway Merge branch '2.4.x' 3 years ago
spring-boot-smoke-test-hateoas Simplify code that makes hal the default json media type 4 years ago
spring-boot-smoke-test-hazelcast3
spring-boot-smoke-test-hibernate52
spring-boot-smoke-test-integration Remove unnecessary throws declaration in tests 4 years ago
spring-boot-smoke-test-jersey Polish "Polish access modifiers for test classes" 3 years ago
spring-boot-smoke-test-jetty
spring-boot-smoke-test-jetty-jsp Use a more relaxed AliasCheck for CI on Windows 3 years ago
spring-boot-smoke-test-jetty-ssl Prohibit unwanted dependencies in all modules not just starters 3 years ago
spring-boot-smoke-test-jetty10 Polish 3 years ago
spring-boot-smoke-test-jpa Prohibit unwanted dependencies in all modules not just starters 3 years ago
spring-boot-smoke-test-jta-atomikos Merge branch '2.4.x' into 2.5.x 3 years ago
spring-boot-smoke-test-junit-vintage
spring-boot-smoke-test-kafka Remove unnecessary throws declaration in tests 4 years ago
spring-boot-smoke-test-liquibase Merge branch '2.4.x' into 2.5.x 3 years ago
spring-boot-smoke-test-logback Remove unnecessary throws declaration in tests 4 years ago
spring-boot-smoke-test-oauth2-client Prohibit unwanted dependencies in all modules not just starters 3 years ago
spring-boot-smoke-test-oauth2-resource-server
spring-boot-smoke-test-parent-context Remove unnecessary throws declaration in tests 4 years ago
spring-boot-smoke-test-profile Ensure that webEnvironment=NONE creates non-web context 3 years ago
spring-boot-smoke-test-property-validation
spring-boot-smoke-test-quartz Merge branch '2.4.x' into 2.5.x 3 years ago
spring-boot-smoke-test-reactive-oauth2-client Prohibit unwanted dependencies in all modules not just starters 3 years ago
spring-boot-smoke-test-reactive-oauth2-resource-server
spring-boot-smoke-test-rsocket Polish "Polish access modifiers for test classes" 3 years ago
spring-boot-smoke-test-saml2-service-provider
spring-boot-smoke-test-secure
spring-boot-smoke-test-secure-jersey
spring-boot-smoke-test-secure-webflux Polish 3 years ago
spring-boot-smoke-test-servlet
spring-boot-smoke-test-session Merge branch '2.3.x' into 2.4.x 3 years ago
spring-boot-smoke-test-session-webflux Disable SampleSessionWebFluxApplicationTests on Linux aarch64 3 years ago
spring-boot-smoke-test-simple
spring-boot-smoke-test-test Merge branch '2.4.x' into 2.5.x 3 years ago
spring-boot-smoke-test-test-nomockito Remove unnecessary throws declaration in tests 4 years ago
spring-boot-smoke-test-testng
spring-boot-smoke-test-tomcat Remove unnecessary throws declaration in tests 4 years ago
spring-boot-smoke-test-tomcat-jsp Prohibit unwanted dependencies in all modules not just starters 3 years ago
spring-boot-smoke-test-tomcat-multi-connectors Prohibit unwanted dependencies in all modules not just starters 3 years ago
spring-boot-smoke-test-tomcat-ssl Prohibit unwanted dependencies in all modules not just starters 3 years ago
spring-boot-smoke-test-traditional Update web.xml xsd references to for 3.1 version 3 years ago
spring-boot-smoke-test-undertow
spring-boot-smoke-test-undertow-ssl Prohibit unwanted dependencies in all modules not just starters 3 years ago
spring-boot-smoke-test-war
spring-boot-smoke-test-web-application-type Ensure that webEnvironment=NONE creates non-web context 3 years ago
spring-boot-smoke-test-web-freemarker
spring-boot-smoke-test-web-groovy-templates
spring-boot-smoke-test-web-jsp Merge branch '2.4.x' into 2.5.x 3 years ago
spring-boot-smoke-test-web-method-security Remove use of Thymeleaf from smoke tests 3 years ago
spring-boot-smoke-test-web-mustache
spring-boot-smoke-test-web-secure Remove use of Thymeleaf from smoke tests 3 years ago
spring-boot-smoke-test-web-secure-custom Remove use of Thymeleaf from smoke tests 3 years ago
spring-boot-smoke-test-web-secure-jdbc Remove use of Thymeleaf from smoke tests 3 years ago
spring-boot-smoke-test-web-static
spring-boot-smoke-test-web-thymeleaf Remove use of Thymeleaf from smoke tests 3 years ago
spring-boot-smoke-test-webflux
spring-boot-smoke-test-webflux-coroutines Configure Kotlin compilation JVM target by convention 3 years ago
spring-boot-smoke-test-webservices
spring-boot-smoke-test-websocket-jetty
spring-boot-smoke-test-websocket-jetty10 Polish 3 years ago
spring-boot-smoke-test-websocket-tomcat
spring-boot-smoke-test-websocket-undertow
spring-boot-smoke-test-xml Remove unnecessary throws declaration in tests 4 years ago