org.apache.maven.plugin.surefire.report
Class TestSetStats

java.lang.Object
  extended by org.apache.maven.plugin.surefire.report.TestSetStats

public class TestSetStats
extends Object

Maintains per-thread test result state. Not thread safe.


Constructor Summary
TestSetStats(boolean trimStackTrace, boolean plainFormat)
           
 
Method Summary
 int getCompletedCount()
           
 String getElapsedForTestSet()
           
 int getElapsedSinceLastStart()
           
 int getElapsedSinceTestSetStart()
           
 int getErrors()
           
 int getFailures()
           
 List<WrappedReportEntry> getReportEntries()
           
 int getSkipped()
           
 List<String> getTestResults()
           
 String getTestSetSummary(WrappedReportEntry reportEntry)
           
 void reset()
           
 void testError(WrappedReportEntry reportEntry)
           
 void testFailure(WrappedReportEntry reportEntry)
           
 void testSetStart()
           
 void testSkipped(WrappedReportEntry reportEntry)
           
 void testStart()
           
 void testSucceeded(WrappedReportEntry reportEntry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSetStats

public TestSetStats(boolean trimStackTrace,
                    boolean plainFormat)
Method Detail

getElapsedSinceTestSetStart

public int getElapsedSinceTestSetStart()

getElapsedSinceLastStart

public int getElapsedSinceLastStart()

testSetStart

public void testSetStart()

testStart

public void testStart()

testSucceeded

public void testSucceeded(WrappedReportEntry reportEntry)

testError

public void testError(WrappedReportEntry reportEntry)

testFailure

public void testFailure(WrappedReportEntry reportEntry)

testSkipped

public void testSkipped(WrappedReportEntry reportEntry)

reset

public void reset()

getCompletedCount

public int getCompletedCount()

getErrors

public int getErrors()

getFailures

public int getFailures()

getSkipped

public int getSkipped()

getElapsedForTestSet

public String getElapsedForTestSet()

getTestSetSummary

public String getTestSetSummary(WrappedReportEntry reportEntry)

getTestResults

public List<String> getTestResults()

getReportEntries

public List<WrappedReportEntry> getReportEntries()


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.