Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Oct 4, 2024
1 parent c4c005b commit d957d01
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,18 +155,13 @@ void endToEndTestsForEntireSpringTestModule() {
runEndToEndTests(testClasses, false);
}

@Disabled("Comment out to run @TestBean integration tests in AOT mode")
@Disabled("Comment out to run Bean Override integration tests in AOT mode")
@Test
void endToEndTestsForTestBeanOverrideTestClasses() {
List<Class<?>> testClasses = List.of(
org.springframework.test.context.aot.samples.bean.override.convention.TestBeanJupiterTests.class,
org.springframework.test.context.bean.override.convention.TestBeanForByNameLookupIntegrationTests.class,
org.springframework.test.context.bean.override.convention.TestBeanForByNameLookupIntegrationTests.TestBeanFieldInEnclosingClassTests.class,
org.springframework.test.context.bean.override.convention.TestBeanForByNameLookupIntegrationTests.TestBeanFieldInEnclosingClassTests.TestBeanFieldInEnclosingClassLevel2Tests.class,
org.springframework.test.context.bean.override.convention.TestBeanForByNameLookupIntegrationTests.TestBeanFactoryMethodInEnclosingClassTests.class,
org.springframework.test.context.bean.override.convention.TestBeanForByNameLookupIntegrationTests.TestBeanFactoryMethodInEnclosingClassTests.TestBeanFactoryMethodInEnclosingClassLevel2Tests.class
);

void endToEndTestsForBeanOverrides() {
List<Class<?>> testClasses = createTestClassScanner()
.scan("org.springframework.test.context.bean.override")
.filter(clazz -> clazz.getSimpleName().endsWith("Tests"))
.toList();
runEndToEndTests(testClasses, true);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ StringBuilder beanString3() {
}

@FunctionalInterface
interface MessageService {
public interface MessageService {

String getMessage();
}
Expand Down

0 comments on commit d957d01

Please sign in to comment.