Class JUnitProgressReporter

java.lang.Object
org.junit.runner.notification.RunListener
org.jenkinsci.test.acceptance.junit.JUnitProgressReporter

public class JUnitProgressReporter extends org.junit.runner.notification.RunListener
Reports failures immediately.
Author:
Ullrich Hafner
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.junit.runner.notification.RunListener

    org.junit.runner.notification.RunListener.ThreadSafe
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    testAssumptionFailure(org.junit.runner.notification.Failure failure)
     
    void
    testFailure(org.junit.runner.notification.Failure failure)
     
    void
    testFinished(org.junit.runner.Description description)
     
    void
    testStarted(org.junit.runner.Description description)
     

    Methods inherited from class org.junit.runner.notification.RunListener

    testIgnored, testRunFinished, testRunStarted, testSuiteFinished, testSuiteStarted

    Methods inherited from class java.lang.Object

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

    • JUnitProgressReporter

      public JUnitProgressReporter()
  • Method Details

    • testStarted

      public void testStarted(org.junit.runner.Description description) throws Exception
      Overrides:
      testStarted in class org.junit.runner.notification.RunListener
      Throws:
      Exception
    • testFinished

      public void testFinished(org.junit.runner.Description description) throws Exception
      Overrides:
      testFinished in class org.junit.runner.notification.RunListener
      Throws:
      Exception
    • testFailure

      public void testFailure(org.junit.runner.notification.Failure failure) throws Exception
      Overrides:
      testFailure in class org.junit.runner.notification.RunListener
      Throws:
      Exception
    • testAssumptionFailure

      public void testAssumptionFailure(org.junit.runner.notification.Failure failure)
      Overrides:
      testAssumptionFailure in class org.junit.runner.notification.RunListener