org.apache.maven.surefire.suite
Class RunResult
java.lang.Object
org.apache.maven.surefire.suite.RunResult
public class RunResult
- extends java.lang.Object
Represents a test-run-result; this may be from a single test run or an aggregated result.
- Author:
- Kristian Rosenvold
|
Constructor Summary |
RunResult(int completedCount,
int errors,
int failures,
int skipped)
|
RunResult(int completedCount,
int errors,
int failures,
int skipped,
boolean failure,
boolean timeout)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUCCESS
public static final int SUCCESS
- See Also:
- Constant Field Values
Timeout
public static final RunResult Timeout
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)
getCompletedCount
public int getCompletedCount()
getErrors
public int getErrors()
getFailures
public int getFailures()
getSkipped
public int getSkipped()
getForkedProcessCode
public int getForkedProcessCode()
isErrrorFree
public boolean isErrrorFree()
getAsString
public java.lang.String getAsString()
fromString
public static RunResult fromString(java.lang.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.