setStatus((smh.getLocalString
("com.sun.enterprise.tools.verifier.gui.MainPanel" + // NOI18N
".Status_Verifying", // NOI18N
"Verifying archive {0}...", // NOI18N
new Object[]{jarName})));
VerifierFrameworkContext vfc = new VerifierFrameworkContext();
vfc.setJarFileName(jarFile.getAbsolutePath());
getVerifier().init(vfc);
getVerifier().verify();
Iterator itr = vfc.getResultManager().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 (vfc.getResultManager().getFailedCount() +
vfc.getResultManager().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