Package com.itextpdf.test
Class LogListener
java.lang.Object
org.junit.rules.TestWatcher
com.itextpdf.test.LogListener
- All Implemented Interfaces:
-
org.junit.jupiter.api.extension.AfterEachCallback,org.junit.jupiter.api.extension.BeforeEachCallback,org.junit.jupiter.api.extension.Extension,org.junit.rules.TestRule
public class LogListener extends org.junit.rules.TestWatcher implements org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.AfterEachCallback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext) voidbeforeEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext) protected voidfinished(org.junit.runner.Description description) intgetSize()protected voidstarting(org.junit.runner.Description description) Methods inherited from class org.junit.rules.TestWatcher
apply, failed, skipped, skipped, succeeded
-
Constructor Details
-
LogListener
public LogListener()
-
-
Method Details
-
beforeEach
public void beforeEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext) throws Exception - Specified by:
-
beforeEachin interfaceorg.junit.jupiter.api.extension.BeforeEachCallback - Throws:
-
Exception
-
afterEach
public void afterEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext) throws Exception - Specified by:
-
afterEachin interfaceorg.junit.jupiter.api.extension.AfterEachCallback - Throws:
-
Exception
-
starting
protected void starting(org.junit.runner.Description description) - Overrides:
-
startingin classorg.junit.rules.TestWatcher
-
finished
protected void finished(org.junit.runner.Description description) - Overrides:
-
finishedin classorg.junit.rules.TestWatcher
-
getSize
public int getSize()
-