equal
deleted
inserted
replaced
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8141492 8071982 8141636 8147890 8166175 |
26 * @bug 8141492 8071982 8141636 8147890 8166175 8168965 |
27 * @summary Test the search feature of javadoc. |
27 * @summary Test the search feature of javadoc. |
28 * @author bpatel |
28 * @author bpatel |
29 * @library ../lib |
29 * @library ../lib |
30 * @modules jdk.javadoc/jdk.javadoc.internal.tool |
30 * @modules jdk.javadoc/jdk.javadoc.internal.tool |
31 * @build JavadocTester |
31 * @build JavadocTester |
484 |
484 |
485 void checkSearchJS() { |
485 void checkSearchJS() { |
486 checkOutput("search.js", true, |
486 checkOutput("search.js", true, |
487 "camelCaseRegexp = ($.ui.autocomplete.escapeRegex(request.term)).split(/(?=[A-Z])/).join(\"([a-z0-9_$]*?)\");", |
487 "camelCaseRegexp = ($.ui.autocomplete.escapeRegex(request.term)).split(/(?=[A-Z])/).join(\"([a-z0-9_$]*?)\");", |
488 "var camelCaseMatcher = new RegExp(\"^\" + camelCaseRegexp);", |
488 "var camelCaseMatcher = new RegExp(\"^\" + camelCaseRegexp);", |
489 "camelCaseMatcher.test(item.l)"); |
489 "camelCaseMatcher.test(item.l)", |
|
490 "var secondaryresult = new Array();", |
|
491 "function nestedName(e) {", |
|
492 "function sortAndConcatResults(a1, a2) {"); |
490 } |
493 } |
491 } |
494 } |