Package io.quarkus.test.utils
Class LogsVerifier
- java.lang.Object
-
- io.quarkus.test.utils.LogsVerifier
-
public class LogsVerifier extends Object
-
-
Constructor Summary
Constructors Constructor Description LogsVerifier(Service service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassertContains(String... expectedLogs)Asserts log contains any ofexpectedLogs.voidassertDoesNotContain(String unexpectedLog)QuarkusLogsVerifierforQuarkus()
-
-
-
Constructor Detail
-
LogsVerifier
public LogsVerifier(Service service)
-
-
Method Detail
-
forQuarkus
public QuarkusLogsVerifier forQuarkus()
-
assertContains
public void assertContains(String... expectedLogs)
Asserts log contains any ofexpectedLogs.
-
assertDoesNotContain
public void assertDoesNotContain(String unexpectedLog)
-
-