Commit Graph

12 Commits

Author SHA1 Message Date
chaos2418 64a134f05e JAVA-1665: updated parent-java's junit and surefire configurations 2021-11-03 09:03:23 +05:30
Dhawal Kapil 1ab0a19d25 Java 3590 (#11367) (#11380)
* Java 3590 (#11367)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

Co-authored-by: chaos2418 <>

* Java 3590 - fixing integration tests in restx and spring-5-webflux (#11382)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

* fixing integration tests in restx and spring-5-webflux

Co-authored-by: chaos2418 <>

Co-authored-by: chaos2418 <92030908+chaos2418@users.noreply.github.com>
2021-10-29 09:37:04 +05:30
Michaël Goossens b9fd869c02 Also consider string interpolation
The above example only works when logging a string without using string interpolation. For example the following log statement: log.debug("This is a log from {}", "David"). This would result in event.getMessage() returning "This is a log from {}" while you would like to see the processed form "This is a log from David". The getMessage().toString() only returns the former while toString() on the event will return the latter. Furthermore the toString() method is redundant on getMessage() as it already is a string.
2021-07-15 23:26:49 +02:00
sampadawagde d9db0949cb JAVA-5223: Fix formatting of POMs (Testing Modules) 2021-05-17 20:23:43 +05:30
Krzysztof Woyke 089da70fb0 JAVA-4931: Cleanup surefire config 2021-03-29 15:22:10 +02:00
Krzysztof Woyke 5e3e710e84 JAVA-3295: Fix pom properties in testing-modules 2021-03-24 10:31:09 +01:00
johnA1331 1d9cf597d8 Update README.md 2020-09-16 22:57:59 +08:00
Vishal aa223e69ea Add tests for AssertJ example and update assertj-core dependency version. 2020-08-23 10:35:43 +05:30
Vishal 3cbfd383ed Refactor | Add common formatting, remove comments, update test class name,follow test method naming convention and use Junit5 2020-08-17 18:06:30 +05:30
Vishal 6a2fcd54c3 Add unit test to assert two list equality without considering order of elements in it. 2020-08-12 09:57:39 +05:30
Loredana Crusoveanu 7ab2f437ee Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
marc06210 b3f1413445 BAEL-3960 (#9070)
Bael-3960, asserting log messages with junit code.
2020-05-04 17:03:21 +01:00