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
 int getCompletedCount()
           
 RunResult getRunResult()
           
 int getSkipped()
           
 String getSummary()
           
 boolean hadErrors()
           
 boolean hadFailures()
           
 void incrementCompletedCount()
           
 void incrementErrorsCount()
           
 void incrementFailureCount()
           
 void incrementSkippedCount()
           
 void initResultsFromProperties(Properties results)
           
 
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()

hadErrors

public boolean hadErrors()

getCompletedCount

public int getCompletedCount()

getSkipped

public int getSkipped()

initResultsFromProperties

public void initResultsFromProperties(Properties results)

getRunResult

public RunResult getRunResult()

getSummary

public String getSummary()


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