diff --git a/build.gradle b/build.gradle index 4c35df062bd4..1aafb87a636c 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,7 @@ configure(allprojects) { project -> mavenBom "org.eclipse.jetty:jetty-bom:9.4.26.v20200117" mavenBom "org.jetbrains.kotlin:kotlin-bom:1.3.61" mavenBom "org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.3.2" - mavenBom "org.junit:junit-bom:5.5.2" + mavenBom "org.junit:junit-bom:5.6.0" } dependencies { dependencySet(group: 'org.apache.logging.log4j', version: '2.13.0') { @@ -368,7 +368,7 @@ configure([rootProject] + javaProjects) { project -> "https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.10/", "https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/", "https://junit.org/junit4/javadoc/4.12/", - "https://junit.org/junit5/docs/5.5.2/api/" + "https://junit.org/junit5/docs/5.6.0/api/" ] as String[] } diff --git a/spring-test/src/test/java/org/springframework/test/context/junit/jupiter/FailingBeforeAndAfterMethodsSpringExtensionTests.java b/spring-test/src/test/java/org/springframework/test/context/junit/jupiter/FailingBeforeAndAfterMethodsSpringExtensionTests.java index 0acfe96068e3..bb40b5669933 100644 --- a/spring-test/src/test/java/org/springframework/test/context/junit/jupiter/FailingBeforeAndAfterMethodsSpringExtensionTests.java +++ b/spring-test/src/test/java/org/springframework/test/context/junit/jupiter/FailingBeforeAndAfterMethodsSpringExtensionTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -82,7 +82,7 @@ void failingBeforeAndAfterCallbacks(Class testClass) { Events events = EngineTestKit.engine("junit-jupiter") .selectors(selectClass(testClass)) .execute() - .tests() + .testEvents() .assertStatistics(stats -> stats .skipped(0) .aborted(0) diff --git a/spring-test/src/test/java/org/springframework/test/context/junit/jupiter/transaction/TimedTransactionalSpringExtensionTests.java b/spring-test/src/test/java/org/springframework/test/context/junit/jupiter/transaction/TimedTransactionalSpringExtensionTests.java index 79a623894c32..27837936ad6c 100644 --- a/spring-test/src/test/java/org/springframework/test/context/junit/jupiter/transaction/TimedTransactionalSpringExtensionTests.java +++ b/spring-test/src/test/java/org/springframework/test/context/junit/jupiter/transaction/TimedTransactionalSpringExtensionTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -60,7 +60,7 @@ void springTransactionsWorkWithJUnitJupiterTimeouts() { Events events = EngineTestKit.engine("junit-jupiter") .selectors(selectClass(TestCase.class)) .execute() - .tests() + .testEvents() .assertStatistics(stats -> stats.started(4).succeeded(2).failed(2)); events.failed().assertThatEvents().haveExactly(2,