Uses of Record Class
com.github.tadukoo.junit.logger.JUnitEasyLogger.JUnitEasyLoggerEntry
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.JUnitEasyLoggerEntry in com.github.tadukoo.junit.logger
Modifier and TypeFieldDescriptionprivate final List<JUnitEasyLogger.JUnitEasyLoggerEntry>
JUnitEasyLogger.entries
The List of Logger entries for this loggerModifier 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
(JUnitEasyLogger.JUnitEasyLoggerEntry expectedEntry, List<JUnitEasyLogger.JUnitEasyLoggerEntry> actualEntries) Will verify that the given actual entries contains one element and matches the expected entryModifier and TypeMethodDescriptionstatic void
JUnitEasyLogger.assertEntries
(JUnitEasyLogger.JUnitEasyLoggerEntry expectedEntry, List<JUnitEasyLogger.JUnitEasyLoggerEntry> actualEntries) Will verify that the given actual entries 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
(List<JUnitEasyLogger.JUnitEasyLoggerEntry> expectedEntries, List<JUnitEasyLogger.JUnitEasyLoggerEntry> actualEntries) Will verify that the given actual entries match the expected entries.static void
JUnitEasyLogger.assertEntries
(Level level, String message, Throwable t, List<JUnitEasyLogger.JUnitEasyLoggerEntry> actualEntries)