|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.utep.cs.jet.rat.TestCase
public class TestCase
A class to represent a test case. A test case consists of a receiver
and a sequence of arguments, and both the receiver and the arguments
are objects of type Denotable.
| Constructor Summary | |
|---|---|
TestCase(Denotable receiver,
Denotable[] args)
Creates a new test case consisting of the given receiver and arguments. |
|
| Method Summary | |
|---|---|
Denotable[] |
arguments()
Returns the arguments. |
boolean |
hasReceiver()
Return true if this test case needs a receiver. |
boolean |
isEquivalentTo(TestCase other)
Returns true if this is equivalent to the given test case. |
Denotable |
receiver()
Returns the receiver. |
String |
toString()
Returns a string representation of this test case. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestCase(Denotable receiver,
Denotable[] args)
| Method Detail |
|---|
public Denotable receiver()
public boolean hasReceiver()
public Denotable[] arguments()
public boolean isEquivalentTo(TestCase other)
public String toString()
toString in class Object
|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||