Upgrade to JUnit Jupiter 5.6
Closes gh-24299
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user