TestHtmlTableTags.java revision 797:4868a36f6fd8
164562Sgshapiro/* 298121Sgshapiro * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. 390792Sgshapiro * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 490792Sgshapiro * 590792Sgshapiro * This code is free software; you can redistribute it and/or modify it 690792Sgshapiro * under the terms of the GNU General Public License version 2 only, as 790792Sgshapiro * published by the Free Software Foundation. 890792Sgshapiro * 9110560Sgshapiro * This code is distributed in the hope that it will be useful, but WITHOUT 1090792Sgshapiro * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1190792Sgshapiro * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1264562Sgshapiro * version 2 for more details (a copy is included in the LICENSE file that 1364562Sgshapiro * accompanied this code). 1464562Sgshapiro * 1564562Sgshapiro * You should have received a copy of the GNU General Public License version 1664562Sgshapiro * 2 along with this work; if not, write to the Free Software Foundation, 1764562Sgshapiro * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1890792Sgshapiro * 1990792Sgshapiro * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2064562Sgshapiro * or visit www.oracle.com if you need additional information or have any 2164562Sgshapiro * questions. 2264562Sgshapiro */ 2364562Sgshapiro 2464562Sgshapiro/* 2564562Sgshapiro * @test 26110560Sgshapiro * @bug 6786688 2764562Sgshapiro * @summary HTML tables should have table summary, caption and table headers. 2864562Sgshapiro * @author Bhavesh Patel 2964562Sgshapiro * @library ../lib/ 3090792Sgshapiro * @build JavadocTester 3164562Sgshapiro * @build TestHtmlTableTags 3290792Sgshapiro * @run main TestHtmlTableTags 3364562Sgshapiro */ 3464562Sgshapiro 3564562Sgshapiropublic class TestHtmlTableTags extends JavadocTester { 3690792Sgshapiro 3790792Sgshapiro //Test information. 3890792Sgshapiro private static final String BUG_ID = "6786688"; 3990792Sgshapiro 4064562Sgshapiro //Javadoc arguments. 4190792Sgshapiro private static final String[] ARGS = new String[] { 4290792Sgshapiro "-d", BUG_ID, "-sourcepath", SRC_DIR, "-use", "pkg1", "pkg2" 4364562Sgshapiro }; 4464562Sgshapiro 4564562Sgshapiro //Input for string tests for HTML table tags. 4664562Sgshapiro private static final String[][] TABLE_TAGS_TEST = { 4771345Sgshapiro /* 4864562Sgshapiro * Test for validating summary for HTML tables 4964562Sgshapiro */ 5090792Sgshapiro 5164562Sgshapiro //Package summary 5264562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "package-summary.html", 5364562Sgshapiro "<table class=\"packageSummary\" border=\"0\" cellpadding=\"3\"" + 5464562Sgshapiro " cellspacing=\"0\" summary=\"Class Summary table, " + 5564562Sgshapiro "listing classes, and an explanation\">" 5664562Sgshapiro }, 5764562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "package-summary.html", 5864562Sgshapiro "<table class=\"packageSummary\" border=\"0\" cellpadding=\"3\"" + 5990792Sgshapiro " cellspacing=\"0\" summary=\"Interface Summary table, " + 6064562Sgshapiro "listing interfaces, and an explanation\">" 6164562Sgshapiro }, 6264562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "package-summary.html", 6390792Sgshapiro "<table class=\"packageSummary\" border=\"0\" cellpadding=\"3\"" + 6464562Sgshapiro " cellspacing=\"0\" summary=\"Enum Summary table, " + 6564562Sgshapiro "listing enums, and an explanation\">" 6664562Sgshapiro }, 6764562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "package-summary.html", 6864562Sgshapiro "<table class=\"packageSummary\" border=\"0\" cellpadding=\"3\"" + 6964562Sgshapiro " cellspacing=\"0\" summary=\"Annotation Types Summary table, " + 7064562Sgshapiro "listing annotation types, and an explanation\">" 7164562Sgshapiro }, 7264562Sgshapiro // Class documentation 7364562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "C1.html", 7464562Sgshapiro "<table class=\"overviewSummary\" border=\"0\" cellpadding=\"3\" " + 7590792Sgshapiro "cellspacing=\"0\" summary=\"Field Summary table, listing fields, " + 7664562Sgshapiro "and an explanation\">" 7790792Sgshapiro }, 7864562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "C1.html", 7964562Sgshapiro "<table class=\"overviewSummary\" border=\"0\" cellpadding=\"3\" " + 8090792Sgshapiro "cellspacing=\"0\" summary=\"Method Summary table, listing methods, " + 8164562Sgshapiro "and an explanation\">" 8264562Sgshapiro }, 8364562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "C2.html", 8464562Sgshapiro "<table class=\"overviewSummary\" border=\"0\" cellpadding=\"3\" " + 8564562Sgshapiro "cellspacing=\"0\" summary=\"Nested Class Summary table, listing " + 8664562Sgshapiro "nested classes, and an explanation\">" 8764562Sgshapiro }, 8864562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "C2.html", 8964562Sgshapiro "<table class=\"overviewSummary\" border=\"0\" cellpadding=\"3\" " + 9090792Sgshapiro "cellspacing=\"0\" summary=\"Constructor Summary table, listing " + 9164562Sgshapiro "constructors, and an explanation\">" 9264562Sgshapiro }, 9364562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "C2.ModalExclusionType.html", 9490792Sgshapiro "<table class=\"overviewSummary\" border=\"0\" cellpadding=\"3\" " + 9564562Sgshapiro "cellspacing=\"0\" summary=\"Enum Constant Summary table, listing " + 9664562Sgshapiro "enum constants, and an explanation\">" 9764562Sgshapiro }, 9864562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "C3.html", 9964562Sgshapiro "<table class=\"overviewSummary\" border=\"0\" cellpadding=\"3\" " + 10064562Sgshapiro "cellspacing=\"0\" summary=\"Required Element Summary table, " + 10164562Sgshapiro "listing required elements, and an explanation\">" 10264562Sgshapiro }, 10364562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "C4.html", 10464562Sgshapiro "<table class=\"overviewSummary\" border=\"0\" cellpadding=\"3\" " + 10564562Sgshapiro "cellspacing=\"0\" summary=\"Optional Element Summary table, " + 10664562Sgshapiro "listing optional elements, and an explanation\">" 10790792Sgshapiro }, 10864562Sgshapiro // Class use documentation 10964562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "class-use" + FS + "I1.html", 11090792Sgshapiro "<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"Use " + 11164562Sgshapiro "table, listing packages, and an explanation\">" 11264562Sgshapiro }, 11390792Sgshapiro {BUG_ID + FS + "pkg1" + FS + "class-use" + FS + "C1.html", 11464562Sgshapiro "<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"Use " + 11564562Sgshapiro "table, listing fields, and an explanation\">" 11664562Sgshapiro }, 11764562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "class-use" + FS + "C1.html", 11864562Sgshapiro "<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"Use " + 11964562Sgshapiro "table, listing methods, and an explanation\">" 12064562Sgshapiro }, 12164562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "C2.html", 12264562Sgshapiro "<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"Use " + 12364562Sgshapiro "table, listing fields, and an explanation\">" 12464562Sgshapiro }, 12564562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "C2.html", 12664562Sgshapiro "<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"Use " + 12764562Sgshapiro "table, listing methods, and an explanation\">" 12890792Sgshapiro }, 12964562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "C2.ModalExclusionType.html", 13064562Sgshapiro "<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"Use " + 13190792Sgshapiro "table, listing packages, and an explanation\">" 13264562Sgshapiro }, 13364562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "C2.ModalExclusionType.html", 13490792Sgshapiro "<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"Use " + 13564562Sgshapiro "table, listing methods, and an explanation\">" 13664562Sgshapiro }, 13764562Sgshapiro // Package use documentation 13864562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "package-use.html", 13964562Sgshapiro "<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"Use " + 14064562Sgshapiro "table, listing packages, and an explanation\">" 14164562Sgshapiro }, 14264562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "package-use.html", 14364562Sgshapiro "<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"Use " + 14464562Sgshapiro "table, listing classes, and an explanation\">" 14590792Sgshapiro }, 14690792Sgshapiro {BUG_ID + FS + "pkg2" + FS + "package-use.html", 14764562Sgshapiro "<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"Use " + 14890792Sgshapiro "table, listing packages, and an explanation\">" 14964562Sgshapiro }, 15064562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "package-use.html", 15164562Sgshapiro "<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"Use " + 15264562Sgshapiro "table, listing classes, and an explanation\">" 15364562Sgshapiro }, 15464562Sgshapiro // Deprecated 15564562Sgshapiro {BUG_ID + FS + "deprecated-list.html", 15664562Sgshapiro "<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" " + 15764562Sgshapiro "summary=\"Deprecated Fields table, listing deprecated fields, " + 15864562Sgshapiro "and an explanation\">" 15964562Sgshapiro }, 16090792Sgshapiro {BUG_ID + FS + "deprecated-list.html", 16190792Sgshapiro "<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" " + 16264562Sgshapiro "summary=\"Deprecated Methods table, listing deprecated methods, " + 16390792Sgshapiro "and an explanation\">" 16464562Sgshapiro }, 16564562Sgshapiro // Constant values 16664562Sgshapiro {BUG_ID + FS + "constant-values.html", 16764562Sgshapiro "<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" " + 16864562Sgshapiro "summary=\"Constant Field Values table, listing " + 16964562Sgshapiro "constant fields, and values\">" 17064562Sgshapiro }, 17164562Sgshapiro // Overview Summary 17264562Sgshapiro {BUG_ID + FS + "overview-summary.html", 17364562Sgshapiro "<table class=\"overviewSummary\" border=\"0\" cellpadding=\"3\" " + 17490792Sgshapiro "cellspacing=\"0\" summary=\"Packages table, " + 17564562Sgshapiro "listing packages, and an explanation\">" 17690792Sgshapiro }, 17764562Sgshapiro 17866494Sgshapiro /* 17964562Sgshapiro * Test for validating caption for HTML tables 18064562Sgshapiro */ 18164562Sgshapiro 18264562Sgshapiro //Package summary 18364562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "package-summary.html", 18464562Sgshapiro "<caption><span>Class Summary</span><span class=\"tabEnd\">" + 18564562Sgshapiro " </span></caption>" 18664562Sgshapiro }, 18764562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "package-summary.html", 18864562Sgshapiro "<caption><span>Interface Summary</span><span class=\"tabEnd\">" + 18964562Sgshapiro " </span></caption>" 19066494Sgshapiro }, 19164562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "package-summary.html", 19264562Sgshapiro "<caption><span>Enum Summary</span><span class=\"tabEnd\">" + 19364562Sgshapiro " </span></caption>" 19490792Sgshapiro }, 19564562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "package-summary.html", 19664562Sgshapiro "<caption><span>Annotation Types Summary</span><span class=\"tabEnd\">" + 19764562Sgshapiro " </span></caption>" 19864562Sgshapiro }, 19964562Sgshapiro // Class documentation 20064562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "C1.html", 20164562Sgshapiro "<caption><span>Fields</span><span class=\"tabEnd\"> </span></caption>" 20264562Sgshapiro }, 20390792Sgshapiro {BUG_ID + FS + "pkg1" + FS + "C1.html", 20464562Sgshapiro "<caption><span>Methods</span><span class=\"tabEnd\"> </span></caption>" 20564562Sgshapiro }, 20664562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "C2.html", 20790792Sgshapiro "<caption><span>Nested Classes</span><span class=\"tabEnd\"> </span></caption>" 20864562Sgshapiro }, 20964562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "C2.html", 21064562Sgshapiro "<caption><span>Constructors</span><span class=\"tabEnd\"> </span></caption>" 21164562Sgshapiro }, 21264562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "C2.ModalExclusionType.html", 21364562Sgshapiro "<caption><span>Enum Constants</span><span class=\"tabEnd\"> </span></caption>" 21464562Sgshapiro }, 21564562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "C3.html", 21664562Sgshapiro "<caption><span>Required Elements</span><span class=\"tabEnd\"> " + 21764562Sgshapiro "</span></caption>" 21890792Sgshapiro }, 21990792Sgshapiro {BUG_ID + FS + "pkg2" + FS + "C4.html", 22090792Sgshapiro "<caption><span>Optional Elements</span><span class=\"tabEnd\"> " + 22164562Sgshapiro "</span></caption>" 22290792Sgshapiro }, 22364562Sgshapiro // Class use documentation 22464562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "class-use" + FS + "I1.html", 22564562Sgshapiro "<caption><span>Packages that use <a href=\"../../pkg1/I1.html\" " + 22664562Sgshapiro "title=\"interface in pkg1\">I1</a></span><span class=\"tabEnd\">" + 22764562Sgshapiro " </span></caption>" 22864562Sgshapiro }, 22964562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "class-use" + FS + "C1.html", 23064562Sgshapiro "<caption><span>Fields in <a href=\"../../pkg2/package-summary.html\">" + 23164562Sgshapiro "pkg2</a> declared as <a href=\"../../pkg1/C1.html\" " + 23264562Sgshapiro "title=\"class in pkg1\">C1</a></span><span class=\"tabEnd\"> " + 23364562Sgshapiro "</span></caption>" 23464562Sgshapiro }, 23564562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "class-use" + FS + "C1.html", 23664562Sgshapiro "<caption><span>Methods in <a href=\"../../pkg2/package-summary.html\">" + 23790792Sgshapiro "pkg2</a> that return <a href=\"../../pkg1/C1.html\" " + 23864562Sgshapiro "title=\"class in pkg1\">C1</a></span><span class=\"tabEnd\">" + 23964562Sgshapiro " </span></caption>" 24064562Sgshapiro }, 24190792Sgshapiro {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "C2.html", 24264562Sgshapiro "<caption><span>Fields in <a href=\"../../pkg1/package-summary.html\">" + 24364562Sgshapiro "pkg1</a> declared as <a href=\"../../pkg2/C2.html\" " + 24490792Sgshapiro "title=\"class in pkg2\">C2</a></span><span class=\"tabEnd\">" + 24564562Sgshapiro " </span></caption>" 24690792Sgshapiro }, 24764562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "C2.html", 24864562Sgshapiro "<caption><span>Methods in <a href=\"../../pkg1/package-summary.html\">" + 24964562Sgshapiro "pkg1</a> that return <a href=\"../../pkg2/C2.html\" " + 25064562Sgshapiro "title=\"class in pkg2\">C2</a></span><span class=\"tabEnd\">" + 25164562Sgshapiro " </span></caption>" 25264562Sgshapiro }, 25390792Sgshapiro {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "C2.ModalExclusionType.html", 25464562Sgshapiro "<caption><span>Methods in <a href=\"../../pkg2/package-summary.html\">" + 25564562Sgshapiro "pkg2</a> that return <a href=\"../../pkg2/C2.ModalExclusionType.html\" " + 25664562Sgshapiro "title=\"enum in pkg2\">C2.ModalExclusionType</a></span>" + 25764562Sgshapiro "<span class=\"tabEnd\"> </span></caption>" 25864562Sgshapiro }, 25964562Sgshapiro // Package use documentation 26064562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "package-use.html", 26164562Sgshapiro "<caption><span>Packages that use <a href=\"../pkg1/package-summary.html\">" + 26264562Sgshapiro "pkg1</a></span><span class=\"tabEnd\"> </span></caption>" 26364562Sgshapiro }, 26464562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "package-use.html", 26590792Sgshapiro "<caption><span>Classes in <a href=\"../pkg1/package-summary.html\">" + 26664562Sgshapiro "pkg1</a> used by <a href=\"../pkg1/package-summary.html\">pkg1</a>" + 26764562Sgshapiro "</span><span class=\"tabEnd\"> </span></caption>" 26864562Sgshapiro }, 26990792Sgshapiro {BUG_ID + FS + "pkg2" + FS + "package-use.html", 27064562Sgshapiro "<caption><span>Packages that use <a href=\"../pkg2/package-summary.html\">" + 27164562Sgshapiro "pkg2</a></span><span class=\"tabEnd\"> </span></caption>" 27264562Sgshapiro }, 27364562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "package-use.html", 27464562Sgshapiro "<caption><span>Classes in <a href=\"../pkg2/package-summary.html\">" + 27564562Sgshapiro "pkg2</a> used by <a href=\"../pkg1/package-summary.html\">pkg1</a>" + 27664562Sgshapiro "</span><span class=\"tabEnd\"> </span></caption>" 27764562Sgshapiro }, 27864562Sgshapiro // Deprecated 27964562Sgshapiro {BUG_ID + FS + "deprecated-list.html", 28064562Sgshapiro "<caption><span>Deprecated Fields</span><span class=\"tabEnd\">" + 28164562Sgshapiro " </span></caption>" 28264562Sgshapiro }, 28364562Sgshapiro {BUG_ID + FS + "deprecated-list.html", 28464562Sgshapiro "<caption><span>Deprecated Methods</span><span class=\"tabEnd\">" + 28590792Sgshapiro " </span></caption>" 28690792Sgshapiro }, 28790792Sgshapiro // Constant values 28864562Sgshapiro {BUG_ID + FS + "constant-values.html", 28964562Sgshapiro "<caption><span>pkg1.<a href=\"pkg1/C1.html\" title=\"class in pkg1\">" + 29064562Sgshapiro "C1</a></span><span class=\"tabEnd\"> </span></caption>" 29164562Sgshapiro }, 29264562Sgshapiro // Overview Summary 29364562Sgshapiro {BUG_ID + FS + "overview-summary.html", 29464562Sgshapiro "<caption><span>Packages</span><span class=\"tabEnd\"> </span></caption>" 29564562Sgshapiro }, 29664562Sgshapiro 29764562Sgshapiro /* 29864562Sgshapiro * Test for validating headers for HTML tables 29964562Sgshapiro */ 30064562Sgshapiro 30171345Sgshapiro //Package summary 30264562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "package-summary.html", 30371345Sgshapiro "<th class=\"colFirst\" scope=\"col\">" + 30471345Sgshapiro "Class</th>" + NL + "<th class=\"colLast\" scope=\"col\"" + 30564562Sgshapiro ">Description</th>" 30664562Sgshapiro }, 30764562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "package-summary.html", 30890792Sgshapiro "<th class=\"colFirst\" scope=\"col\">" + 30964562Sgshapiro "Interface</th>" + NL + "<th class=\"colLast\" scope=\"col\"" + 31064562Sgshapiro ">Description</th>" 31190792Sgshapiro }, 31264562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "package-summary.html", 31364562Sgshapiro "<th class=\"colFirst\" scope=\"col\">" + 31464562Sgshapiro "Enum</th>" + NL + "<th class=\"colLast\" scope=\"col\"" + 31564562Sgshapiro ">Description</th>" 31664562Sgshapiro }, 31764562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "package-summary.html", 31864562Sgshapiro "<th class=\"colFirst\" scope=\"col\">" + 31964562Sgshapiro "Annotation Type</th>" + NL + "<th class=\"colLast\"" + 32064562Sgshapiro " scope=\"col\">Description</th>" 32164562Sgshapiro }, 32264562Sgshapiro // Class documentation 32364562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "C1.html", 32490792Sgshapiro "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>" + NL + 32564562Sgshapiro "<th class=\"colLast\" scope=\"col\">Field and Description</th>" 32690792Sgshapiro }, 32764562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "C1.html", 32864562Sgshapiro "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>" + NL + 32964562Sgshapiro "<th class=\"colLast\" scope=\"col\">Method and Description</th>" 33064562Sgshapiro }, 33164562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "C2.html", 33264562Sgshapiro "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>" + NL + 33364562Sgshapiro "<th class=\"colLast\" scope=\"col\">Class and Description</th>" 33464562Sgshapiro }, 33564562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "C2.html", 33664562Sgshapiro "<th class=\"colOne\" scope=\"col\">Constructor and Description</th>" 33764562Sgshapiro }, 33864562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "C2.ModalExclusionType.html", 33964562Sgshapiro "<th class=\"colOne\" scope=\"col\">Enum Constant and Description</th>" 34064562Sgshapiro }, 34164562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "C3.html", 34264562Sgshapiro "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>" + NL + 34364562Sgshapiro "<th class=\"colLast\" scope=\"col\">Required Element and Description</th>" 34464562Sgshapiro }, 34564562Sgshapiro {BUG_ID + FS + "pkg2" + FS + "C4.html", 34664562Sgshapiro "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>" + NL + 34764562Sgshapiro "<th class=\"colLast\" scope=\"col\">Optional Element and Description</th>" 34864562Sgshapiro }, 34964562Sgshapiro // Class use documentation 35064562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "class-use" + FS + "I1.html", 35164562Sgshapiro "<th class=\"colFirst\" scope=\"col\">Package</th>" + NL + 35264562Sgshapiro "<th class=\"colLast\" scope=\"col\">Description</th>" 35364562Sgshapiro }, 35464562Sgshapiro {BUG_ID + FS + "pkg1" + FS + "class-use" + FS + "C1.html", 35564562Sgshapiro "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>" + NL + 35664562Sgshapiro "<th class=\"colLast\" scope=\"col\">Field and Description</th>" 35764562Sgshapiro }, 35866494Sgshapiro {BUG_ID + FS + "pkg1" + FS + "class-use" + FS + "C1.html", 35966494Sgshapiro "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>" + NL + 36064562Sgshapiro "<th class=\"colLast\" scope=\"col\">Method and Description</th>" 361 }, 362 {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "C2.html", 363 "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>" + NL + 364 "<th class=\"colLast\" scope=\"col\">Field and Description</th>" 365 }, 366 {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "C2.html", 367 "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>" + NL + 368 "<th class=\"colLast\" scope=\"col\">Method and Description</th>" 369 }, 370 {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "C2.ModalExclusionType.html", 371 "<th class=\"colFirst\" scope=\"col\">Package</th>" + NL + 372 "<th class=\"colLast\" scope=\"col\">Description</th>" 373 }, 374 {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "C2.ModalExclusionType.html", 375 "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>" + NL + 376 "<th class=\"colLast\" scope=\"col\">Method and Description</th>" 377 }, 378 // Package use documentation 379 {BUG_ID + FS + "pkg1" + FS + "package-use.html", 380 "<th class=\"colFirst\" scope=\"col\">Package</th>" + NL + 381 "<th class=\"colLast\" scope=\"col\">Description</th>" 382 }, 383 {BUG_ID + FS + "pkg1" + FS + "package-use.html", 384 "<th class=\"colOne\" scope=\"col\">Class and Description</th>" 385 }, 386 {BUG_ID + FS + "pkg2" + FS + "package-use.html", 387 "<th class=\"colFirst\" scope=\"col\">Package</th>" + NL + 388 "<th class=\"colLast\" scope=\"col\">Description</th>" 389 }, 390 {BUG_ID + FS + "pkg2" + FS + "package-use.html", 391 "<th class=\"colOne\" scope=\"col\">Class and Description</th>" 392 }, 393 // Deprecated 394 {BUG_ID + FS + "deprecated-list.html", 395 "<th class=\"colOne\" scope=\"col\">Field and Description</th>" 396 }, 397 {BUG_ID + FS + "deprecated-list.html", 398 "<th class=\"colOne\" scope=\"col\">Method and Description</th>" 399 }, 400 // Constant values 401 {BUG_ID + FS + "constant-values.html", 402 "<th class=\"colFirst\" scope=\"col\">" + 403 "Modifier and Type</th>" + NL + "<th" + 404 " scope=\"col\">Constant Field</th>" + NL + 405 "<th class=\"colLast\" scope=\"col\">Value</th>" 406 }, 407 // Overview Summary 408 {BUG_ID + FS + "overview-summary.html", 409 "<th class=\"colFirst\" scope=\"col\">" + 410 "Package</th>" + NL + "<th class=\"colLast\" scope=\"col\"" + 411 ">Description</th>" 412 } 413 }; 414 private static final String[][] NEGATED_TEST = NO_TEST; 415 416 /** 417 * The entry point of the test. 418 * @param args the array of command line arguments. 419 */ 420 public static void main(String[] args) { 421 TestHtmlTableTags tester = new TestHtmlTableTags(); 422 run(tester, ARGS, TABLE_TAGS_TEST, NEGATED_TEST); 423 tester.printSummary(); 424 } 425 426 /** 427 * {@inheritDoc} 428 */ 429 public String getBugId() { 430 return BUG_ID; 431 } 432 433 /** 434 * {@inheritDoc} 435 */ 436 public String getBugName() { 437 return getClass().getName(); 438 } 439} 440