|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aitools.programd.test.aiml.TestResult
public class TestResult
Represents a test result (a success or failure).
| Field Summary | |
|---|---|
protected String |
input
The input that produced this result. |
protected String |
response
The response that constitutes this result. |
protected String |
suite
The name of the suite that failed. |
protected String |
testCase
The name of the test case that failed. |
| Constructor Summary | |
|---|---|
protected |
TestResult()
A protected constructor, for use in persistence. |
|
TestResult(String in,
String out)
Creates an object that represents the test result, with no suite name or test case name attached. |
|
TestResult(String suiteName,
String testCaseName,
String in,
String out)
Creates an object that represents the test result. |
| Method Summary | |
|---|---|
String |
getInput()
|
String |
getResponse()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String suite
protected String testCase
protected String input
protected String response
| Constructor Detail |
|---|
public TestResult(String suiteName,
String testCaseName,
String in,
String out)
suiteName - the name of the suitetestCaseName - the name of the test casein - the inputout - the response
public TestResult(String in,
String out)
in - the inputout - the responseprotected TestResult()
| Method Detail |
|---|
public String getInput()
public String getResponse()
public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||