panos-kakos
424d93ebb7
[JAVA-16834] Added test case ( #13192 )
...
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com >
2023-01-04 20:59:16 +05:30
kwoyke
2c3a18da18
Merge pull request #11468 from chaos2418/JAVA-8405
...
JAVA-8405: reducing logging for tutorials-build-job
2021-11-23 13:43:19 +01:00
davidmartinezbarua
6d1defcb1b
Merge pull request #11413 from Trixi-Turny/BAEL-5209-assert-type-of-object
...
BAEL-5209 example with JUnit5, Hamcrest and AssertJ
2021-11-22 16:11:16 -03:00
chaos2418
a62c0f3c8b
JAVA-8405: reducing logging for tutorials-build-job
2021-11-19 13:39:00 +05:30
lucaCambi77
4ca8e7ef23
[BAEL-5211] - How to test a Java Optional ( #11417 )
...
* feat: add how to test an optional
* fix: review comments
* fix: static final naming convention
* fix: optional equals assertion
2021-11-14 10:09:48 +00:00
Trixi Turny
f6ef8e6dc3
BAEL-5209 example with JUnit5, Hamcrest and AssertJ
2021-11-04 19:13:11 +00:00
Michaël Goossens
03474274ef
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
Vishal
99ac49130c
Add tests for AssertJ example and update assertj-core dependency version.
2020-08-23 10:35:43 +05:30
Vishal
f621693bdd
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
e3d787a3c8
Add unit test to assert two list equality without considering order of elements in it.
2020-08-12 09:57:39 +05:30
marc06210
67b6f4f54b
BAEL-3960 ( #9070 )
...
Bael-3960, asserting log messages with junit code.
2020-05-04 17:03:21 +01:00