8258092: Link to early access platform documentation in TestHtmlTableTags.java

Reviewed-by: jjg
This commit is contained in:
Hannes Wallnöfer 2020-12-14 08:08:57 +00:00
parent 43dc3f7992
commit 164c8a6e18

View File

@ -51,6 +51,7 @@ public class TestHtmlTableTags extends JavadocTester {
javadoc("-d", "out",
"-sourcepath", testSrc,
"-use",
"--no-platform-links",
"pkg1", "pkg2");
checkExit(Exit.OK);
@ -66,6 +67,7 @@ public class TestHtmlTableTags extends JavadocTester {
"-nocomment",
"-sourcepath", testSrc,
"-use",
"--no-platform-links",
"pkg1", "pkg2");
checkExit(Exit.OK);
@ -683,12 +685,8 @@ public class TestHtmlTableTags extends JavadocTester {
// Constant values
checkOutput("constant-values.html", true,
"""
<div class="col-first even-row-color"><code id="pkg1.C1.CONSTANT1">public&nbsp;s\
tatic&nbsp;final&nbsp;<a href="https://download.java.net/java/early_access/jdk16\
/docs/api/java.base/java/lang/String.html" title="class or interface in java.lan\
g" class="external-link">String</a></code></div>
<div class="col-second even-row-color"><code><a href="pkg1/C1.html#CONSTANT1">CO\
NSTANT1</a></code></div>
<div class="col-first even-row-color"><code id="pkg1.C1.CONSTANT1">public&nbsp;static&nbsp;final&nbsp;java.lang.String</code></div>
<div class="col-second even-row-color"><code><a href="pkg1/C1.html#CONSTANT1">CONSTANT1</a></code></div>
<div class="col-last even-row-color"><code>"C1"</code></div>
</div>""");
@ -814,12 +812,8 @@ public class TestHtmlTableTags extends JavadocTester {
// Constant values
checkOutput("constant-values.html", true,
"""
<div class="col-first even-row-color"><code id="pkg1.C1.CONSTANT1">public&nbsp;s\
tatic&nbsp;final&nbsp;<a href="https://download.java.net/java/early_access/jdk16\
/docs/api/java.base/java/lang/String.html" title="class or interface in java.lan\
g" class="external-link">String</a></code></div>
<div class="col-second even-row-color"><code><a href="pkg1/C1.html#CONSTANT1">CO\
NSTANT1</a></code></div>
<div class="col-first even-row-color"><code id="pkg1.C1.CONSTANT1">public&nbsp;static&nbsp;final&nbsp;java.lang.String</code></div>
<div class="col-second even-row-color"><code><a href="pkg1/C1.html#CONSTANT1">CONSTANT1</a></code></div>
<div class="col-last even-row-color"><code>"C1"</code></div>
</div>""");