Class ExpectedLogMethodTestRule
- All Implemented Interfaces:
org.junit.rules.TestRule
public class ExpectedLogMethodTestRule
extends com.liferay.portal.kernel.test.rule.MethodTestRule<Void>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
ExpectedLogMethodTestRule.LogOutputMatcher<T extends List<com.liferay.portal.test.log.LogEntry>>
protected class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
afterMethod
(org.junit.runner.Description description, Void unused, Object target) protected Void
beforeMethod
(org.junit.runner.Description description, Object target) protected void
protected List<com.liferay.portal.test.log.LogEntry>
Deprecated.As of Cavanaugh (7.4.x), with no direct replacementprotected void
openCaptureHandler
(String name, Level level) void
verify()
Methods inherited from class com.liferay.portal.kernel.test.rule.MethodTestRule
afterClass, beforeClass, createClassStatement
Methods inherited from class com.liferay.portal.kernel.test.rule.AbstractTestRule
apply, createMethodStatement
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ExpectedLogMethodTestRule
public ExpectedLogMethodTestRule()
-
-
Method Details
-
verify
public void verify() -
afterMethod
-
beforeMethod
-
closeCaptureHandler
protected void closeCaptureHandler() -
getlogEntries
-
getLogRecords
Deprecated.As of Cavanaugh (7.4.x), with no direct replacement -
openCaptureHandler
-