File tree Expand file tree Collapse file tree 8 files changed +10
-21
lines changed
documentation/src/docs/asciidoc/release-notes
base/code-generator-model/src/main/resources
jupiter-tests/src/test/java/org/junit/jupiter/api/condition
platform-tooling-support-tests/projects Expand file tree Collapse file tree 8 files changed +10
-21
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 @@ -16,7 +16,7 @@ ktlint = "1.6.0"
1616log4j = " 2.24.3"
1717logback = " 1.5.18"
1818opentest4j = " 1.3.0"
19- openTestReporting = " 0.3.0-SNAPSHOT "
19+ openTestReporting = " 0.2.4 "
2020snapshotTests = " 1.11.0"
2121surefire = " 3.5.3"
2222xmlunit = " 2.10.2"
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 /**
Original file line number Diff line number Diff line change @@ -28,12 +28,6 @@ dependencyResolutionManagement {
2828 snapshotsOnly()
2929 }
3030 }
31- maven(url = " https://central.sonatype.com/repository/maven-snapshots/" ) {
32- mavenContent {
33- snapshotsOnly()
34- includeGroup(" org.opentest4j.reporting" )
35- }
36- }
3731 }
3832 }
3933}
Original file line number Diff line number Diff line change @@ -7,12 +7,6 @@ val junitVersion: String by project
77repositories {
88 maven { url = uri(file(System .getProperty(" maven.repo" ))) }
99 mavenCentral()
10- maven(url = " https://central.sonatype.com/repository/maven-snapshots/" ) {
11- mavenContent {
12- snapshotsOnly()
13- includeGroup(" org.opentest4j.reporting" )
14- }
15- }
1610}
1711
1812dependencies {
Original file line number Diff line number Diff line change @@ -15,12 +15,6 @@ plugins {
1515dependencyResolutionManagement {
1616 repositories {
1717 mavenCentral()
18- maven(url = " https://central.sonatype.com/repository/maven-snapshots" ) {
19- mavenContent {
20- snapshotsOnly()
21- includeGroup(" org.opentest4j.reporting" )
22- }
23- }
2418 }
2519}
2620
You can’t perform that action at this time.
0 commit comments