public class RunResult extends Object
Modifier and Type | Field and Description |
---|---|
static int |
SUCCESS |
Constructor and Description |
---|
RunResult(int completedCount,
int errors,
int failures,
int skipped) |
RunResult(int completedCount,
int errors,
int failures,
int skipped,
int flakes) |
RunResult(int completedCount,
int errors,
int failures,
int skipped,
int flakes,
String failure,
boolean timeout) |
RunResult(int completedCount,
int errors,
int failures,
int skipped,
String failure,
boolean timeout) |
Modifier and Type | Method and Description |
---|---|
RunResult |
aggregate(RunResult other) |
boolean |
equals(Object o) |
static RunResult |
failure(RunResult accumulatedAtTimeout,
Exception cause) |
static RunResult |
fromInputStream(InputStream inputStream,
String encoding) |
int |
getCompletedCount() |
int |
getErrors() |
Integer |
getFailsafeCode() |
String |
getFailure() |
int |
getFailures() |
int |
getFlakes() |
int |
getSkipped() |
int |
hashCode() |
boolean |
isErrorFree() |
boolean |
isFailure() |
boolean |
isFailureOrTimeout() |
boolean |
isTimeout() |
static RunResult |
noTestsRun() |
static RunResult |
timeout(RunResult accumulatedAtTimeout) |
void |
writeSummary(File summaryFile,
boolean inProgress,
String encoding) |
public static final int SUCCESS
public RunResult(int completedCount, int errors, int failures, int skipped)
public RunResult(int completedCount, int errors, int failures, int skipped, int flakes)
public RunResult(int completedCount, int errors, int failures, int skipped, String failure, boolean timeout)
public RunResult(int completedCount, int errors, int failures, int skipped, int flakes, String failure, boolean timeout)
public int getCompletedCount()
public int getErrors()
public int getFlakes()
public int getFailures()
public int getSkipped()
public Integer getFailsafeCode()
public boolean isErrorFree()
public boolean isFailureOrTimeout()
public boolean isFailure()
public String getFailure()
public boolean isTimeout()
public static RunResult noTestsRun()
public static RunResult fromInputStream(InputStream inputStream, String encoding) throws FileNotFoundException
FileNotFoundException
public void writeSummary(File summaryFile, boolean inProgress, String encoding) throws IOException
IOException
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.