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 classExpectedLogMethodTestRule.LogOutputMatcher<T extends List<com.liferay.portal.test.log.LogEntry>>protected class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidafterMethod(org.junit.runner.Description description, Void unused, Object target) protected VoidbeforeMethod(org.junit.runner.Description description, Object target) protected voidprotected List<com.liferay.portal.test.log.LogEntry> Deprecated.As of Cavanaugh (7.4.x), with no direct replacementprotected voidopenCaptureHandler(String name, String level) voidverify()Methods inherited from class com.liferay.portal.kernel.test.rule.MethodTestRule
afterClass, beforeClass, createClassStatementMethods 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
-