|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectyu.ac.bg.etf.javaqx.nunit.TestPackage
Package Test Helper.
Constructor Summary | |
protected |
TestPackage()
Constructs new TestPackage object. |
Method Summary | |
static junit.framework.TestSuite |
createTestSuite(java.lang.Class c)
Creates test suite for the specified package test class. |
static junit.framework.TestSuite |
createTestSuite(java.lang.String name)
Creates test suite. |
static java.lang.String |
getPackageName(java.lang.Class c)
Returns package name for the specified class. |
static void |
startTextTestRunner(java.lang.Class c,
java.lang.String[] args)
Starts text test runner. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected TestPackage()
Method Detail |
public static java.lang.String getPackageName(java.lang.Class c)
c
- the class
java.lang.IllegalArgumentException
- if the class is nullpublic static junit.framework.TestSuite createTestSuite(java.lang.String name)
name
- the test suite name
public static junit.framework.TestSuite createTestSuite(java.lang.Class c)
c
- the class
java.lang.IllegalArgumentException
- if the class is nullpublic static void startTextTestRunner(java.lang.Class c, java.lang.String[] args)
c
- the test classargs
- the main method arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |