|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.jaskell.junit.AssertionSupport
jfun.jaskell.junit.JUnit
public class JUnit
This class adds assertion functions to a Jaskell runtime and also creates JUnit test suite from a jaskell junit script.
| Constructor Summary | |
|---|---|
JUnit(Jaskell runtime)
To create a JUnit object. |
|
| Method Summary | |
|---|---|
junit.framework.TestSuite |
getScriptTestSuite(java.io.File script_file)
To create a JUnit TestSuite from a file that contains the test script. |
junit.framework.TestSuite |
getScriptTestSuite(java.lang.String script_name)
To create a JUnit Test from a resource that contains the test script. |
| Methods inherited from class jfun.jaskell.junit.AssertionSupport |
|---|
getRuntime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JUnit(Jaskell runtime)
runtime - the baseline runtime to add assertion support onto.| Method Detail |
|---|
public junit.framework.TestSuite getScriptTestSuite(java.io.File script_file)
throws java.io.IOException
script_file - the script file.
java.io.IOException - if file loading fails.
public junit.framework.TestSuite getScriptTestSuite(java.lang.String script_name)
throws java.io.IOException
script_name - the script file.
java.io.IOException - if resource loading fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||