test/langtools/jdk/javadoc/doclet/testConstructors/TestConstructors.java
author bpatel
Tue, 06 Mar 2018 10:45:47 -0800
changeset 49139 771616d26ca1
parent 48654 36f58bd6269f
child 53097 2e82ca64b25d
permissions -rw-r--r--
8182765: HTML5 must be the default javadoc codegen mode in the near future Reviewed-by: jjg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
     1
/*
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
     2
 * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
     4
 *
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
     7
 * published by the Free Software Foundation.
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
     8
 *
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    13
 * accompanied this code).
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    14
 *
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    18
 *
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    21
 * questions.
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    22
 */
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    23
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    24
/*
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    25
 * @test
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    26
 * @bug 8025524 8031625 8081854 8175200 8186332 8182765
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    27
 * @summary Test for constructor name which should be a non-qualified name.
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    28
 * @author Bhavesh Patel
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    29
 * @library ../lib
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    30
 * @modules jdk.javadoc/jdk.javadoc.internal.tool
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    31
 * @build JavadocTester
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    32
 * @run main TestConstructors
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    33
 */
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    34
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    35
public class TestConstructors extends JavadocTester {
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    36
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    37
    public static void main(String... args) throws Exception {
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    38
        TestConstructors tester = new TestConstructors();
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    39
        tester.runTests();
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    40
    }
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    41
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    42
    @Test
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    43
    void test() {
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    44
        javadoc("-d", "out",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    45
                "-sourcepath", testSrc,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    46
                "pkg1");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    47
        checkExit(Exit.OK);
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    48
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    49
        checkOutput("pkg1/Outer.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    50
                "<dt><span class=\"seeLabel\">See Also:</span></dt>\n"
49139
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    51
                + "<dd><a href=\"Outer.Inner.html#%3Cinit%3E()\"><code>Inner()</code></a>, \n"
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    52
                + "<a href=\"Outer.Inner.html#%3Cinit%3E(int)\"><code>Inner(int)</code></a>, \n"
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    53
                + "<a href=\"Outer.Inner.NestedInner.html#%3Cinit%3E()\"><code>NestedInner()</code></a>, \n"
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    54
                + "<a href=\"Outer.Inner.NestedInner.html#%3Cinit%3E(int)\"><code>NestedInner(int)</code></a>, \n"
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    55
                + "<a href=\"#%3Cinit%3E()\"><code>Outer()</code></a>, \n"
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    56
                + "<a href=\"#%3Cinit%3E(int)\"><code>Outer(int)</code></a></dd>",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    57
                "Link: <a href=\"Outer.Inner.html#%3Cinit%3E()\"><code>Inner()</code></a>, "
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    58
                + "<a href=\"#%3Cinit%3E(int)\"><code>Outer(int)</code></a>, "
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    59
                + "<a href=\"Outer.Inner.NestedInner.html#%3Cinit%3E(int)\"><code>NestedInner(int)</code></a>",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    60
                "<a href=\"#%3Cinit%3E()\">Outer</a></span>()",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    61
                "<a id=\"&lt;init&gt;(int)\">",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    62
                "<a href=\"#%3Cinit%3E(int)\">Outer</a></span>&#8203;(int&nbsp;i)",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    63
                "<a id=\"&lt;init&gt;(int)\">");
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    64
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    65
        checkOutput("pkg1/Outer.Inner.html", true,
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    66
                "<a href=\"#%3Cinit%3E()\">Inner</a></span>()",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    67
                "<a id=\"&lt;init&gt;()\">",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    68
                "<a href=\"#%3Cinit%3E(int)\">Inner</a></span>&#8203;(int&nbsp;i)",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    69
                "<a id=\"&lt;init&gt;(int)\">");
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    70
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    71
        checkOutput("pkg1/Outer.Inner.NestedInner.html", true,
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    72
                "<a href=\"#%3Cinit%3E()\">NestedInner</a></span>()",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    73
                "<a id=\"&lt;init&gt;()\">",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    74
                "<a href=\"#%3Cinit%3E(int)\">NestedInner</a></span>&#8203;(int&nbsp;i)",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    75
                "<a id=\"&lt;init&gt;(int)\">");
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    76
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    77
        checkOutput("pkg1/Outer.Inner.html", false,
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    78
                "Outer.Inner()",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    79
                "Outer.Inner(int)");
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    80
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    81
        checkOutput("pkg1/Outer.Inner.NestedInner.html", false,
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    82
                "Outer.Inner.NestedInner()",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    83
                "Outer.Inner.NestedInner(int)");
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    84
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    85
        checkOutput("pkg1/Outer.html", false,
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    86
                "<a href=\"Outer.Inner.html#Outer.Inner()\"><code>Outer.Inner()</code></a>",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    87
                "<a href=\"Outer.Inner.html#Outer.Inner(int)\"><code>Outer.Inner(int)</code></a>",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    88
                "<a href=\"Outer.Inner.NestedInner.html#Outer.Inner.NestedInner()\"><code>Outer.Inner.NestedInner()</code></a>",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    89
                "<a href=\"Outer.Inner.NestedInner.html#Outer.Inner.NestedInner(int)\"><code>Outer.Inner.NestedInner(int)</code></a>");
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    90
    }
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    91
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    92
    @Test
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    93
    void test_html4() {
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    94
        javadoc("-d", "out-html4",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    95
                "-html4",
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    96
                "-sourcepath", testSrc,
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    97
                "pkg1");
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    98
        checkExit(Exit.OK);
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
    99
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   100
        checkOutput("pkg1/Outer.html", true,
771616d26ca1 8182765: HTML5 must be the default javadoc codegen mode in the near future
bpatel
parents: 48654
diff changeset
   101
                "<dt><span class=\"seeLabel\">See Also:</span></dt>\n"
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   102
                + "<dd><a href=\"Outer.Inner.html#Inner--\"><code>Inner()</code></a>, \n"
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   103
                + "<a href=\"Outer.Inner.html#Inner-int-\"><code>Inner(int)</code></a>, \n"
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   104
                + "<a href=\"Outer.Inner.NestedInner.html#NestedInner--\"><code>NestedInner()</code></a>, \n"
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   105
                + "<a href=\"Outer.Inner.NestedInner.html#NestedInner-int-\"><code>NestedInner(int)</code></a>, \n"
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   106
                + "<a href=\"#Outer--\"><code>Outer()</code></a>, \n"
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   107
                + "<a href=\"#Outer-int-\"><code>Outer(int)</code></a>",
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   108
                "Link: <a href=\"Outer.Inner.html#Inner--\"><code>Inner()</code></a>, "
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   109
                + "<a href=\"#Outer-int-\"><code>Outer(int)</code></a>, "
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   110
                + "<a href=\"Outer.Inner.NestedInner.html#NestedInner-int-\"><code>"
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   111
                + "NestedInner(int)</code></a>",
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   112
                "<a href=\"#Outer--\">Outer</a></span>()",
31297
86fe1414f12c 8081854: Javadoc should generate named anchors for HTML4 output
bpatel
parents: 30730
diff changeset
   113
                "<a name=\"Outer--\">",
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   114
                "<a href=\"#Outer-int-\">Outer</a></span>&#8203;(int&nbsp;i)",
31297
86fe1414f12c 8081854: Javadoc should generate named anchors for HTML4 output
bpatel
parents: 30730
diff changeset
   115
                "<a name=\"Outer-int-\">");
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   116
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   117
        checkOutput("pkg1/Outer.Inner.html", true,
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   118
                "<a href=\"#Inner--\">Inner</a></span>()",
31297
86fe1414f12c 8081854: Javadoc should generate named anchors for HTML4 output
bpatel
parents: 30730
diff changeset
   119
                "<a name=\"Inner--\">",
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   120
                "<a href=\"#Inner-int-\">Inner</a></span>&#8203;(int&nbsp;i)",
31297
86fe1414f12c 8081854: Javadoc should generate named anchors for HTML4 output
bpatel
parents: 30730
diff changeset
   121
                "<a name=\"Inner-int-\">");
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   122
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   123
        checkOutput("pkg1/Outer.Inner.NestedInner.html", true,
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   124
                "<a href=\"#NestedInner--\">NestedInner</a></span>()",
31297
86fe1414f12c 8081854: Javadoc should generate named anchors for HTML4 output
bpatel
parents: 30730
diff changeset
   125
                "<a name=\"NestedInner--\">",
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   126
                "<a href=\"#NestedInner-int-\">NestedInner</a></span>&#8203;(int&nbsp;i)",
31297
86fe1414f12c 8081854: Javadoc should generate named anchors for HTML4 output
bpatel
parents: 30730
diff changeset
   127
                "<a name=\"NestedInner-int-\">");
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   128
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   129
        checkOutput("pkg1/Outer.Inner.html", false,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   130
                "Outer.Inner--",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   131
                "Outer.Inner-int-");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   132
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   133
        checkOutput("pkg1/Outer.Inner.NestedInner.html", false,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   134
                "Outer.Inner.NestedInner--",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   135
                "Outer.Inner.NestedInner-int-");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   136
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
   137
        checkOutput("pkg1/Outer.html", false,
48654
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   138
                "<a href=\"Outer.Inner.html#Outer.Inner--\"><code>Outer.Inner()</code></a>",
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   139
                "<a href=\"Outer.Inner.html#Outer.Inner-int-\"><code>Outer.Inner(int)</code></a>",
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   140
                "<a href=\"Outer.Inner.NestedInner.html#Outer.Inner.NestedInner--\"><code>Outer.Inner.NestedInner()</code></a>",
36f58bd6269f 8195796: Reduce the size of relative URLs in generated docs
jjg
parents: 47284
diff changeset
   141
                "<a href=\"Outer.Inner.NestedInner.html#Outer.Inner.NestedInner-int-\"><code>Outer.Inner.NestedInner(int)</code></a>");
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   142
    }
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   143
}