Package com.itextpdf.test.annotations
Annotation Type LogMessages
Container annotation for
LogMessage objects. This type triggers the LogListener algorithm which checks whether log messages were called the required number of times.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionContainer for the log messages. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanDefines whether theLogListeneralgorithm should be ignored.
-
Element Details
-
messages
LogMessage[] messagesContainer for the log messages.- Returns:
-
an array of
LogMessageobjects
-
-
-
ignore
boolean ignoreDefines whether theLogListeneralgorithm should be ignored. If ignored, no checks will be done on the log messages for this test. Note that even if you set this parameter totrue, you still have to specify all potential log messages inLogMessageannotations for now, otherwiseLogListenerwill report issues. Defaults tofalse.- Returns:
-
whether to ignore the
LogListeneralgorithm
- Default:
- false
-