runSkey++;
html += " if (selectedCode == 'Run" + runSkey + "') {" + StringUtil.newLine;
List testables = (List) runMap.get(runDescription);
int caseSkey = 0;
for (Iterator m = testables.iterator(); m.hasNext(); ) {
Testable testable = (Testable) m.next();
caseSkey++;
html += " document.main_form.test_combo.length = " + caseSkey + ";" + StringUtil.newLine;
html += " document.main_form.test_combo.options[" + (caseSkey - 1) + "].text = \"" + StringUtil.escapeHTML(testName(testable, caseSkey)) + "\";" + StringUtil.newLine;
html += " document.main_form.test_combo.options[" + (caseSkey - 1) + "].value = 'Run" + runSkey + "Case" + caseSkey + ".html';" + StringUtil.newLine;
}
html += " LoadDetailFrame();";
html += " }";
}
html += " }" + StringUtil.newLine
+ "</script>" + StringUtil.newLine
+ "</HEAD>" + StringUtil.newLine
+ "<BODY>" + StringUtil.newLine
+ "<h1>JTS Validation Suite</h1>" + StringUtil.newLine
+ htmlTitle(precisionModel)
+ "<p>" + StringUtil.newLine
+ "<FORM id=\"main_form\" name=\"main_form\">" + StringUtil.newLine;
html += "<select id=run_combo name=run_combo size='1' style='width:30%' onChange='onRunChange()'>" + StringUtil.newLine;
runSkey = 0;
for (Iterator j = runs.iterator(); j.hasNext(); ) {
String runDescription = (String) j.next();
runSkey++;
html += "<OPTION VALUE='Run" + runSkey + "'>"
+ StringUtil.escapeHTML(runName(runDescription, runSkey))
+ "</OPTION>" + StringUtil.newLine;
}
html += "</select>" + StringUtil.newLine;
html += "<select id=test_combo name=test_combo size='1' style='width:60%' onChange='LoadDetailFrame()'>" + StringUtil.newLine;
String runDescription = (String) runs.iterator().next();
List testables = (List) runMap.get(runDescription);
int caseSkey = 0;
for (Iterator m = testables.iterator(); m.hasNext(); ) {
Testable testable = (Testable) m.next();
caseSkey++;
html += "<OPTION VALUE='Run1Case" + caseSkey + ".html'>"
+ StringUtil.escapeHTML(testName(testable, caseSkey))
+ "</OPTION>" + StringUtil.newLine;
}