Constructor and Description |
---|
Test(TestCase testCase,
int testIndex,
String description,
String operation,
String geometryIndex,
List arguments,
Result expectedResult,
double tolerance)
Creates a Test with the given description.
|
Modifier and Type | Method and Description |
---|---|
boolean |
computePassed() |
Result |
getActualResult()
Computes the actual result and caches the result value.
|
String |
getArgument(int i) |
int |
getArgumentCount() |
String |
getDescription() |
Exception |
getException() |
Result |
getExpectedResult() |
String |
getGeometryIndex() |
String |
getOperation() |
TestCase |
getTestCase() |
int |
getTestIndex() |
boolean |
isPassed()
Returns whether the Test is passed.
|
boolean |
isRun() |
void |
removeArgument(int i) |
void |
run() |
void |
setArgument(int i,
String value) |
void |
setResult(Result result) |
String |
toXml() |
public Test(TestCase testCase, int testIndex, String description, String operation, String geometryIndex, List arguments, Result expectedResult, double tolerance)
public void setResult(Result result)
public void setArgument(int i, String value)
public String getDescription()
public String getGeometryIndex()
public Result getExpectedResult()
public String getOperation()
public int getTestIndex()
public String getArgument(int i)
public int getArgumentCount()
public boolean isPassed()
public Exception getException()
public TestCase getTestCase()
public void removeArgument(int i)
public boolean isRun()
public Result getActualResult() throws Exception
Exception
- if the operation failspublic String toXml()
Copyright © 2023. All rights reserved.