Package jetbrains.buildServer
Class TestLogger.AssertOnce
- java.lang.Object
-
- jetbrains.buildServer.TestLogger.AssertOnce
-
- All Implemented Interfaces:
TestLogger.LogChecker
- Enclosing class:
- TestLogger
public static class TestLogger.AssertOnce extends Object implements TestLogger.LogChecker
-
-
Constructor Summary
Constructors Constructor Description AssertOnce(String expectedMessage)
AssertOnce(String expectedMessage, org.apache.logging.log4j.Level expectedLevel)
AssertOnce(String expectedMessage, org.apache.logging.log4j.Level expectedLevel, String errorMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Exception
isSatisfied()
boolean
shouldIgnore(org.apache.logging.log4j.core.LogEvent event)
-
-
-
Method Detail
-
shouldIgnore
public boolean shouldIgnore(@NotNull org.apache.logging.log4j.core.LogEvent event)
- Specified by:
shouldIgnore
in interfaceTestLogger.LogChecker
- Parameters:
event
- log event added to the logger- Returns:
- true if this message should be ignored by other checkers
-
isSatisfied
@Nullable public Exception isSatisfied()
- Specified by:
isSatisfied
in interfaceTestLogger.LogChecker
-
-