langtools/test/com/sun/javadoc/WindowTitles/WindowTitles.java
changeset 7614 cfadc977ca75
parent 5520 86e4b9a9da40
child 7681 1f0819a3341f
equal deleted inserted replaced
7336:3fd30668e9b5 7614:cfadc977ca75
    92      * Assign value for [ stringToFind, filename ]
    92      * Assign value for [ stringToFind, filename ]
    93      * NOTE: The standard doclet uses platform-specific line separators (LS)
    93      * NOTE: The standard doclet uses platform-specific line separators (LS)
    94      */
    94      */
    95     private static final String[][] testArray = {
    95     private static final String[][] testArray = {
    96 
    96 
    97             { "<TITLE>" + LS + "Overview" + LS + "</TITLE>",
    97             { "<title>Overview</title>",
    98                     TMPDIR_STRING1 + "overview-summary.html"                  },
    98                     TMPDIR_STRING1 + "overview-summary.html"                  },
    99 
    99 
   100             { "<TITLE>" + LS + "Class Hierarchy" + LS + "</TITLE>",
   100             { "<title>Class Hierarchy</title>",
   101                     TMPDIR_STRING1 + "overview-tree.html"                     },
   101                     TMPDIR_STRING1 + "overview-tree.html"                     },
   102 
   102 
   103             { "<TITLE>" + LS + "Overview List" + LS + "</TITLE>",
   103             { "<title>Overview List</title>",
   104                     TMPDIR_STRING1 + "overview-frame.html"                    },
   104                     TMPDIR_STRING1 + "overview-frame.html"                    },
   105 
   105 
   106             { "<TITLE>" + LS + "p1" + LS + "</TITLE>",
   106             { "<title>p1</title>",
   107                     TMPDIR_STRING1 + "p1" + FS + "package-summary.html"       },
   107                     TMPDIR_STRING1 + "p1" + FS + "package-summary.html"       },
   108 
   108 
   109             { "<TITLE>" + LS + "p1" + LS + "</TITLE>",
   109             { "<title>p1</title>",
   110                     TMPDIR_STRING1 + "p1" + FS + "package-frame.html"         },
   110                     TMPDIR_STRING1 + "p1" + FS + "package-frame.html"         },
   111 
   111 
   112             { "<TITLE>" + LS + "p1 Class Hierarchy" + LS + "</TITLE>",
   112             { "<title>p1 Class Hierarchy</title>",
   113                     TMPDIR_STRING1 + "p1" + FS + "package-tree.html"          },
   113                     TMPDIR_STRING1 + "p1" + FS + "package-tree.html"          },
   114 
   114 
   115             { "<TITLE>" + LS + "Uses of Package p1" + LS + "</TITLE>",
   115             { "<title>Uses of Package p1</title>",
   116                     TMPDIR_STRING1 + "p1" + FS + "package-use.html"           },
   116                     TMPDIR_STRING1 + "p1" + FS + "package-use.html"           },
   117 
   117 
   118             { "<TITLE>" + LS + "C1" + LS + "</TITLE>",
   118             { "<title>C1</title>",
   119                     TMPDIR_STRING1 + "p1" + FS + "C1.html"                    },
   119                     TMPDIR_STRING1 + "p1" + FS + "C1.html"                    },
   120 
   120 
   121             { "<TITLE>" + LS + "All Classes" + LS + "</TITLE>",
   121             { "<title>All Classes</title>",
   122                     TMPDIR_STRING1 + "allclasses-frame.html"                  },
   122                     TMPDIR_STRING1 + "allclasses-frame.html"                  },
   123 
   123 
   124             { "<TITLE>" + LS + "All Classes" + LS + "</TITLE>",
   124             { "<title>All Classes</title>",
   125                     TMPDIR_STRING1 + "allclasses-noframe.html"                },
   125                     TMPDIR_STRING1 + "allclasses-noframe.html"                },
   126 
   126 
   127             { "<TITLE>" + LS + "Constant Field Values" + LS + "</TITLE>",
   127             { "<title>Constant Field Values</title>",
   128                     TMPDIR_STRING1 + "constant-values.html"                   },
   128                     TMPDIR_STRING1 + "constant-values.html"                   },
   129 
   129 
   130             { "<TITLE>" + LS + "Deprecated List" + LS + "</TITLE>",
   130             { "<title>Deprecated List</title>",
   131                     TMPDIR_STRING1 + "deprecated-list.html"                   },
   131                     TMPDIR_STRING1 + "deprecated-list.html"                   },
   132 
   132 
   133             { "<TITLE>" + LS + "Serialized Form" + LS + "</TITLE>",
   133             { "<title>Serialized Form</title>",
   134                     TMPDIR_STRING1 + "serialized-form.html"                   },
   134                     TMPDIR_STRING1 + "serialized-form.html"                   },
   135 
   135 
   136             { "<TITLE>" + LS + "API Help" + LS + "</TITLE>",
   136             { "<title>API Help</title>",
   137                     TMPDIR_STRING1 + "help-doc.html"                          },
   137                     TMPDIR_STRING1 + "help-doc.html"                          },
   138 
   138 
   139             { "<TITLE>" + LS + "Index" + LS + "</TITLE>",
   139             { "<title>Index</title>",
   140                     TMPDIR_STRING1 + "index-all.html"                         },
   140                     TMPDIR_STRING1 + "index-all.html"                         },
   141 
   141 
   142             { "<TITLE>" + LS + "Uses of Class p1.C1" + LS + "</TITLE>",
   142             { "<title>Uses of Class p1.C1</title>",
   143                     TMPDIR_STRING1 + "p1" + FS + "class-use" + FS + "C1.html" },
   143                     TMPDIR_STRING1 + "p1" + FS + "class-use" + FS + "C1.html" },
   144         };
   144         };
   145 
   145 
   146     /**
   146     /**
   147      * Assign value for [ stringToFind, filename ] for split index page
   147      * Assign value for [ stringToFind, filename ] for split index page
   148      */
   148      */
   149     private static final String[][] testSplitIndexArray = {
   149     private static final String[][] testSplitIndexArray = {
   150             { "<TITLE>" + LS + "C-Index" + LS + "</TITLE>",
   150             { "<title>C-Index</title>",
   151                     TMPDIR_STRING2 + "index-files" + FS + "index-1.html"       },
   151                     TMPDIR_STRING2 + "index-files" + FS + "index-1.html"       },
   152         };
   152         };
   153 
   153 
   154     public static void runTestsOnHTML(String[][] testArray) {
   154     public static void runTestsOnHTML(String[][] testArray) {
   155 
   155