public class JUnitJarRunner extends Object
| Constructor and Description |
|---|
JUnitJarRunner(String jarFileName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TestSuite |
buildTestSuite()
Build a TestSuite of all the tests contained in the jar file.
|
static void |
main(String[] argv) |
void |
run(TestSuite suite,
String how) |
void |
setClassPath(String classpath)
Set the classpath containing the code to be tested (if it is not already
on the system classpath).
|
public JUnitJarRunner(String jarFileName)
jarFileName - name of jar file to load tests frompublic void setClassPath(String classpath)
classpath - the classpathpublic TestSuite buildTestSuite()
throws Exception
Exceptionpublic void run(TestSuite suite,
String how)
Copyright © 2003–2015. All rights reserved.