|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.TestSuite
yu.ac.bg.etf.javaqx.nunit.ExecTestSuite
Test suite that executes each method who starts with "testExec" in a new separate JVM.
Constructor Summary | |
ExecTestSuite()
Constructs new ExecTestSuite object. |
|
ExecTestSuite(java.lang.Class c)
Constructs new ExecTestSuite object. |
|
ExecTestSuite(java.lang.Class c,
java.lang.String name)
Constructs new ExecTestSuite object. |
|
ExecTestSuite(java.lang.String name)
Constructs new ExecTestSuite object. |
Method Summary | |
void |
addTestSuite(java.lang.Class testClass)
|
protected java.io.File |
createErrorStreamFile()
Creates a temporary file for the error stream. |
protected java.io.File |
createFailureStreamFile()
Returns a temporary file for the failure stream. |
protected void |
execTest(junit.framework.TestCase test,
junit.framework.TestResult result)
Executes specified test in a separate JVM. |
static void |
main(java.lang.String[] args)
Test suite main method. |
void |
runTest(junit.framework.Test test,
junit.framework.TestResult result)
|
void |
stopTest()
Stops test running. |
Methods inherited from class junit.framework.TestSuite |
addTest, countTestCases, createTest, getName, getTestConstructor, run, setName, testAt, testCount, tests, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ExecTestSuite()
public ExecTestSuite(java.lang.String name)
name
- the test suite namepublic ExecTestSuite(java.lang.Class c)
c
- the test suite classpublic ExecTestSuite(java.lang.Class c, java.lang.String name)
c
- the test suite classname
- the test suite nameMethod Detail |
public void stopTest()
protected java.io.File createErrorStreamFile()
protected java.io.File createFailureStreamFile()
protected void execTest(junit.framework.TestCase test, junit.framework.TestResult result)
test
- the testresult
- the test resultpublic void addTestSuite(java.lang.Class testClass)
public void runTest(junit.framework.Test test, junit.framework.TestResult result)
public static void main(java.lang.String[] args)
NOTE: Do not call this method!
args
- main method arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |