setStatus((smh.getLocalString
("com.sun.enterprise.tools.verifier.gui.MainPanel" + // NOI18N
".Status_Verifying", // NOI18N
"Verifying archive {0}...", // NOI18N
new Object[]{jarName})));
ResultManager resultManager = getVerifier().verify(jarName);
Iterator itr = resultManager.getError().iterator();
while (itr.hasNext()) {
LogRecord log = (LogRecord) itr.next();
log.setLoggerName(jarFile.getName());
resultsPanel.addError(log);
}
setStatus((smh.getLocalString
("com.sun.enterprise.tools.verifier.gui.MainPanel" + // NOI18N
".Status_WritingReport", // NOI18N
"Writing report..."))); // NOI18N
verifier.generateReports();
if (resultManager.getFailedCount() +
resultManager.getErrorCount() ==
0) { // this code might not be called
resultsPanel.addDetailText((smh.getLocalString
("com.sun.enterprise.tools.verifier.gui.MainPanel" + // NOI18N
".AllTestsPassed", // NOI18N
"{0}: All tests passed.", // NOI18N