public class RunResult extends Object
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) |
int |
getCompletedCount() |
int |
getErrors() |
Integer |
getFailsafeCode() |
String |
getFailure() |
int |
getFailures() |
int |
getFlakes() |
int |
getSkipped() |
int |
hashCode() |
boolean |
isErrorFree() |
boolean |
isFailure() |
boolean |
isFailureOrTimeout() |
boolean |
isInternalError() |
boolean |
isNoTestsRun() |
boolean |
isTimeout() |
static RunResult |
noTestsRun() |
static RunResult |
timeout(RunResult accumulatedAtTimeout) |
public static final int SUCCESS
public static final int FAILURE
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 isInternalError()
public boolean isFailureOrTimeout()
public boolean isFailure()
public String getFailure()
public boolean isTimeout()
public static RunResult noTestsRun()
public boolean isNoTestsRun()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.