test/langtools/jdk/javadoc/doclet/testOptions/TestOptions.java
changeset 48654 36f58bd6269f
parent 47748 dfc709c80775
child 49139 771616d26ca1
equal deleted inserted replaced
48653:89111a0e6355 48654:36f58bd6269f
     1 /*
     1 /*
     2  * Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 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.
   234                 + "public SomeClass() {</a>",
   234                 + "public SomeClass() {</a>",
   235                 "<span class=\"sourceLineNo\">036</span><a name=\"line.36\">    "
   235                 "<span class=\"sourceLineNo\">036</span><a name=\"line.36\">    "
   236                 + "public int method() {</a>");
   236                 + "public int method() {</a>");
   237 
   237 
   238         checkOutput("linksource/SomeEnum.html", true,
   238         checkOutput("linksource/SomeEnum.html", true,
   239                 "<pre>public static final&nbsp;<a href=\"../linksource/SomeEnum.html\" "
   239                 "<pre>public static final&nbsp;<a href=\"SomeEnum.html\" "
   240                 + "title=\"enum in linksource\">SomeEnum</a> <a href="
   240                 + "title=\"enum in linksource\">SomeEnum</a> <a href="
   241                 + "\"../src-html/linksource/SomeEnum.html#line.29\">VALUE1</a></pre>",
   241                 + "\"../src-html/linksource/SomeEnum.html#line.29\">VALUE1</a></pre>",
   242                 "<pre>public static final&nbsp;<a href=\"../linksource/SomeEnum.html\" "
   242                 "<pre>public static final&nbsp;<a href=\"SomeEnum.html\" "
   243                 + "title=\"enum in linksource\">SomeEnum</a> <a href="
   243                 + "title=\"enum in linksource\">SomeEnum</a> <a href="
   244                 + "\"../src-html/linksource/SomeEnum.html#line.30\">VALUE2</a></pre>");
   244                 + "\"../src-html/linksource/SomeEnum.html#line.30\">VALUE2</a></pre>");
   245 
   245 
   246         checkOutput("src-html/linksource/SomeEnum.html", true,
   246         checkOutput("src-html/linksource/SomeEnum.html", true,
   247                 "<span class=\"sourceLineNo\">029</span><a name=\"line.29\">    VALUE1,</a>",
   247                 "<span class=\"sourceLineNo\">029</span><a name=\"line.29\">    VALUE1,</a>",