Redefined method from base class that executes test cases.
The only difference is that the list of test cases to execute is taken
from a different source.
// Add NAMS test cases here manually ...
testNames = new String[1];
testNames[0] = "com.sun.midp.main.TestNamsStartMidlet";
if (listmode) {
for (int i = 0; i < testNames.length; i++) {
System.out.println(testNames[i]);
}
} else if (selftest) {
SelfTest.run();
} else if (testClass != null) {
TestCase.runTestCase(testClass);
TestCase.report();
} else {
runTestCases(testNames);
TestCase.report();
}
notifyDestroyed();