org.apache.maven.surefire.report
Class TestSetStatistics

java.lang.Object
  extended by org.apache.maven.surefire.report.TestSetStatistics
Direct Known Subclasses:
RunStatistics

public class TestSetStatistics
extends Object

Run-statistics for a testset

Author:
Kristian Rosenvold Note; synchronization is questionable. Whiled this class alone is ok, there's a higher level concern about synchronization interactions within ReporterManager. See ReporterManager class.

Constructor Summary
TestSetStatistics()
           
 
Method Summary
 void add(TestSetStatistics testSetStatistics)
           
 int getCompletedCount()
           
 RunResult getRunResult()
           
 int getSkipped()
           
 String getSummary()
           
 boolean hadErrors()
           
 boolean hadFailures()
           
 void incrementCompletedCount()
           
 void incrementErrorsCount()
           
 void incrementFailureCount()
           
 void incrementSkippedCount()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSetStatistics

public TestSetStatistics()
Method Detail

incrementCompletedCount

public void incrementCompletedCount()

incrementErrorsCount

public void incrementErrorsCount()

incrementFailureCount

public void incrementFailureCount()

incrementSkippedCount

public void incrementSkippedCount()

hadFailures

public boolean hadFailures()

reset

public void reset()

hadErrors

public boolean hadErrors()

getCompletedCount

public int getCompletedCount()

getSkipped

public int getSkipped()

add

public void add(TestSetStatistics testSetStatistics)

getRunResult

public RunResult getRunResult()

getSummary

public String getSummary()


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