21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 4749567 8071982 8175200 |
26 * @bug 4749567 8071982 8175200 8186332 |
27 * @summary Test the output for -header, -footer, -nooverview, -nodeprecatedlist, -nonavbar, -notree, -stylesheetfile options. |
27 * @summary Test the output for -header, -footer, -nooverview, -nodeprecatedlist, -nonavbar, -notree, -stylesheetfile options. |
28 * @author Bhavesh Patel |
28 * @author Bhavesh Patel |
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 |
146 "<pre>public class <a href=\"../src-html/linksource/Properties.html#line.29\">" |
146 "<pre>public class <a href=\"../src-html/linksource/Properties.html#line.29\">" |
147 + "Properties</a>", |
147 + "Properties</a>", |
148 "<pre>public java.lang.Object <a href=" |
148 "<pre>public java.lang.Object <a href=" |
149 + "\"../src-html/linksource/Properties.html#line.31\">someProperty</a></pre>", |
149 + "\"../src-html/linksource/Properties.html#line.31\">someProperty</a></pre>", |
150 "<pre>public java.lang.Object <a href=" |
150 "<pre>public java.lang.Object <a href=" |
151 + "\"../src-html/linksource/Properties.html#line.31\">someProperty</a>​()</pre>"); |
151 + "\"../src-html/linksource/Properties.html#line.31\">someProperty</a>()</pre>"); |
152 |
152 |
153 checkOutput("src-html/linksource/Properties.html", true, |
153 checkOutput("src-html/linksource/Properties.html", true, |
154 "<title>Source code</title>", |
154 "<title>Source code</title>", |
155 "<span class=\"sourceLineNo\">031</span><a name=\"line.31\"> " |
155 "<span class=\"sourceLineNo\">031</span><a name=\"line.31\"> " |
156 + "public Object someProperty() {</a>"); |
156 + "public Object someProperty() {</a>"); |
159 "<pre>public class <a href=\"../src-html/linksource/SomeClass.html#line.29\">" |
159 "<pre>public class <a href=\"../src-html/linksource/SomeClass.html#line.29\">" |
160 + "SomeClass</a>\nextends java.lang.Object</pre>", |
160 + "SomeClass</a>\nextends java.lang.Object</pre>", |
161 "<pre>public int <a href=\"../src-html/linksource/SomeClass.html#line.31\">" |
161 "<pre>public int <a href=\"../src-html/linksource/SomeClass.html#line.31\">" |
162 + "field</a></pre>", |
162 + "field</a></pre>", |
163 "<pre>public <a href=\"../src-html/linksource/SomeClass.html#line.33\">" |
163 "<pre>public <a href=\"../src-html/linksource/SomeClass.html#line.33\">" |
164 + "SomeClass</a>​()</pre>", |
164 + "SomeClass</a>()</pre>", |
165 "<pre>public int <a href=\"../src-html/linksource/SomeClass.html#line.36\">" |
165 "<pre>public int <a href=\"../src-html/linksource/SomeClass.html#line.36\">" |
166 + "method</a>​()</pre>"); |
166 + "method</a>()</pre>"); |
167 |
167 |
168 checkOutput("src-html/linksource/SomeClass.html", true, |
168 checkOutput("src-html/linksource/SomeClass.html", true, |
169 "<title>Source code</title>", |
169 "<title>Source code</title>", |
170 "<span class=\"sourceLineNo\">029</span><a name=\"line.29\">" |
170 "<span class=\"sourceLineNo\">029</span><a name=\"line.29\">" |
171 + "public class SomeClass {</a>", |
171 + "public class SomeClass {</a>", |