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 java.lang.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.

Field Summary
protected  int completedCount
           
protected  int errors
           
protected  int failures
           
protected  int skipped
           
 
Constructor Summary
TestSetStatistics()
           
 
Method Summary
 int getCompletedCount()
           
 RunResult getRunResult()
           
 int getSkipped()
           
 java.lang.String getSummary()
           
 boolean hadErrors()
           
 boolean hadFailures()
           
 void incrementCompletedCount()
           
 void incrementErrorsCount()
           
 void incrementFailureCount()
           
 void incrementSkippedCount()
           
 void initResultsFromProperties(java.util.Properties results)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

completedCount

protected int completedCount

errors

protected int errors

failures

protected int failures

skipped

protected int skipped
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(java.util.Properties results)

getRunResult

public RunResult getRunResult()

getSummary

public java.lang.String getSummary()


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