langtools/test/com/sun/javadoc/testHtmlTableStyles/TestHtmlTableStyles.java
changeset 23971 f5ff1f5a8dee
parent 20613 ab4801a53abb
child 24065 fc4022e50129
equal deleted inserted replaced
23970:76f4acb11952 23971:f5ff1f5a8dee
     1 /*
     1 /*
     2  * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 2014, 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.
    35 
    35 
    36     private static final String BUG_ID = "8008164";
    36     private static final String BUG_ID = "8008164";
    37 
    37 
    38     //Input for string search tests.
    38     //Input for string search tests.
    39     private static final String[][] TEST = {
    39     private static final String[][] TEST = {
    40         {BUG_ID + FS + "pkg1" + FS + "TestTable.html",
    40         {BUG_ID + "/pkg1/TestTable.html",
    41             "<table border cellpadding=3 cellspacing=1>"
    41             "<table border cellpadding=3 cellspacing=1>"
    42         },
    42         },
    43         {BUG_ID + FS + "pkg1" + FS + "TestTable.html",
    43         {BUG_ID + "/pkg1/TestTable.html",
    44             "<table class=\"memberSummary\" border=\"0\" cellpadding=\"3\" " +
    44             "<table class=\"memberSummary\" border=\"0\" cellpadding=\"3\" " +
    45             "cellspacing=\"0\" summary=\"Field Summary table, listing fields, " +
    45             "cellspacing=\"0\" summary=\"Field Summary table, listing fields, " +
    46             "and an explanation\">"
    46             "and an explanation\">"
    47         },
    47         },
    48         {BUG_ID + FS + "pkg1" + FS + "TestTable.html",
    48         {BUG_ID + "/pkg1/TestTable.html",
    49             "<table class=\"memberSummary\" border=\"0\" cellpadding=\"3\" " +
    49             "<table class=\"memberSummary\" border=\"0\" cellpadding=\"3\" " +
    50             "cellspacing=\"0\" summary=\"Constructor Summary table, listing " +
    50             "cellspacing=\"0\" summary=\"Constructor Summary table, listing " +
    51             "constructors, and an explanation\">"
    51             "constructors, and an explanation\">"
    52         },
    52         },
    53         {BUG_ID + FS + "pkg1" + FS + "TestTable.html",
    53         {BUG_ID + "/pkg1/TestTable.html",
    54             "<table class=\"memberSummary\" border=\"0\" cellpadding=\"3\" " +
    54             "<table class=\"memberSummary\" border=\"0\" cellpadding=\"3\" " +
    55             "cellspacing=\"0\" summary=\"Method Summary table, listing methods, " +
    55             "cellspacing=\"0\" summary=\"Method Summary table, listing methods, " +
    56             "and an explanation\">"
    56             "and an explanation\">"
    57         },
    57         },
    58         {BUG_ID + FS + "pkg1" + FS + "package-summary.html",
    58         {BUG_ID + "/pkg1/package-summary.html",
    59             "<table class=\"typeSummary\" border=\"0\" cellpadding=\"3\" " +
    59             "<table class=\"typeSummary\" border=\"0\" cellpadding=\"3\" " +
    60             "cellspacing=\"0\" summary=\"Class Summary table, listing classes, " +
    60             "cellspacing=\"0\" summary=\"Class Summary table, listing classes, " +
    61             "and an explanation\">"
    61             "and an explanation\">"
    62         },
    62         },
    63         {BUG_ID + FS + "pkg1" + FS + "class-use" + FS + "TestTable.html",
    63         {BUG_ID + "/pkg1/class-use/TestTable.html",
    64             "<table class=\"useSummary\" border=\"0\" cellpadding=\"3\" " +
    64             "<table class=\"useSummary\" border=\"0\" cellpadding=\"3\" " +
    65             "cellspacing=\"0\" summary=\"Use table, listing fields, and an explanation\">"
    65             "cellspacing=\"0\" summary=\"Use table, listing fields, and an explanation\">"
    66         },
    66         },
    67         {BUG_ID + FS + "overview-summary.html",
    67         {BUG_ID + "/overview-summary.html",
    68             "<table class=\"overviewSummary\" border=\"0\" cellpadding=\"3\" " +
    68             "<table class=\"overviewSummary\" border=\"0\" cellpadding=\"3\" " +
    69             "cellspacing=\"0\" summary=\"Packages table, listing packages, and an explanation\">"
    69             "cellspacing=\"0\" summary=\"Packages table, listing packages, and an explanation\">"
    70         },
    70         },
    71         {BUG_ID + FS + "deprecated-list.html",
    71         {BUG_ID + "/deprecated-list.html",
    72             "<table class=\"deprecatedSummary\" border=\"0\" cellpadding=\"3\" " +
    72             "<table class=\"deprecatedSummary\" border=\"0\" cellpadding=\"3\" " +
    73             "cellspacing=\"0\" summary=\"Deprecated Methods table, listing " +
    73             "cellspacing=\"0\" summary=\"Deprecated Methods table, listing " +
    74             "deprecated methods, and an explanation\">"
    74             "deprecated methods, and an explanation\">"
    75         },
    75         },
    76         {BUG_ID + FS + "constant-values.html",
    76         {BUG_ID + "/constant-values.html",
    77             "<table class=\"constantsSummary\" border=\"0\" cellpadding=\"3\" " +
    77             "<table class=\"constantsSummary\" border=\"0\" cellpadding=\"3\" " +
    78             "cellspacing=\"0\" summary=\"Constant Field Values table, listing " +
    78             "cellspacing=\"0\" summary=\"Constant Field Values table, listing " +
    79             "constant fields, and values\">"
    79             "constant fields, and values\">"
    80         },
    80         },
    81     };
    81     };