Browse Source

Polishing

pull/31172/head
Sam Brannen 1 year ago
parent
commit
210b42b7d8
  1. 2
      spring-test/src/test/java/org/springframework/test/context/aot/samples/basic/BasicSpringJupiterSharedConfigTests.java
  2. 2
      spring-test/src/test/java/org/springframework/test/context/aot/samples/basic/BasicSpringJupiterTests.java

2
spring-test/src/test/java/org/springframework/test/context/aot/samples/basic/BasicSpringJupiterSharedConfigTests.java

@ -40,7 +40,7 @@ import static org.assertj.core.api.Assertions.assertThat;
@SpringJUnitConfig({BasicTestConfiguration.class, ManagementConfiguration.class}) @SpringJUnitConfig({BasicTestConfiguration.class, ManagementConfiguration.class})
@TestPropertySource(properties = "test.engine = jupiter") @TestPropertySource(properties = "test.engine = jupiter")
// We cannot use `classpath*:` in AOT tests until gh-31088 is resolved. // We cannot use `classpath*:` in AOT tests until gh-31088 is resolved.
// @YamlTestProperties("classpath*:org/springframework/test/context/aot/samples/basic/**/test?.yaml") // @YamlTestProperties("classpath*:**/aot/samples/basic/test?.yaml")
@YamlTestProperties({ @YamlTestProperties({
"classpath:org/springframework/test/context/aot/samples/basic/test1.yaml", "classpath:org/springframework/test/context/aot/samples/basic/test1.yaml",
"classpath:org/springframework/test/context/aot/samples/basic/test2.yaml" "classpath:org/springframework/test/context/aot/samples/basic/test2.yaml"

2
spring-test/src/test/java/org/springframework/test/context/aot/samples/basic/BasicSpringJupiterTests.java

@ -50,7 +50,7 @@ import static org.springframework.test.context.TestExecutionListeners.MergeMode.
@TestExecutionListeners(listeners = DummyTestExecutionListener.class, mergeMode = MERGE_WITH_DEFAULTS) @TestExecutionListeners(listeners = DummyTestExecutionListener.class, mergeMode = MERGE_WITH_DEFAULTS)
@TestPropertySource(properties = "test.engine = jupiter") @TestPropertySource(properties = "test.engine = jupiter")
// We cannot use `classpath*:` in AOT tests until gh-31088 is resolved. // We cannot use `classpath*:` in AOT tests until gh-31088 is resolved.
// @YamlTestProperties("classpath*:org/springframework/test/context/aot/samples/basic/**/test?.yaml") // @YamlTestProperties("classpath*:**/aot/samples/basic/test?.yaml")
@YamlTestProperties({ @YamlTestProperties({
"classpath:org/springframework/test/context/aot/samples/basic/test1.yaml", "classpath:org/springframework/test/context/aot/samples/basic/test1.yaml",
"classpath:org/springframework/test/context/aot/samples/basic/test2.yaml" "classpath:org/springframework/test/context/aot/samples/basic/test2.yaml"

Loading…
Cancel
Save