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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterEach
(org.junit.jupiter.api.extension.ExtensionContext extensionContext) void
beforeEach
(org.junit.jupiter.api.extension.ExtensionContext extensionContext) protected void
finished
(org.junit.runner.Description description) int
getSize()
protected void
starting
(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:
-
beforeEach
in interfaceorg.junit.jupiter.api.extension.BeforeEachCallback
- Throws:
-
Exception
-
afterEach
public void afterEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext) throws Exception - Specified by:
-
afterEach
in interfaceorg.junit.jupiter.api.extension.AfterEachCallback
- Throws:
-
Exception
-
starting
protected void starting(org.junit.runner.Description description) - Overrides:
-
starting
in classorg.junit.rules.TestWatcher
-
finished
protected void finished(org.junit.runner.Description description) - Overrides:
-
finished
in classorg.junit.rules.TestWatcher
-
getSize
public int getSize()
-