test/langtools/jdk/javadoc/doclet/testSearch/TestSearch.java
changeset 59294 48b88b9c11eb
parent 54895 4f1f939d8f5d
equal deleted inserted replaced
59293:5af9fa90cd7b 59294:48b88b9c11eb
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8141492 8071982 8141636 8147890 8166175 8168965 8176794 8175218 8147881
    26  * @bug 8141492 8071982 8141636 8147890 8166175 8168965 8176794 8175218 8147881
    27  *      8181622 8182263 8074407 8187521 8198522 8182765 8199278 8196201 8196202
    27  *      8181622 8182263 8074407 8187521 8198522 8182765 8199278 8196201 8196202
    28  *      8184205 8214468 8222548
    28  *      8184205 8214468 8222548 8223378
    29  * @summary Test the search feature of javadoc.
    29  * @summary Test the search feature of javadoc.
    30  * @author bpatel
    30  * @author bpatel
    31  * @library ../../lib
    31  * @library ../../lib
    32  * @modules jdk.javadoc/jdk.javadoc.internal.tool
    32  * @modules jdk.javadoc/jdk.javadoc.internal.tool
    33  * @build javadoc.tester.*
    33  * @build javadoc.tester.*
   383                 "<div class=\"navListSearch\">",
   383                 "<div class=\"navListSearch\">",
   384                 "<label for=\"search\">SEARCH:</label>\n"
   384                 "<label for=\"search\">SEARCH:</label>\n"
   385                 + "<input type=\"text\" id=\"search\" value=\"search\" disabled=\"disabled\">\n"
   385                 + "<input type=\"text\" id=\"search\" value=\"search\" disabled=\"disabled\">\n"
   386                 + "<input type=\"reset\" id=\"reset\" value=\"reset\" disabled=\"disabled\">\n");
   386                 + "<input type=\"reset\" id=\"reset\" value=\"reset\" disabled=\"disabled\">\n");
   387         checkOutput(fileName, true,
   387         checkOutput(fileName, true,
   388                 "<div class=\"fixedNav\">");
   388                 "<div class=\"flexBox\">");
   389     }
   389     }
   390 
   390 
   391     void checkSingleIndex(boolean expectedOutput, boolean html5) {
   391     void checkSingleIndex(boolean expectedOutput, boolean html5) {
   392         String html_span_see_span = html5 ? "html%3Cspan%3Esee%3C/span%3E" : "html-span-see-/span-";
   392         String html_span_see_span = html5 ? "html%3Cspan%3Esee%3C/span%3E" : "html-span-see-/span-";
   393 
   393