test/langtools/jdk/javadoc/doclet/testProperty/TestProperty.java
changeset 55197 0ca8e495bbba
parent 53562 0d9dee001667
equal deleted inserted replaced
55196:7586561128e3 55197:0ca8e495bbba
    48                 "-sourcepath", testSrc,
    48                 "-sourcepath", testSrc,
    49                 "pkg");
    49                 "pkg");
    50         checkExit(Exit.OK);
    50         checkExit(Exit.OK);
    51 
    51 
    52         checkOutput("pkg/MyClass.html", true,
    52         checkOutput("pkg/MyClass.html", true,
    53                 "<pre>public final&nbsp;<a href=\"ObjectProperty.html\" "
    53                 "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span>&nbsp;"
    54                 + "title=\"class in pkg\">ObjectProperty</a>"
    54                 + "<span class=\"returnType\"><a href=\"ObjectProperty.html\" title=\"class in pkg\">"
    55                 + "&lt;<a href=\"MyObj.html\" "
    55                 + "ObjectProperty</a>&lt;<a href=\"MyObj.html\" title=\"class in pkg\">MyObj</a>&gt;</span>"
    56                 + "title=\"class in pkg\">MyObj</a>&gt; goodProperty</pre>\n"
    56                 + "&nbsp;<span class=\"memberName\">goodProperty</span></div>\n"
    57                 + "<div class=\"block\">This is an Object property where the "
    57                 + "<div class=\"block\">This is an Object property where the "
    58                 + "Object is a single Object.</div>\n"
    58                 + "Object is a single Object.</div>\n"
    59                 + "<dl>\n"
    59                 + "<dl>\n"
    60                 + "<dt><span class=\"seeLabel\">See Also:</span></dt>\n"
    60                 + "<dt><span class=\"seeLabel\">See Also:</span></dt>\n"
    61                 + "<dd><a href=\"#getGood()\"><code>getGood()</code></a>, \n"
    61                 + "<dd><a href=\"#getGood()\"><code>getGood()</code></a>, \n"
    62                 + "<a href=\"#setGood(pkg.MyObj)\">"
    62                 + "<a href=\"#setGood(pkg.MyObj)\">"
    63                 + "<code>setGood(MyObj)</code></a></dd>\n"
    63                 + "<code>setGood(MyObj)</code></a></dd>\n"
    64                 + "</dl>",
    64                 + "</dl>",
    65 
    65 
    66                 "<pre>public final&nbsp;<a href=\"ObjectProperty.html\" "
    66                 "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span>&nbsp;"
    67                 + "title=\"class in pkg\">ObjectProperty</a>"
    67                 + "<span class=\"returnType\"><a href=\"ObjectProperty.html\" title=\"class in pkg\">"
    68                 + "&lt;<a href=\"MyObj.html\" "
    68                 + "ObjectProperty</a>&lt;<a href=\"MyObj.html\" title=\"class in pkg\">MyObj</a>[]&gt;</span>"
    69                 + "title=\"class in pkg\">MyObj</a>[]&gt; badProperty</pre>\n"
    69                 + "&nbsp;<span class=\"memberName\">badProperty</span></div>\n"
    70                 + "<div class=\"block\">This is an Object property where the "
    70                 + "<div class=\"block\">This is an Object property where the "
    71                 + "Object is an array.</div>\n"
    71                 + "Object is an array.</div>\n"
    72                 + "<dl>\n"
    72                 + "<dl>\n"
    73                 + "<dt><span class=\"seeLabel\">See Also:</span></dt>\n"
    73                 + "<dt><span class=\"seeLabel\">See Also:</span></dt>\n"
    74                 + "<dd><a href=\"#getBad()\"><code>getBad()</code></a>, \n"
    74                 + "<dd><a href=\"#getBad()\"><code>getBad()</code></a>, \n"
    92                 + "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">"
    92                 + "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">"
    93                 + "<a href=\"#badProperty()\">badProperty</a></span>()</code></th>"
    93                 + "<a href=\"#badProperty()\">badProperty</a></span>()</code></th>"
    94         );
    94         );
    95 
    95 
    96         checkOutput("pkg/MyClassT.html", true,
    96         checkOutput("pkg/MyClassT.html", true,
    97                 "<pre>public final&nbsp;<a href=\"ObjectProperty.html\" "
    97                 "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span>&nbsp;"
    98                 + "title=\"class in pkg\">ObjectProperty</a>"
    98                 + "<span class=\"returnType\"><a href=\"ObjectProperty.html\" title=\"class in pkg\">"
    99                 + "&lt;java.util.List&lt;<a href=\"MyClassT.html\" "
    99                 + "ObjectProperty</a>&lt;java.util.List&lt;<a href=\"MyClassT.html\" "
   100                 + "title=\"type parameter in MyClassT\">T</a>&gt;&gt; "
   100                 + "title=\"type parameter in MyClassT\">T</a>&gt;&gt;</span>&nbsp;"
   101                 + "listProperty</pre>\n"
   101                 + "<span class=\"memberName\">listProperty</span></div>\n"
   102                 + "<div class=\"block\">This is an Object property where the "
   102                 + "<div class=\"block\">This is an Object property where the "
   103                 + "Object is a single <code>List&lt;T&gt;</code>.</div>\n"
   103                 + "Object is a single <code>List&lt;T&gt;</code>.</div>\n"
   104                 + "<dl>\n"
   104                 + "<dl>\n"
   105                 + "<dt><span class=\"seeLabel\">See Also:</span></dt>\n"
   105                 + "<dt><span class=\"seeLabel\">See Also:</span></dt>\n"
   106                 + "<dd><a href=\"#getList()\">"
   106                 + "<dd><a href=\"#getList()\">"