test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFX.java
changeset 53883 f41793b5b83f
parent 53879 e7cb0348fa1c
child 53991 786825220790
equal deleted inserted replaced
53882:ca682d9d8db5 53883:f41793b5b83f
    84                 + "setTestMethodProperty</a></span>()</code></th>",
    84                 + "setTestMethodProperty</a></span>()</code></th>",
    85                 "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">"
    85                 "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">"
    86                 + "<a href=\"#pausedProperty\">paused</a></span></code></th>\n"
    86                 + "<a href=\"#pausedProperty\">paused</a></span></code></th>\n"
    87                 + "<td class=\"colLast\">\n"
    87                 + "<td class=\"colLast\">\n"
    88                 + "<div class=\"block\">Defines if paused.</div>",
    88                 + "<div class=\"block\">Defines if paused.</div>",
    89                 "<h3>paused</h3>\n"
    89                 "<h4>paused</h4>\n"
    90                 + "<pre>public final&nbsp;<a href=\"C.BooleanProperty.html\" "
    90                 + "<pre>public final&nbsp;<a href=\"C.BooleanProperty.html\" "
    91                 + "title=\"class in pkg1\">C.BooleanProperty</a> pausedProperty</pre>\n"
    91                 + "title=\"class in pkg1\">C.BooleanProperty</a> pausedProperty</pre>\n"
    92                 + "<div class=\"block\">Defines if paused. The second line.</div>",
    92                 + "<div class=\"block\">Defines if paused. The second line.</div>",
    93                 "<h3>isPaused</h3>\n"
    93                 "<h4>isPaused</h4>\n"
    94                 + "<pre class=\"methodSignature\">public final&nbsp;double&nbsp;isPaused()</pre>\n"
    94                 + "<pre class=\"methodSignature\">public final&nbsp;double&nbsp;isPaused()</pre>\n"
    95                 + "<div class=\"block\">Gets the value of the property paused.</div>",
    95                 + "<div class=\"block\">Gets the value of the property paused.</div>",
    96                 "<h3>setPaused</h3>\n"
    96                 "<h4>setPaused</h4>\n"
    97                 + "<pre class=\"methodSignature\">public final&nbsp;void&nbsp;setPaused&#8203;(boolean&nbsp;value)</pre>\n"
    97                 + "<pre class=\"methodSignature\">public final&nbsp;void&nbsp;setPaused&#8203;(boolean&nbsp;value)</pre>\n"
    98                 + "<div class=\"block\">Sets the value of the property paused.</div>\n"
    98                 + "<div class=\"block\">Sets the value of the property paused.</div>\n"
    99                 + "<dl>\n"
    99                 + "<dl>\n"
   100                 + "<dt><span class=\"simpleTagLabel\">Property description:</span></dt>\n"
   100                 + "<dt><span class=\"simpleTagLabel\">Property description:</span></dt>\n"
   101                 + "<dd>Defines if paused. The second line.</dd>\n"
   101                 + "<dd>Defines if paused. The second line.</dd>\n"
   102                 + "<dt><span class=\"simpleTagLabel\">Default value:</span></dt>\n"
   102                 + "<dt><span class=\"simpleTagLabel\">Default value:</span></dt>\n"
   103                 + "<dd>false</dd>",
   103                 + "<dd>false</dd>",
   104                 "<h3>isPaused</h3>\n"
   104                 "<h4>isPaused</h4>\n"
   105                 + "<pre class=\"methodSignature\">public final&nbsp;double&nbsp;isPaused()</pre>\n"
   105                 + "<pre class=\"methodSignature\">public final&nbsp;double&nbsp;isPaused()</pre>\n"
   106                 + "<div class=\"block\">Gets the value of the property paused.</div>\n"
   106                 + "<div class=\"block\">Gets the value of the property paused.</div>\n"
   107                 + "<dl>\n"
   107                 + "<dl>\n"
   108                 + "<dt><span class=\"simpleTagLabel\">Property description:</span></dt>\n"
   108                 + "<dt><span class=\"simpleTagLabel\">Property description:</span></dt>\n"
   109                 + "<dd>Defines if paused. The second line.</dd>\n"
   109                 + "<dd>Defines if paused. The second line.</dd>\n"
   110                 + "<dt><span class=\"simpleTagLabel\">Default value:</span></dt>\n"
   110                 + "<dt><span class=\"simpleTagLabel\">Default value:</span></dt>\n"
   111                 + "<dd>false</dd>",
   111                 + "<dd>false</dd>",
   112                 "<h3>rate</h3>\n"
   112                 "<h4>rate</h4>\n"
   113                 + "<pre>public final&nbsp;<a href=\"C.DoubleProperty.html\" "
   113                 + "<pre>public final&nbsp;<a href=\"C.DoubleProperty.html\" "
   114                 + "title=\"class in pkg1\">C.DoubleProperty</a> rateProperty</pre>\n"
   114                 + "title=\"class in pkg1\">C.DoubleProperty</a> rateProperty</pre>\n"
   115                 + "<div class=\"block\">Defines the direction/speed at which the "
   115                 + "<div class=\"block\">Defines the direction/speed at which the "
   116                 + "<code>Timeline</code> is expected to\n"
   116                 + "<code>Timeline</code> is expected to\n"
   117                 + " be played. This is the second line.</div>",
   117                 + " be played. This is the second line.</div>",
   118                 "<h3>setRate</h3>\n"
   118                 "<h4>setRate</h4>\n"
   119                 + "<pre class=\"methodSignature\">public final&nbsp;void&nbsp;setRate&#8203;(double&nbsp;value)</pre>\n"
   119                 + "<pre class=\"methodSignature\">public final&nbsp;void&nbsp;setRate&#8203;(double&nbsp;value)</pre>\n"
   120                 + "<div class=\"block\">Sets the value of the property rate.</div>\n"
   120                 + "<div class=\"block\">Sets the value of the property rate.</div>\n"
   121                 + "<dl>\n"
   121                 + "<dl>\n"
   122                 + "<dt><span class=\"simpleTagLabel\">Property description:</span></dt>\n"
   122                 + "<dt><span class=\"simpleTagLabel\">Property description:</span></dt>\n"
   123                 + "<dd>Defines the direction/speed at which the <code>Timeline</code> is expected to\n"
   123                 + "<dd>Defines the direction/speed at which the <code>Timeline</code> is expected to\n"
   124                 + " be played. This is the second line.</dd>\n"
   124                 + " be played. This is the second line.</dd>\n"
   125                 + "<dt><span class=\"simpleTagLabel\">Default value:</span></dt>\n"
   125                 + "<dt><span class=\"simpleTagLabel\">Default value:</span></dt>\n"
   126                 + "<dd>11</dd>\n"
   126                 + "<dd>11</dd>\n"
   127                 + "<dt><span class=\"simpleTagLabel\">Since:</span></dt>\n"
   127                 + "<dt><span class=\"simpleTagLabel\">Since:</span></dt>\n"
   128                 + "<dd>JavaFX 8.0</dd>",
   128                 + "<dd>JavaFX 8.0</dd>",
   129                 "<h3>getRate</h3>\n"
   129                 "<h4>getRate</h4>\n"
   130                 + "<pre class=\"methodSignature\">public final&nbsp;double&nbsp;getRate()</pre>\n"
   130                 + "<pre class=\"methodSignature\">public final&nbsp;double&nbsp;getRate()</pre>\n"
   131                 + "<div class=\"block\">Gets the value of the property rate.</div>\n"
   131                 + "<div class=\"block\">Gets the value of the property rate.</div>\n"
   132                 + "<dl>\n"
   132                 + "<dl>\n"
   133                 + "<dt><span class=\"simpleTagLabel\">Property description:</span></dt>\n"
   133                 + "<dt><span class=\"simpleTagLabel\">Property description:</span></dt>\n"
   134                 + "<dd>Defines the direction/speed at which the <code>Timeline</code> is expected to\n"
   134                 + "<dd>Defines the direction/speed at which the <code>Timeline</code> is expected to\n"
   135                 + " be played. This is the second line.</dd>\n"
   135                 + " be played. This is the second line.</dd>\n"
   136                 + "<dt><span class=\"simpleTagLabel\">Default value:</span></dt>\n"
   136                 + "<dt><span class=\"simpleTagLabel\">Default value:</span></dt>\n"
   137                 + "<dd>11</dd>\n"
   137                 + "<dd>11</dd>\n"
   138                 + "<dt><span class=\"simpleTagLabel\">Since:</span></dt>\n"
   138                 + "<dt><span class=\"simpleTagLabel\">Since:</span></dt>\n"
   139                 + "<dd>JavaFX 8.0</dd>",
   139                 + "<dd>JavaFX 8.0</dd>",
   140                 "<h2>Property Summary</h2>\n"
   140                 "<h3>Property Summary</h3>\n"
   141                 + "<div class=\"memberSummary\">\n<table>\n"
   141                 + "<div class=\"memberSummary\">\n<table>\n"
   142                 + "<caption><span>Properties</span><span class=\"tabEnd\">&nbsp;</span></caption>",
   142                 + "<caption><span>Properties</span><span class=\"tabEnd\">&nbsp;</span></caption>",
   143                 "<tr class=\"altColor\">\n"
   143                 "<tr class=\"altColor\">\n"
   144                 + "<td class=\"colFirst\"><code><a href=\"C.BooleanProperty.html\" title=\"class in pkg1\">C.BooleanProperty</a></code></td>\n",
   144                 + "<td class=\"colFirst\"><code><a href=\"C.BooleanProperty.html\" title=\"class in pkg1\">C.BooleanProperty</a></code></td>\n",
   145                 "<tr class=\"rowColor\">\n"
   145                 "<tr class=\"rowColor\">\n"
   146                 + "<td class=\"colFirst\"><code><a href=\"C.DoubleProperty.html\" title=\"class in pkg1\">C.DoubleProperty</a></code></td>\n");
   146                 + "<td class=\"colFirst\"><code><a href=\"C.DoubleProperty.html\" title=\"class in pkg1\">C.DoubleProperty</a></code></td>\n");
   147 
   147 
   148         checkOutput("pkg1/C.html", false,
   148         checkOutput("pkg1/C.html", false,
   149                 "A()",
   149                 "A()",
   150                 "<h2>Property Summary</h2>\n"
   150                 "<h3>Property Summary</h3>\n"
   151                 + "<div class=\"memberSummary\">\n"
   151                 + "<div class=\"memberSummary\">\n"
   152                 + "<div role=\"tablist\" aria-orientation=\"horizontal\"><button role=\"tab\""
   152                 + "<div role=\"tablist\" aria-orientation=\"horizontal\"><button role=\"tab\""
   153                 + " aria-selected=\"true\" aria-controls=\"memberSummary_tabpanel\" tabindex=\"0\""
   153                 + " aria-selected=\"true\" aria-controls=\"memberSummary_tabpanel\" tabindex=\"0\""
   154                 + " onkeydown=\"switchTab(event)\" id=\"t0\" class=\"activeTableTab\">All Methods"
   154                 + " onkeydown=\"switchTab(event)\" id=\"t0\" class=\"activeTableTab\">All Methods"
   155                 + "</button><button role=\"tab\" aria-selected=\"false\""
   155                 + "</button><button role=\"tab\" aria-selected=\"false\""
   188                 "--disable-javafx-strict-checks",
   188                 "--disable-javafx-strict-checks",
   189                 "-package",
   189                 "-package",
   190                 "pkg2");
   190                 "pkg2");
   191         checkExit(Exit.OK);
   191         checkExit(Exit.OK);
   192         checkOutput("pkg2/Test.html", true,
   192         checkOutput("pkg2/Test.html", true,
   193                 "<h2>Property Detail</h2>\n"
   193                 "<h3>Property Detail</h3>\n"
   194                 + "<a id=\"betaProperty\">\n"
   194                 + "<a id=\"betaProperty\">\n"
   195                 + "<!--   -->\n"
   195                 + "<!--   -->\n"
   196                 + "</a>\n"
   196                 + "</a>\n"
   197                 + "<ul class=\"blockList\">\n"
   197                 + "<ul class=\"blockList\">\n"
   198                 + "<li class=\"blockList\">\n"
   198                 + "<li class=\"blockList\">\n"
   199                 + "<h3>beta</h3>\n"
   199                 + "<h4>beta</h4>\n"
   200                 + "<pre>public&nbsp;java.lang.Object betaProperty</pre>\n"
   200                 + "<pre>public&nbsp;java.lang.Object betaProperty</pre>\n"
   201                 + "</li>\n"
   201                 + "</li>\n"
   202                 + "</ul>\n"
   202                 + "</ul>\n"
   203                 + "<a id=\"gammaProperty\">\n"
   203                 + "<a id=\"gammaProperty\">\n"
   204                 + "<!--   -->\n"
   204                 + "<!--   -->\n"
   205                 + "</a>\n"
   205                 + "</a>\n"
   206                 + "<ul class=\"blockList\">\n"
   206                 + "<ul class=\"blockList\">\n"
   207                 + "<li class=\"blockList\">\n"
   207                 + "<li class=\"blockList\">\n"
   208                 + "<h3>gamma</h3>\n"
   208                 + "<h4>gamma</h4>\n"
   209                 + "<pre>public final&nbsp;java.util.List&lt;java.lang.String&gt; gammaProperty</pre>\n"
   209                 + "<pre>public final&nbsp;java.util.List&lt;java.lang.String&gt; gammaProperty</pre>\n"
   210                 + "</li>\n"
   210                 + "</li>\n"
   211                 + "</ul>\n"
   211                 + "</ul>\n"
   212                 + "<a id=\"deltaProperty\">\n"
   212                 + "<a id=\"deltaProperty\">\n"
   213                 + "<!--   -->\n"
   213                 + "<!--   -->\n"
   214                 + "</a>\n"
   214                 + "</a>\n"
   215                 + "<ul class=\"blockListLast\">\n"
   215                 + "<ul class=\"blockListLast\">\n"
   216                 + "<li class=\"blockList\">\n"
   216                 + "<li class=\"blockList\">\n"
   217                 + "<h3>delta</h3>\n"
   217                 + "<h4>delta</h4>\n"
   218                 + "<pre>public final&nbsp;java.util.List&lt;"
   218                 + "<pre>public final&nbsp;java.util.List&lt;"
   219                 + "java.util.Set&lt;? super java.lang.Object&gt;&gt; deltaProperty</pre>\n"
   219                 + "java.util.Set&lt;? super java.lang.Object&gt;&gt; deltaProperty</pre>\n"
   220                 + "</li>\n"
   220                 + "</li>\n"
   221                 + "</ul>\n"
   221                 + "</ul>\n"
   222                 + "</li>\n"
   222                 + "</li>\n"
   223                 + "</ul>",
   223                 + "</ul>",
   224                 "<h2>Property Summary</h2>\n"
   224                 "<h3>Property Summary</h3>\n"
   225                 + "<div class=\"memberSummary\">\n<table>\n"
   225                 + "<div class=\"memberSummary\">\n<table>\n"
   226                 + "<caption><span>Properties</span><span class=\"tabEnd\">&nbsp;</span></caption>");
   226                 + "<caption><span>Properties</span><span class=\"tabEnd\">&nbsp;</span></caption>");
   227 
   227 
   228         checkOutput("pkg2/Test.html", false,
   228         checkOutput("pkg2/Test.html", false,
   229                 "<h2>Property Summary</h2>\n"
   229                 "<h3>Property Summary</h3>\n"
   230                 + "<div class=\"memberSummary\">\n"
   230                 + "<div class=\"memberSummary\">\n"
   231                 + "<div role=\"tablist\" aria-orientation=\"horizontal\"><button role=\"tab\""
   231                 + "<div role=\"tablist\" aria-orientation=\"horizontal\"><button role=\"tab\""
   232                 + " aria-selected=\"true\" aria-controls=\"memberSummary_tabpanel\" tabindex=\"0\""
   232                 + " aria-selected=\"true\" aria-controls=\"memberSummary_tabpanel\" tabindex=\"0\""
   233                 + " onkeydown=\"switchTab(event)\" id=\"t0\" class=\"activeTableTab\">All Methods"
   233                 + " onkeydown=\"switchTab(event)\" id=\"t0\" class=\"activeTableTab\">All Methods"
   234                 + "</button><button role=\"tab\" aria-selected=\"false\""
   234                 + "</button><button role=\"tab\" aria-selected=\"false\""
   248         javadoc("-d", "out2b",
   248         javadoc("-d", "out2b",
   249                 "-sourcepath", testSrc,
   249                 "-sourcepath", testSrc,
   250                 "-package",
   250                 "-package",
   251                 "pkg2");
   251                 "pkg2");
   252         checkExit(Exit.OK);
   252         checkExit(Exit.OK);
   253         checkOutput("pkg2/Test.html", false, "<h2>Property Summary</h2>");
   253         checkOutput("pkg2/Test.html", false, "<h3>Property Summary</h3>");
   254         checkOutput("pkg2/Test.html", true,
   254         checkOutput("pkg2/Test.html", true,
   255                 "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n"
   255                 "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n"
   256                 + "<th class=\"colSecond\" scope=\"col\">Method</th>\n"
   256                 + "<th class=\"colSecond\" scope=\"col\">Method</th>\n"
   257                 + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
   257                 + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
   258                 + "</tr>\n"
   258                 + "</tr>\n"