Package org.nuxeo.runtime.test.logging
Class DeprecationLoggerTest
java.lang.Object
org.nuxeo.runtime.test.logging.DeprecationLoggerTest
- Since:
- 11.1
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected LogCaptureFeature.Result
protected static final String
protected static String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
afterAll()
static void
protected void
logDeprecatedMessageAndVerify
(boolean messageShouldBeLogged) void
void
void
void
-
Field Details
-
MESSAGE
- See Also:
-
DEPRECATED_VERSION
- See Also:
-
ORIGINAL_TESTING_PROPERTY_VALUE
-
logCaptureResult
-
-
Constructor Details
-
DeprecationLoggerTest
public DeprecationLoggerTest()
-
-
Method Details
-
beforeAll
public static void beforeAll() -
afterAll
public static void afterAll() -
shouldLogMessageAsWarning
public void shouldLogMessageAsWarning() -
shouldNotLogMessageAsWarning
public void shouldNotLogMessageAsWarning() -
shouldLogMessageAsInfo
public void shouldLogMessageAsInfo() -
shouldNotLogMessageAsInfo
public void shouldNotLogMessageAsInfo() -
logDeprecatedMessageAndVerify
protected void logDeprecatedMessageAndVerify(boolean messageShouldBeLogged)
-