Methods Summary |
---|
public void | destroyApp(boolean unconditional)
|
java.lang.String[] | doFilter(java.lang.String[] nameArray, java.lang.String filter)
Vector vec = new Vector();
for (int i = 0; i < nameArray.length; i++) {
if (filter == null || (nameArray[i].indexOf(filter) >= 0)) {
vec.addElement(nameArray[i]);
}
}
String[] ret = new String[vec.size()];
vec.copyInto(ret);
return ret;
|
void | listTestCases(java.lang.String[] nameArray)
for (int i = 0; i < nameArray.length; i++) {
System.out.println(nameArray[i]);
}
|
public void | pauseApp()
|
public void | run()
if (listmode) {
listTestCases(doFilter(Repository.testNames, filterString));
} else if (selftest) {
SelfTest.run();
} else if (testClass != null) {
runTestCases(new String[] { testClass });
} else {
runTestCases(doFilter(Repository.testNames, filterString));
}
notifyDestroyed();
|
void | runTestCases(java.lang.String[] nameArray)
for (int i = 0; i < nameArray.length; i++) {
TestCase.runTestCase(nameArray[i]);
}
TestCase.report();
|
public void | startApp()
if (error) {
notifyDestroyed();
} else if (!started) {
started = true;
new Thread(this).start();
}
|