Package org.nuxeo.runtime.test.logging
Class DeprecationLoggerTest
- java.lang.Object
-
- org.nuxeo.runtime.test.logging.DeprecationLoggerTest
-
public class DeprecationLoggerTest extends Object
- Since:
- 11.1
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringDEPRECATED_VERSIONprotected LogCaptureFeature.ResultlogCaptureResultprotected static StringMESSAGEprotected static StringORIGINAL_TESTING_PROPERTY_VALUE
-
Constructor Summary
Constructors Constructor Description DeprecationLoggerTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidafterAll()static voidbeforeAll()protected voidlogDeprecatedMessageAndVerify(boolean messageShouldBeLogged)voidshouldLogMessageAsInfo()voidshouldLogMessageAsWarning()voidshouldNotLogMessageAsInfo()voidshouldNotLogMessageAsWarning()
-
-
-
Field Detail
-
MESSAGE
protected static final String MESSAGE
- See Also:
- Constant Field Values
-
DEPRECATED_VERSION
protected static final String DEPRECATED_VERSION
- See Also:
- Constant Field Values
-
ORIGINAL_TESTING_PROPERTY_VALUE
protected static String ORIGINAL_TESTING_PROPERTY_VALUE
-
logCaptureResult
@Inject protected LogCaptureFeature.Result logCaptureResult
-
-
Constructor Detail
-
DeprecationLoggerTest
public DeprecationLoggerTest()
-
-
Method Detail
-
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)
-
-