org.apache.maven.surefire.suite
Class RunResult
java.lang.Object
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
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 |
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
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()
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.