|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjfun.jaskell.junit.TupleMemberTest
This class implements Test by evaluating a tuple member.
Because Ant expects a public getName() method in a public class in order to report the test case name correctly, this class has a getName() method and is made public, which is not necesssary otherwise.
Constructor Summary | |
TupleMemberTest(java.lang.Object key,
TupleMember mbr,
Tuple me,
java.lang.String suitename)
To create a TupleMemberTest instance. |
Method Summary | |
int |
countTestCases()
|
java.lang.String |
getName()
Get the name of the test case. |
void |
protect()
|
void |
run(junit.framework.TestResult result)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TupleMemberTest(java.lang.Object key, TupleMember mbr, Tuple me, java.lang.String suitename)
key
- the key of the member.mbr
- the tuple member.me
- the owning tuple.suitename
- the test suite name.Method Detail |
public int countTestCases()
countTestCases
in interface junit.framework.Test
public void run(junit.framework.TestResult result)
run
in interface junit.framework.Test
public void protect() throws java.lang.Throwable
protect
in interface junit.framework.Protectable
java.lang.Throwable
public java.lang.String toString()
public java.lang.String getName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |