File tree 2 files changed +10
-2
lines changed
src/test/java/org/springframework/context/annotation/jsr330
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -58,3 +58,10 @@ dependencies {
58
58
testRuntimeOnly(" org.javamoney:moneta" )
59
59
testRuntimeOnly(" org.junit.vintage:junit-vintage-engine" ) // for @Inject TCK
60
60
}
61
+
62
+ test {
63
+ description = " Runs JUnit Jupiter tests and the @Inject TCK via JUnit Vintage."
64
+ useJUnitPlatform {
65
+ includeEngines " junit-jupiter" , " junit-vintage"
66
+ }
67
+ }
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2024 the original author or authors.
2
+ * Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
38
38
* @author Juergen Hoeller
39
39
* @since 3.0
40
40
*/
41
- class SpringAtInjectTckTests {
41
+ // WARNING: This class MUST be public, since it is based on JUnit 3.
42
+ public class SpringAtInjectTckTests {
42
43
43
44
@ SuppressWarnings ("unchecked" )
44
45
public static Test suite () {
You can’t perform that action at this time.
0 commit comments