Commit b9c8d7dd authored by Leonard Brünings's avatar Leonard Brünings Committed by Stephane Nicoll

Add Testable to CLASS_ANNOTATIONS in TestTypeExcludeFilter

See gh-18214
parent b1ca1ae6
...@@ -33,7 +33,8 @@ import org.springframework.core.type.classreading.MetadataReaderFactory; ...@@ -33,7 +33,8 @@ import org.springframework.core.type.classreading.MetadataReaderFactory;
class TestTypeExcludeFilter extends TypeExcludeFilter { class TestTypeExcludeFilter extends TypeExcludeFilter {
private static final String[] CLASS_ANNOTATIONS = { "org.junit.runner.RunWith", private static final String[] CLASS_ANNOTATIONS = { "org.junit.runner.RunWith",
"org.junit.jupiter.api.extension.ExtendWith" }; "org.junit.jupiter.api.extension.ExtendWith", "org.testng.annotations.Test",
"org.junit.platform.commons.annotation.Testable"};
private static final String[] METHOD_ANNOTATIONS = { "org.junit.Test", private static final String[] METHOD_ANNOTATIONS = { "org.junit.Test",
"org.junit.platform.commons.annotation.Testable" }; "org.junit.platform.commons.annotation.Testable" };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment