Package org.hibernate.testing.orm.junit
Annotation Type MessageKeyInspection
-
@Inherited @Target({TYPE,METHOD}) @Retention(RUNTIME) @ExtendWith(MessageKeyInspectionExtension.class) @ExtendWith(MessageKeyWatcherResolver.class) public @interface MessageKeyInspection
Injects the ability to watch for a log messages being triggered. For watching a multiple message-keys, seeLoggingInspections
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Logger
logger
The logger to watch onString
messageKey
The message key to look for.
-