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 String
DEPRECATED_VERSION
protected LogCaptureFeature.Result
logCaptureResult
protected static String
MESSAGE
protected static String
ORIGINAL_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 void
afterAll()
static void
beforeAll()
protected void
logDeprecatedMessageAndVerify(boolean messageShouldBeLogged)
void
shouldLogMessageAsInfo()
void
shouldLogMessageAsWarning()
void
shouldNotLogMessageAsInfo()
void
shouldNotLogMessageAsWarning()
-
-
-
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
-
-
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)
-
-