43 }; |
43 }; |
44 |
44 |
45 //Input for string search tests. |
45 //Input for string search tests. |
46 private static final String[][] TEST = { |
46 private static final String[][] TEST = { |
47 {BUG_ID + FS + "pkg" + FS + "C.html", |
47 {BUG_ID + FS + "pkg" + FS + "C.html", |
48 "<A HREF=\"../index.html?pkg/C.html\" target=\"_top\"><B>FRAMES</B></A>"}, |
48 "<A HREF=\"../index.html?pkg/C.html\" target=\"_top\"><STRONG>FRAMES</STRONG></A>"}, |
49 {BUG_ID + FS + "TestJavascript.html", |
49 {BUG_ID + FS + "TestJavascript.html", |
50 "<A HREF=\"index.html?TestJavascript.html\" target=\"_top\"><B>FRAMES</B></A>"}, |
50 "<A HREF=\"index.html?TestJavascript.html\" target=\"_top\"><STRONG>FRAMES</STRONG></A>"}, |
51 {BUG_ID + FS + "index.html", |
51 {BUG_ID + FS + "index.html", |
52 "<SCRIPT type=\"text/javascript\">" + NL + |
52 "<SCRIPT type=\"text/javascript\">" + NL + |
53 " targetPage = \"\" + window.location.search;" + NL + |
53 " targetPage = \"\" + window.location.search;" + NL + |
54 " if (targetPage != \"\" && targetPage != \"undefined\")" + NL + |
54 " if (targetPage != \"\" && targetPage != \"undefined\")" + NL + |
55 " targetPage = targetPage.substring(1);" + NL + |
55 " targetPage = targetPage.substring(1);" + NL + |