for (java.util.Iterator i = classNames.iterator(); i.hasNext();) {
args[index++] = (String)i.next();
}
if (debug)
logger.debug ("Run AnnotationTest with args " + Arrays.asList(args));
int errors = test.run(args);
if (errors > 0) {
fail(ASSERTION_FAILED,
"AnnotationTest with args " + Arrays.asList(args) +
" results in " + errors + " errors.");
}