public final class TupleMemberTest
extends java.lang.Object
implements junit.framework.Test, junit.framework.Protectable
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 and Description |
---|
TupleMemberTest(java.lang.Object key,
TupleMember mbr,
Tuple me,
java.lang.String suitename)
To create a TupleMemberTest instance.
|
Modifier and Type | Method and Description |
---|---|
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() |
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.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()
toString
in class java.lang.Object
public java.lang.String getName()