public class FVTResults extends Object
| Constructor and Description |
|---|
FVTResults(String testCaseName)
Set up the results for a specific test case
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCapturedError(Exception exception)
Save an unexpected exception that occurred during the tests.
|
FVTAuditLogDestination |
getAuditLogDestination()
Return the audit log for the client.
|
List<Exception> |
getCapturedErrors()
Return the list of captured exceptions (should be empty).
|
int |
getNumberOfSuccesses()
Retrieve the number of successful tests (should match the number of tests).
|
int |
getNumberOfTests()
Retrieve the number of test run.
|
void |
incrementNumberOfSuccesses()
Increment the number of successful tests.
|
void |
incrementNumberOfTests()
Increment the test count.
|
boolean |
isSuccessful()
Return whether the results are successful or not
|
void |
printResults()
Print out results
|
public FVTResults(String testCaseName)
testCaseName - unique name for testpublic void incrementNumberOfTests()
public void incrementNumberOfSuccesses()
public void addCapturedError(Exception exception)
exception - unexpected exceptionpublic int getNumberOfTests()
public int getNumberOfSuccesses()
public List<Exception> getCapturedErrors()
public FVTAuditLogDestination getAuditLogDestination()
public boolean isSuccessful()
public void printResults()
Copyright © 2018–2020 ODPi. All rights reserved.