File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed
documentation/src/docs/asciidoc/release-notes
gradle/base/code-generator-model/src/main/resources
jupiter-tests/src/test/java/org/junit/jupiter/api/condition Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 24
24
jdk :
25
25
- version : 25
26
26
type : ea
27
+ - version : 26
28
+ type : ea
27
29
name : " OpenJDK ${{ matrix.jdk.version }} (${{ matrix.jdk.release || matrix.jdk.type }})"
28
30
runs-on : ubuntu-latest
29
31
steps :
Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ repository on GitHub.
129
129
* Kotlin's `suspend` modifier may now be applied to test and lifecycle methods.
130
130
* The `Arguments` interface for parameterized tests is now officially a
131
131
`@FunctionalInterface`.
132
+ * `JAVA_26` has been added to the `JRE` enum for use with JRE-based execution conditions.
132
133
133
134
134
135
[[release-notes-6.0.0-M1-junit-vintage]]
Original file line number Diff line number Diff line change 30
30
since : ' 5.11'
31
31
- version : 25
32
32
since : ' 5.11.4'
33
+ - version : 26
34
+ since : ' 6.0'
Original file line number Diff line number Diff line change 20
20
import static org .junit .jupiter .api .condition .JavaVersionPredicates .onJava23 ;
21
21
import static org .junit .jupiter .api .condition .JavaVersionPredicates .onJava24 ;
22
22
import static org .junit .jupiter .api .condition .JavaVersionPredicates .onJava25 ;
23
+ import static org .junit .jupiter .api .condition .JavaVersionPredicates .onJava26 ;
23
24
import static org .junit .jupiter .api .condition .JavaVersionPredicates .onKnownVersion ;
24
25
25
26
import org .junit .jupiter .api .Test ;
@@ -201,7 +202,8 @@ void minVersionGreaterThanMax() {
201
202
@ Test
202
203
void min20 () {
203
204
evaluateCondition ();
204
- assertEnabledOnCurrentJreIf (onJava20 () || onJava21 () || onJava22 () || onJava23 () || onJava24 () || onJava25 ());
205
+ assertEnabledOnCurrentJreIf (
206
+ onJava20 () || onJava21 () || onJava22 () || onJava23 () || onJava24 () || onJava25 () || onJava26 ());
205
207
}
206
208
207
209
/**
@@ -310,7 +312,7 @@ void minVersion20MaxVersion21() {
310
312
void minVersion21MaxVersionMaxInteger () {
311
313
evaluateCondition ();
312
314
assertEnabledOnCurrentJreIf (onJava17 () || onJava18 () || onJava19 () || onJava20 () || onJava21 () || onJava22 ()
313
- || onJava23 () || onJava24 () || onJava25 ());
315
+ || onJava23 () || onJava24 () || onJava25 () || onJava26 () );
314
316
}
315
317
316
318
/**
You can’t perform that action at this time.
0 commit comments