Class TestSetRunListener

  • All Implemented Interfaces:
    org.apache.maven.plugin.surefire.log.api.ConsoleLogger, org.apache.maven.surefire.report.ConsoleOutputReceiver, org.apache.maven.surefire.report.RunListener

    public class TestSetRunListener
    extends java.lang.Object
    implements org.apache.maven.surefire.report.RunListener, org.apache.maven.surefire.report.ConsoleOutputReceiver, org.apache.maven.plugin.surefire.log.api.ConsoleLogger
    Reports data for a single test set.
    Author:
    Kristian Rosenvold
    • Method Detail

      • isDebugEnabled

        public boolean isDebugEnabled()
        Specified by:
        isDebugEnabled in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
      • debug

        public void debug​(java.lang.String message)
        Specified by:
        debug in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
      • isInfoEnabled

        public boolean isInfoEnabled()
        Specified by:
        isInfoEnabled in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
      • info

        public void info​(java.lang.String message)
        Specified by:
        info in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
      • isWarnEnabled

        public boolean isWarnEnabled()
        Specified by:
        isWarnEnabled in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
      • warning

        public void warning​(java.lang.String message)
        Specified by:
        warning in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
      • isErrorEnabled

        public boolean isErrorEnabled()
        Specified by:
        isErrorEnabled in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
      • error

        public void error​(java.lang.String message)
        Specified by:
        error in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
      • error

        public void error​(java.lang.String message,
                          java.lang.Throwable t)
        Specified by:
        error in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
      • error

        public void error​(java.lang.Throwable t)
        Specified by:
        error in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
      • writeTestOutput

        public void writeTestOutput​(byte[] buf,
                                    int off,
                                    int len,
                                    boolean stdout)
        Specified by:
        writeTestOutput in interface org.apache.maven.surefire.report.ConsoleOutputReceiver
      • testSetStarting

        public void testSetStarting​(org.apache.maven.surefire.report.TestSetReportEntry report)
        Specified by:
        testSetStarting in interface org.apache.maven.surefire.report.RunListener
      • testSetCompleted

        public void testSetCompleted​(org.apache.maven.surefire.report.TestSetReportEntry report)
        Specified by:
        testSetCompleted in interface org.apache.maven.surefire.report.RunListener
      • testStarting

        public void testStarting​(org.apache.maven.surefire.report.ReportEntry report)
        Specified by:
        testStarting in interface org.apache.maven.surefire.report.RunListener
      • testSucceeded

        public void testSucceeded​(org.apache.maven.surefire.report.ReportEntry reportEntry)
        Specified by:
        testSucceeded in interface org.apache.maven.surefire.report.RunListener
      • testError

        public void testError​(org.apache.maven.surefire.report.ReportEntry reportEntry)
        Specified by:
        testError in interface org.apache.maven.surefire.report.RunListener
      • testFailed

        public void testFailed​(org.apache.maven.surefire.report.ReportEntry reportEntry)
        Specified by:
        testFailed in interface org.apache.maven.surefire.report.RunListener
      • testSkipped

        public void testSkipped​(org.apache.maven.surefire.report.ReportEntry reportEntry)
        Specified by:
        testSkipped in interface org.apache.maven.surefire.report.RunListener
      • testExecutionSkippedByUser

        public void testExecutionSkippedByUser()
        Specified by:
        testExecutionSkippedByUser in interface org.apache.maven.surefire.report.RunListener
      • testAssumptionFailure

        public void testAssumptionFailure​(org.apache.maven.surefire.report.ReportEntry report)
        Specified by:
        testAssumptionFailure in interface org.apache.maven.surefire.report.RunListener
      • close

        public void close()
      • getTestMethodStats

        public java.util.Queue<TestMethodStats> getTestMethodStats()