Uses of Class
com.github.tadukoo.junit.logger.JUnitEasyLogger
Package
Description
Contains
JUnitEasyLogger
, to be used for loggers in JUnit
testing when you don't want to actually log, but check that logging works.-
Uses of JUnitEasyLogger in com.github.tadukoo.junit.logger
Modifier and TypeMethodDescriptionstatic void
JUnitEasyLogger.assertEntries
(JUnitEasyLogger.JUnitEasyLoggerEntry expectedEntry, JUnitEasyLogger logger) Will verify that the entries in the given logger contains one element and matches the expected entrystatic void
JUnitEasyLogger.assertEntries
(List<JUnitEasyLogger.JUnitEasyLoggerEntry> expectedEntries, JUnitEasyLogger logger) Will verify that the entries in the given logger match the expected entries.static void
JUnitEasyLogger.assertEntries
(Level level, String message, Throwable t, JUnitEasyLogger logger)