1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML//EN">
4 <title>Import Test List
</title>
5 <script language=
"JavaScript">
6 function onRadioClick (name)
8 var radio = document.forms["foo"].elements[name];
9 radio.checked = !radio.checked;
16 document.forms["foo"].elements["testList"].value.split(/\r?\n/);
17 var suites = window.opener.suites;
18 var elems = window.opener.document.forms["testCases"].elements;
20 if (document.forms["foo"].elements["clear_all"].checked)
21 window.opener.selectNone();
25 if (lines[l].search(/^\s$|\s*\#/) == -
1)
27 var ary = lines[l].match (/(.*)\/(.*)\/(.*)/);
30 if (!confirm ("Line " + lines[l] + " is confusing, " +
31 "continue with import?"))
36 if (suites[ary[
1]] && suites[ary[
1]].testDirs[ary[
2]] &&
37 suites[ary[
1]].testDirs[ary[
2]].tests[ary[
3]])
38 elems[suites[ary[
1]].testDirs[ary[
2]].tests[ary[
3]]].
43 window.opener.updateTotals();
54 <textarea rows=
"25" cols=
"50" name=
"testList"></textarea><br>
55 <input type=
"radio" name=
"clear_all" checked
56 onclick=
"return onRadioClick('clear_all');">
57 Clear all selections berofe import.
<br>
58 <input type=
"button" value=
"Import" onclick=
"doImport();">
59 <input type=
"button" value=
"Cancel" onclick=
"window.close();">
63 <address><a href=
"mailto:rginda@netscape.com"></a></address>
64 <!-- Created: Wed Nov 17 13:52:23 PST 1999 -->
66 Last modified: Wed Nov
17 14:
18:
42 PST
1999