|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.jaskell.junit.TupleMemberTest
public final class 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.Testpublic void run(junit.framework.TestResult result)
run in interface junit.framework.Test
public void protect()
throws java.lang.Throwable
protect in interface junit.framework.Protectablejava.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||