Include @Inject TCK tests in the build again
Commit 979508a7f3
removed the JUnit 4
dependency from all modules except spring-test. Unfortunately, the
@Inject TCK tests (SpringAtInjectTckTests) are still based on JUnit 3.
Thus, that commit accidentally excluded those tests from the build.
This commit includes SpringAtInjectTckTests in the build again by
introducing a test runtime dependency on the JUnit Vintage TestEngine
in spring-context.
See gh-23451
This commit is contained in:
parent
2861fc65bd
commit
4dc966b04b
|
@ -39,4 +39,5 @@ dependencies {
|
|||
testRuntime("javax.xml.bind:jaxb-api")
|
||||
testRuntime("org.glassfish:javax.el")
|
||||
testRuntime("org.javamoney:moneta")
|
||||
testRuntime("org.junit.vintage:junit-vintage-engine") // for @Inject TCK
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<suppress files="RootBeanDefinition" checks="EqualsHashCode" />
|
||||
|
||||
<!-- spring-context -->
|
||||
<suppress files="SpringAtInjectTckTests" checks="IllegalImportCheck" />
|
||||
<suppress files="SpringAtInjectTckTests" checks="IllegalImportCheck" id="bannedJUnit3Imports" />
|
||||
|
||||
<!-- spring-core -->
|
||||
<suppress files="[\\/]src[\\/]main[\\/]java[\\/]org[\\/]springframework[\\/]asm[\\/]" checks=".*" />
|
||||
|
|
Loading…
Reference in New Issue