|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.tags.junit.JellyTestSuite
An abstract base class for creating a TestSuite via a Jelly script.
Constructor Summary | |
JellyTestSuite()
|
Method Summary | |
static junit.framework.TestSuite |
createTestSuite(java.lang.Class testClass,
java.lang.String script)
Helper method to create a test suite from a file name on the class path in the package of the given class. |
static junit.framework.TestSuite |
createTestSuite(java.net.URL script)
Helper method to create a test suite from the given Jelly script |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JellyTestSuite()
Method Detail |
public static junit.framework.TestSuite createTestSuite(java.lang.Class testClass, java.lang.String script) throws java.lang.Exception
createTestSuite( Foo.class, "suite.jelly" );
which would loaad the 'suite.jelly script from the same package as the Foo
class on the classpath.
testClass
- is the test class used to load the script via the classpathscript
- is the name of the script, which is typically just a name, no directory.
java.lang.Exception
public static junit.framework.TestSuite createTestSuite(java.net.URL script) throws java.lang.Exception
script
- is the URL to the script which should create a TestSuite
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |