org.apache.maven.surefire.suite
Class RunResult

java.lang.Object
  extended by org.apache.maven.surefire.suite.RunResult

public class RunResult
extends Object

Represents a test-run-result; this may be from a single test run or an aggregated result.

Author:
Kristian Rosenvold

Field Summary
static int FAILURE
           
static int NO_TESTS
           
static RunResult Timeout
           
 
Constructor Summary
RunResult(int completedCount, int errors, int failures, int skipped)
           
RunResult(int completedCount, int errors, int failures, int skipped, boolean failure, boolean timeout)
           
 
Method Summary
 RunResult aggregate(RunResult other)
           
static RunResult fromString(String string)
           
 String getAsString()
           
 int getBooterCode()
           
 int getCompletedCount()
           
 int getErrors()
           
 int getFailures()
           
 int getForkedProcessCode()
           
 int getSkipped()
           
 boolean isErrrorFree()
           
 boolean isFailure()
           
 boolean isFailureOrTimeout()
           
 boolean isTimeout()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FAILURE

public static final int FAILURE
See Also:
Constant Field Values

NO_TESTS

public static final int NO_TESTS
See Also:
Constant Field Values

Timeout

public static final RunResult Timeout
Constructor Detail

RunResult

public RunResult(int completedCount,
                 int errors,
                 int failures,
                 int skipped)

RunResult

public RunResult(int completedCount,
                 int errors,
                 int failures,
                 int skipped,
                 boolean failure,
                 boolean timeout)
Method Detail

getCompletedCount

public int getCompletedCount()

getErrors

public int getErrors()

getFailures

public int getFailures()

getSkipped

public int getSkipped()

getBooterCode

public int getBooterCode()

getForkedProcessCode

public int getForkedProcessCode()

isErrrorFree

public boolean isErrrorFree()

getAsString

public String getAsString()

fromString

public static RunResult fromString(String string)

isFailureOrTimeout

public boolean isFailureOrTimeout()

isFailure

public boolean isFailure()

isTimeout

public boolean isTimeout()

aggregate

public RunResult aggregate(RunResult other)


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