public abstract class JellyTestSuite extends Object
| Constructor and Description |
|---|
JellyTestSuite() |
| Modifier and Type | Method and Description |
|---|---|
static junit.framework.TestSuite |
createTestSuite(Class testClass,
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(URL script)
Helper method to create a test suite from the given Jelly script
|
public static junit.framework.TestSuite createTestSuite(Class testClass, String script) throws 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.ExceptionCopyright © 2014. All rights reserved.