public final class Result extends Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
isSuccessful
Tracks if testThatsRunning was successful.
|
private String |
log
This test's log.
|
private ArrayList<Returns> |
returnedResults
Structured list of results.
|
private Controller |
testThatsRunning
Controller performed.
|
| Modifier | Constructor and Description |
|---|---|
private |
Result(Controller testThatsRunningParam,
String resultLogParam,
ArrayList<Returns> returnResultParam,
boolean isSuccessfulParam)
Private constructor for factory usage.
|
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Returns> |
getReturned()
Reserved.
|
Boolean |
isSuccessful()
Returns true if testThatsRunning is successful.
|
protected static Result |
newTestResult(Controller testThatsRunningParam,
String resultLogParam,
Boolean isSuccessfulParam)
Factory instance creator.
|
String |
toString()
Returns information from the test.
|
private Controller testThatsRunning
private ArrayList<Returns> returnedResults
private String log
private boolean isSuccessful
private Result(Controller testThatsRunningParam, String resultLogParam, ArrayList<Returns> returnResultParam, boolean isSuccessfulParam)
testThatsRunningParam - testThatsRunning for which this resultedresultLogParam - log result for that testThatsRunningreturnResultParam - list to hold sequence of test statuses (reserved for future use)isSuccessfulParam - did the test pass yes or noprotected static Result newTestResult(Controller testThatsRunningParam, String resultLogParam, Boolean isSuccessfulParam)
testThatsRunningParam - contains testThatsRunning that created
this result.resultLogParam - contains the log generated by the testThatsRunning.isSuccessfulParam - did the test pass yes or noNullPointerException - if any passed parameter is nullpublic String toString()
public Boolean isSuccessful()
Copyright © 2018. All rights reserved.