jfun.jaskell.junit
Class JaskellTest
java.lang.Object
jfun.jaskell.junit.JaskellTest
- All Implemented Interfaces:
- junit.framework.Test
- public class JaskellTest
- extends java.lang.Object
- implements junit.framework.Test
This class adapts a jaskell tuple to a JUnit test.
- Author:
- Ben Yu
Feb 21, 2006 6:12:18 PM
Constructor Summary |
JaskellTest(Tuple testcase,
java.lang.String default_testcase_name)
To create a JaskellTest object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JaskellTest
public JaskellTest(Tuple testcase,
java.lang.String default_testcase_name)
- To create a JaskellTest object.
- Parameters:
testcase
- the tuple that contains all the "test" methods.default_testcase_name
- the default name of this test case,
if the "name" member is not defined.
countTestCases
public int countTestCases()
- Specified by:
countTestCases
in interface junit.framework.Test
run
public void run(junit.framework.TestResult result)
- Specified by:
run
in interface junit.framework.Test
toString
public java.lang.String toString()
getName
public java.lang.String getName()