public class RunResult extends Object
Modifier and Type | Field and Description |
---|---|
static RunResult |
Failure |
static int |
SUCCESS |
static RunResult |
Timeout |
Constructor and Description |
---|
RunResult(int completedCount,
int errors,
int failures,
int skipped) |
RunResult(int completedCount,
int errors,
int failures,
int skipped,
boolean failure,
boolean timeout) |
Modifier and Type | Method and Description |
---|---|
RunResult |
aggregate(RunResult other) |
static RunResult |
fromString(String string) |
String |
getAsString() |
int |
getCompletedCount() |
int |
getErrors() |
int |
getFailures() |
int |
getForkedProcessCode() |
int |
getSkipped() |
boolean |
isErrorFree() |
boolean |
isFailure() |
boolean |
isFailureOrTimeout() |
boolean |
isTimeout() |
static RunResult |
noTestsRun() |
public static final int SUCCESS
public static final RunResult Timeout
public static final RunResult Failure
public RunResult(int completedCount, int errors, int failures, int skipped)
public RunResult(int completedCount, int errors, int failures, int skipped, boolean failure, boolean timeout)
public int getCompletedCount()
public int getErrors()
public int getFailures()
public int getSkipped()
public int getForkedProcessCode()
public boolean isErrorFree()
public String getAsString()
public boolean isFailureOrTimeout()
public boolean isFailure()
public boolean isTimeout()
public static RunResult noTestsRun()
Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.