|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.utep.cs.et.gui.tester.EtTestCase
class EtTestCase
A wrapper to the TestCase class to add
test-related data such as the method under test and the test
result.
| Field Summary | |
|---|---|
private String |
failureMessage
Failure message associated with the wrapped test case. |
private boolean |
isPositive
True if the wrapped test case is a positive test case. |
private EtMethod |
meth
The method to which the wrapped test case belongs. |
private TestCase |
testcase
The wrapped test case. |
| Constructor Summary | |
|---|---|
EtTestCase(EtMethod meth,
TestCase testcase)
Creates a new wrapper for the given test case of the given method. |
|
EtTestCase(EtMethod meth,
TestCase testcase,
boolean isPositive)
Creates a new wrapper for the given test case of the given method. |
|
EtTestCase(EtMethod meth,
TestCase testcase,
String msg)
Creates a new wrapper for the given negative test case of the given method with the given failure message. |
|
| Method Summary | |
|---|---|
String |
description()
Returns a textual description of this test case. |
String |
failureMessage()
Returns the failure message associated with this test case. |
boolean |
isPositive()
Returns true if this is a positive test case. |
EtMethod |
method()
Returns the method that was tested. |
String |
name()
Returns the name of this test case. |
TestCase |
testcase()
Returns the wrapped test case. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private EtMethod meth
private TestCase testcase
private boolean isPositive
private String failureMessage
| Constructor Detail |
|---|
public EtTestCase(EtMethod meth,
TestCase testcase)
public EtTestCase(EtMethod meth,
TestCase testcase,
boolean isPositive)
public EtTestCase(EtMethod meth,
TestCase testcase,
String msg)
| Method Detail |
|---|
public boolean isPositive()
public String name()
public EtMethod method()
public TestCase testcase()
public String description()
public String failureMessage()
null is returned.
|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||