Browse Source

Merge branch '3.3.x'

pull/41934/head
Stéphane Nicoll 2 years ago
parent
commit
aa4e22809b
  1. 4
      spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jdbc/JdbcTest.java
  2. 4
      spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jooq/JooqTest.java

4
spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jdbc/JdbcTest.java

@ -41,8 +41,8 @@ import org.springframework.transaction.annotation.Transactional;
/** /**
* Annotation for a JDBC test that focuses <strong>only</strong> on JDBC-based components. * Annotation for a JDBC test that focuses <strong>only</strong> on JDBC-based components.
* <p> * <p>
* Using this annotation only enables auto-configuration that is relevant to JDBC * Using this annotation only enables auto-configuration that is relevant to JDBC tests.
* tests. Similarly, component scanning is configured to skip regular components and * Similarly, component scanning is configured to skip regular components and
* configuration properties. * configuration properties.
* <p> * <p>
* By default, tests annotated with {@code @JdbcTest} are transactional and roll back at * By default, tests annotated with {@code @JdbcTest} are transactional and roll back at

4
spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jooq/JooqTest.java

@ -41,8 +41,8 @@ import org.springframework.transaction.annotation.Transactional;
/** /**
* Annotation for a jOOQ test that focuses <strong>only</strong> on jOOQ-based components. * Annotation for a jOOQ test that focuses <strong>only</strong> on jOOQ-based components.
* <p> * <p>
* Using this annotation only enables auto-configuration that is relevant to jOOQ * Using this annotation only enables auto-configuration that is relevant to jOOQ tests.
* tests. Similarly, component scanning is configured to skip regular components and * Similarly, component scanning is configured to skip regular components and
* configuration properties. * configuration properties.
* <p> * <p>
* By default, tests annotated with {@code @JooqTest} use the configured database. If you * By default, tests annotated with {@code @JooqTest} use the configured database. If you

Loading…
Cancel
Save