Upgrade to JUnit Jupiter 5.6

Closes gh-24299
This commit is contained in:
Sam Brannen
2020-02-13 15:44:58 +01:00
parent d481b81b7e
commit 05301d24c1
3 changed files with 6 additions and 6 deletions

View File

@@ -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 @@ class FailingBeforeAndAfterMethodsSpringExtensionTests {
Events events = EngineTestKit.engine("junit-jupiter")
.selectors(selectClass(testClass))
.execute()
.tests()
.testEvents()
.assertStatistics(stats -> stats
.skipped(0)
.aborted(0)

View File

@@ -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 @@ class TimedTransactionalSpringExtensionTests {
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,