Polish Add Testable to CLASS_ANNOTATIONS in TestTypeExcludeFilter"

See gh-18214
This commit is contained in:
Stephane Nicoll
2019-09-16 09:40:59 +02:00
parent b9c8d7dd60
commit e05f42f0f3
3 changed files with 39 additions and 2 deletions

View File

@@ -33,8 +33,8 @@ import org.springframework.core.type.classreading.MetadataReaderFactory;
class TestTypeExcludeFilter extends TypeExcludeFilter {
private static final String[] CLASS_ANNOTATIONS = { "org.junit.runner.RunWith",
"org.junit.jupiter.api.extension.ExtendWith", "org.testng.annotations.Test",
"org.junit.platform.commons.annotation.Testable"};
"org.junit.jupiter.api.extension.ExtendWith", "org.junit.platform.commons.annotation.Testable",
"org.testng.annotations.Test", };
private static final String[] METHOD_ANNOTATIONS = { "org.junit.Test",
"org.junit.platform.commons.annotation.Testable" };