test/langtools/jdk/javadoc/doclet/testSubTitle/TestSubTitle.java
changeset 48654 36f58bd6269f
parent 47216 71c04702a3d5
child 53097 2e82ca64b25d
equal deleted inserted replaced
48653:89111a0e6355 48654:36f58bd6269f
     1 /*
     1 /*
     2  * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    49         checkOutput("pkg/package-summary.html", true,
    49         checkOutput("pkg/package-summary.html", true,
    50             "<div class=\"block\">This is the description of package pkg.</div>");
    50             "<div class=\"block\">This is the description of package pkg.</div>");
    51 
    51 
    52         checkOutput("pkg/C.html", true,
    52         checkOutput("pkg/C.html", true,
    53                 "<div class=\"subTitle\"><span class=\"packageLabelInType\">" +
    53                 "<div class=\"subTitle\"><span class=\"packageLabelInType\">" +
    54                 "Package</span>&nbsp;<a href=\"../pkg/package-summary.html\">pkg</a></div>");
    54                 "Package</span>&nbsp;<a href=\"package-summary.html\">pkg</a></div>");
    55 
    55 
    56         checkOutput("pkg/package-summary.html", false,
    56         checkOutput("pkg/package-summary.html", false,
    57             "<p class=\"subTitle\">\n" +
    57             "<p class=\"subTitle\">\n" +
    58             "<div class=\"block\">This is the " +
    58             "<div class=\"block\">This is the " +
    59             "description of package pkg.</div>\n" +
    59             "description of package pkg.</div>\n" +