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 2424 jdk :
2525 - version : 25
2626 type : ea
27+ - version : 26
28+ type : ea
2729 name : " OpenJDK ${{ matrix.jdk.version }} (${{ matrix.jdk.release || matrix.jdk.type }})"
2830 runs-on : ubuntu-latest
2931 steps :
Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ repository on GitHub.
129129* Kotlin's `suspend` modifier may now be applied to test and lifecycle methods.
130130* The `Arguments` interface for parameterized tests is now officially a
131131 `@FunctionalInterface`.
132+ * `JAVA_26` has been added to the `JRE` enum for use with JRE-based execution conditions.
132133
133134
134135[[release-notes-6.0.0-M1-junit-vintage]]
Original file line number Diff line number Diff line change 3030 since : ' 5.11'
3131- version : 25
3232 since : ' 5.11.4'
33+ - version : 26
34+ since : ' 6.0'
Original file line number Diff line number Diff line change 2020import static org .junit .jupiter .api .condition .JavaVersionPredicates .onJava23 ;
2121import static org .junit .jupiter .api .condition .JavaVersionPredicates .onJava24 ;
2222import static org .junit .jupiter .api .condition .JavaVersionPredicates .onJava25 ;
23+ import static org .junit .jupiter .api .condition .JavaVersionPredicates .onJava26 ;
2324import static org .junit .jupiter .api .condition .JavaVersionPredicates .onKnownVersion ;
2425
2526import org .junit .jupiter .api .Test ;
@@ -201,7 +202,8 @@ void minVersionGreaterThanMax() {
201202 @ Test
202203 void min20 () {
203204 evaluateCondition ();
204- assertEnabledOnCurrentJreIf (onJava20 () || onJava21 () || onJava22 () || onJava23 () || onJava24 () || onJava25 ());
205+ assertEnabledOnCurrentJreIf (
206+ onJava20 () || onJava21 () || onJava22 () || onJava23 () || onJava24 () || onJava25 () || onJava26 ());
205207 }
206208
207209 /**
@@ -310,7 +312,7 @@ void minVersion20MaxVersion21() {
310312 void minVersion21MaxVersionMaxInteger () {
311313 evaluateCondition ();
312314 assertEnabledOnCurrentJreIf (onJava17 () || onJava18 () || onJava19 () || onJava20 () || onJava21 () || onJava22 ()
313- || onJava23 () || onJava24 () || onJava25 ());
315+ || onJava23 () || onJava24 () || onJava25 () || onJava26 () );
314316 }
315317
316318 /**
You can’t perform that action at this time.
0 commit comments