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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
     
    protected void
    starting(org.junit.runner.Description description)
     

    Methods inherited from class org.junit.rules.TestWatcher

    apply, failed, skipped, skipped, succeeded

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LogListener

      public LogListener()
  • Method Details

    • beforeEach

      public void beforeEach (org.junit.jupiter.api.extension.ExtensionContext extensionContext) throws Exception
      Specified by:
      beforeEach in interface org.junit.jupiter.api.extension.BeforeEachCallback
      Throws:
      Exception
    • afterEach

      public void afterEach (org.junit.jupiter.api.extension.ExtensionContext extensionContext) throws Exception
      Specified by:
      afterEach in interface org.junit.jupiter.api.extension.AfterEachCallback
      Throws:
      Exception
    • starting

      protected void starting (org.junit.runner.Description description)
      Overrides:
      starting in class org.junit.rules.TestWatcher
    • finished

      protected void finished (org.junit.runner.Description description)
      Overrides:
      finished in class org.junit.rules.TestWatcher
    • getSize

      public int getSize()