8221644: jquery directory should be renamed
Reviewed-by: jjg
Before Width: | Height: | Size: 335 B After Width: | Height: | Size: 335 B |
Before Width: | Height: | Size: 262 B After Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 262 B After Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 262 B After Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 332 B After Width: | Height: | Size: 332 B |
Before Width: | Height: | Size: 280 B After Width: | Height: | Size: 280 B |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
@ -100,7 +100,7 @@ public class DocPaths {
|
||||
public static final DocPath JAVASCRIPT = DocPath.create("script.js");
|
||||
|
||||
/** The name of the directory for the jQuery. */
|
||||
public static final DocPath JQUERY_FILES = DocPath.create("jquery");
|
||||
public static final DocPath JQUERY_FILES = DocPath.create("script-dir");
|
||||
|
||||
/** The name of the default jQuery stylesheet file. */
|
||||
public static final DocPath JQUERY_STYLESHEET_FILE = DocPath.create("jquery-ui.css");
|
||||
|
@ -7,15 +7,15 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="date" content="(removed)">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<script type="text/javascript" src="script-dir/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="script-dir/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<script type="text/javascript" src="script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-1.10.2.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
|
||||
<script type="text/javascript" src="script-dir/jquery-1.10.2.js"></script>
|
||||
<script type="text/javascript" src="script-dir/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
|
@ -386,15 +386,15 @@ public class TestSearch extends JavadocTester {
|
||||
void checkSearchOutput(String fileName, boolean expectedOutput, boolean moduleDirectoriesVar) {
|
||||
// Test for search related markup
|
||||
checkOutput(fileName, expectedOutput,
|
||||
"<link rel=\"stylesheet\" type=\"text/css\" href=\"jquery/jquery-ui.css\" title=\"Style\">\n",
|
||||
"<script type=\"text/javascript\" src=\"jquery/jszip/dist/jszip.min.js\"></script>\n",
|
||||
"<script type=\"text/javascript\" src=\"jquery/jszip-utils/dist/jszip-utils.min.js\"></script>\n",
|
||||
"<link rel=\"stylesheet\" type=\"text/css\" href=\"script-dir/jquery-ui.css\" title=\"Style\">\n",
|
||||
"<script type=\"text/javascript\" src=\"script-dir/jszip/dist/jszip.min.js\"></script>\n",
|
||||
"<script type=\"text/javascript\" src=\"script-dir/jszip-utils/dist/jszip-utils.min.js\"></script>\n",
|
||||
"<!--[if IE]>\n",
|
||||
"<script type=\"text/javascript\" src=\"jquery/jszip-utils/dist/jszip-utils-ie.min.js\"></script>\n",
|
||||
"<script type=\"text/javascript\" src=\"script-dir/jszip-utils/dist/jszip-utils-ie.min.js\"></script>\n",
|
||||
"<![endif]-->\n",
|
||||
"<script type=\"text/javascript\" src=\"jquery/jquery-3.3.1.js\"></script>\n",
|
||||
"<script type=\"text/javascript\" src=\"jquery/jquery-migrate-3.0.1.js\"></script>\n",
|
||||
"<script type=\"text/javascript\" src=\"jquery/jquery-ui.js\"></script>",
|
||||
"<script type=\"text/javascript\" src=\"script-dir/jquery-3.3.1.js\"></script>\n",
|
||||
"<script type=\"text/javascript\" src=\"script-dir/jquery-migrate-3.0.1.js\"></script>\n",
|
||||
"<script type=\"text/javascript\" src=\"script-dir/jquery-ui.js\"></script>",
|
||||
"var pathtoroot = \"./\";\n"
|
||||
+ "var useModuleDirectories = " + moduleDirectoriesVar + ";\n"
|
||||
+ "loadScripts(document, 'script');",
|
||||
@ -585,32 +585,32 @@ public class TestSearch extends JavadocTester {
|
||||
void checkJqueryAndImageFiles(boolean expectedOutput) {
|
||||
checkFiles(expectedOutput,
|
||||
"search.js",
|
||||
"jquery/jquery-3.3.1.js",
|
||||
"jquery/jquery-migrate-3.0.1.js",
|
||||
"jquery/jquery-ui.js",
|
||||
"jquery/jquery-ui.css",
|
||||
"jquery/jquery-ui.min.js",
|
||||
"jquery/jquery-ui.min.css",
|
||||
"jquery/jquery-ui.structure.min.css",
|
||||
"jquery/jquery-ui.structure.css",
|
||||
"jquery/external/jquery/jquery.js",
|
||||
"jquery/jszip/dist/jszip.js",
|
||||
"jquery/jszip/dist/jszip.min.js",
|
||||
"jquery/jszip-utils/dist/jszip-utils.js",
|
||||
"jquery/jszip-utils/dist/jszip-utils.min.js",
|
||||
"jquery/jszip-utils/dist/jszip-utils-ie.js",
|
||||
"jquery/jszip-utils/dist/jszip-utils-ie.min.js",
|
||||
"jquery/images/ui-bg_glass_65_dadada_1x400.png",
|
||||
"jquery/images/ui-icons_454545_256x240.png",
|
||||
"jquery/images/ui-bg_glass_95_fef1ec_1x400.png",
|
||||
"jquery/images/ui-bg_glass_75_dadada_1x400.png",
|
||||
"jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png",
|
||||
"jquery/images/ui-icons_888888_256x240.png",
|
||||
"jquery/images/ui-icons_2e83ff_256x240.png",
|
||||
"jquery/images/ui-icons_cd0a0a_256x240.png",
|
||||
"jquery/images/ui-bg_glass_55_fbf9ee_1x400.png",
|
||||
"jquery/images/ui-icons_222222_256x240.png",
|
||||
"jquery/images/ui-bg_glass_75_e6e6e6_1x400.png",
|
||||
"script-dir/jquery-3.3.1.js",
|
||||
"script-dir/jquery-migrate-3.0.1.js",
|
||||
"script-dir/jquery-ui.js",
|
||||
"script-dir/jquery-ui.css",
|
||||
"script-dir/jquery-ui.min.js",
|
||||
"script-dir/jquery-ui.min.css",
|
||||
"script-dir/jquery-ui.structure.min.css",
|
||||
"script-dir/jquery-ui.structure.css",
|
||||
"script-dir/external/jquery/jquery.js",
|
||||
"script-dir/jszip/dist/jszip.js",
|
||||
"script-dir/jszip/dist/jszip.min.js",
|
||||
"script-dir/jszip-utils/dist/jszip-utils.js",
|
||||
"script-dir/jszip-utils/dist/jszip-utils.min.js",
|
||||
"script-dir/jszip-utils/dist/jszip-utils-ie.js",
|
||||
"script-dir/jszip-utils/dist/jszip-utils-ie.min.js",
|
||||
"script-dir/images/ui-bg_glass_65_dadada_1x400.png",
|
||||
"script-dir/images/ui-icons_454545_256x240.png",
|
||||
"script-dir/images/ui-bg_glass_95_fef1ec_1x400.png",
|
||||
"script-dir/images/ui-bg_glass_75_dadada_1x400.png",
|
||||
"script-dir/images/ui-bg_highlight-soft_75_cccccc_1x100.png",
|
||||
"script-dir/images/ui-icons_888888_256x240.png",
|
||||
"script-dir/images/ui-icons_2e83ff_256x240.png",
|
||||
"script-dir/images/ui-icons_cd0a0a_256x240.png",
|
||||
"script-dir/images/ui-bg_glass_55_fbf9ee_1x400.png",
|
||||
"script-dir/images/ui-icons_222222_256x240.png",
|
||||
"script-dir/images/ui-bg_glass_75_e6e6e6_1x400.png",
|
||||
"resources/x.png",
|
||||
"resources/glass.png");
|
||||
}
|
||||
|
@ -197,32 +197,32 @@ class APITest {
|
||||
"help-doc.html",
|
||||
"index-all.html",
|
||||
"index.html",
|
||||
"jquery/jquery-3.3.1.js",
|
||||
"jquery/jquery-migrate-3.0.1.js",
|
||||
"jquery/jquery-ui.js",
|
||||
"jquery/jquery-ui.css",
|
||||
"jquery/jquery-ui.min.js",
|
||||
"jquery/jquery-ui.min.css",
|
||||
"jquery/jquery-ui.structure.min.css",
|
||||
"jquery/jquery-ui.structure.css",
|
||||
"jquery/external/jquery/jquery.js",
|
||||
"jquery/jszip/dist/jszip.js",
|
||||
"jquery/jszip/dist/jszip.min.js",
|
||||
"jquery/jszip-utils/dist/jszip-utils.js",
|
||||
"jquery/jszip-utils/dist/jszip-utils.min.js",
|
||||
"jquery/jszip-utils/dist/jszip-utils-ie.js",
|
||||
"jquery/jszip-utils/dist/jszip-utils-ie.min.js",
|
||||
"jquery/images/ui-bg_glass_65_dadada_1x400.png",
|
||||
"jquery/images/ui-icons_454545_256x240.png",
|
||||
"jquery/images/ui-bg_glass_95_fef1ec_1x400.png",
|
||||
"jquery/images/ui-bg_glass_75_dadada_1x400.png",
|
||||
"jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png",
|
||||
"jquery/images/ui-icons_888888_256x240.png",
|
||||
"jquery/images/ui-icons_2e83ff_256x240.png",
|
||||
"jquery/images/ui-icons_cd0a0a_256x240.png",
|
||||
"jquery/images/ui-bg_glass_55_fbf9ee_1x400.png",
|
||||
"jquery/images/ui-icons_222222_256x240.png",
|
||||
"jquery/images/ui-bg_glass_75_e6e6e6_1x400.png",
|
||||
"script-dir/jquery-3.3.1.js",
|
||||
"script-dir/jquery-migrate-3.0.1.js",
|
||||
"script-dir/jquery-ui.js",
|
||||
"script-dir/jquery-ui.css",
|
||||
"script-dir/jquery-ui.min.js",
|
||||
"script-dir/jquery-ui.min.css",
|
||||
"script-dir/jquery-ui.structure.min.css",
|
||||
"script-dir/jquery-ui.structure.css",
|
||||
"script-dir/external/jquery/jquery.js",
|
||||
"script-dir/jszip/dist/jszip.js",
|
||||
"script-dir/jszip/dist/jszip.min.js",
|
||||
"script-dir/jszip-utils/dist/jszip-utils.js",
|
||||
"script-dir/jszip-utils/dist/jszip-utils.min.js",
|
||||
"script-dir/jszip-utils/dist/jszip-utils-ie.js",
|
||||
"script-dir/jszip-utils/dist/jszip-utils-ie.min.js",
|
||||
"script-dir/images/ui-bg_glass_65_dadada_1x400.png",
|
||||
"script-dir/images/ui-icons_454545_256x240.png",
|
||||
"script-dir/images/ui-bg_glass_95_fef1ec_1x400.png",
|
||||
"script-dir/images/ui-bg_glass_75_dadada_1x400.png",
|
||||
"script-dir/images/ui-bg_highlight-soft_75_cccccc_1x100.png",
|
||||
"script-dir/images/ui-icons_888888_256x240.png",
|
||||
"script-dir/images/ui-icons_2e83ff_256x240.png",
|
||||
"script-dir/images/ui-icons_cd0a0a_256x240.png",
|
||||
"script-dir/images/ui-bg_glass_55_fbf9ee_1x400.png",
|
||||
"script-dir/images/ui-icons_222222_256x240.png",
|
||||
"script-dir/images/ui-bg_glass_75_e6e6e6_1x400.png",
|
||||
"member-search-index.js",
|
||||
"member-search-index.zip",
|
||||
"overview-tree.html",
|
||||
@ -242,7 +242,7 @@ class APITest {
|
||||
));
|
||||
|
||||
protected static Set<String> noIndexFiles = standardExpectFiles.stream()
|
||||
.filter(s -> !s.startsWith("jquery") && !s.startsWith("resources") && !s.endsWith("zip")
|
||||
.filter(s -> !s.startsWith("script-dir") && !s.startsWith("resources") && !s.endsWith("zip")
|
||||
&& !s.equals("index-all.html") && !s.equals("search.js") && !s.endsWith("-search-index.js")
|
||||
&& !s.equals("allclasses-index.html") && !s.equals("allpackages-index.html"))
|
||||
.collect(Collectors.toSet());
|
||||
|