< prev index next >
test/langtools/jdk/javadoc/doclet/testModules/TestModuleServices.java
Print this page
@@ -122,35 +122,35 @@
"--module", "moduleService,moduleServiceProvider,moduleServiceUser,moduleServiceUserNoDescription",
"pkgService", "moduleServiceProvider/pkgServiceProvider", "moduleServiceUser/pkgServiceUser",
"moduleServiceUserNoDescription/pkgServiceUserNoDescription");
checkExit(Exit.OK);
- checkOutput("moduleServiceProvider-summary.html", true,
+ checkOutput("moduleServiceProvider/module-summary.html", true,
"<tr class=\"altColor\">\n"
- + "<th class=\"colFirst\" scope=\"row\"><a href=\"pkgService/Service.html\" "
+ + "<th class=\"colFirst\" scope=\"row\"><a href=\"../moduleService/pkgService/Service.html\" "
+ "title=\"interface in pkgService\">Service</a></th>\n"
+ "<td class=\"colLast\">\n"
+ "<div class=\"block\">Provides a service whose name is ServiceProvider.</div>\n"
+ "</td>\n"
+ "</tr>");
- checkOutput("moduleServiceUser-summary.html", true,
+ checkOutput("moduleServiceUser/module-summary.html", true,
"<tr class=\"altColor\">\n"
- + "<th class=\"colFirst\" scope=\"row\"><a href=\"pkgService/Service.html\" title=\"interface in pkgService\">Service</a></th>\n"
+ + "<th class=\"colFirst\" scope=\"row\"><a href=\"../moduleService/pkgService/Service.html\" title=\"interface in pkgService\">Service</a></th>\n"
+ "<td class=\"colLast\">\n"
+ "<div class=\"block\">If no other provider is found, a default internal implementation will be used.</div>\n"
+ "</td>\n"
+ "</tr>");
- checkOutput("moduleServiceUserNoDescription-summary.html", true,
+ checkOutput("moduleServiceUserNoDescription/module-summary.html", true,
"<tr class=\"altColor\">\n"
- + "<th class=\"colFirst\" scope=\"row\"><a href=\"pkgService/Service.html\" title=\"interface in pkgService\">Service</a></th>\n"
+ + "<th class=\"colFirst\" scope=\"row\"><a href=\"../moduleService/pkgService/Service.html\" title=\"interface in pkgService\">Service</a></th>\n"
+ "<td class=\"colLast\">\n"
+ "<div class=\"block\">A service Interface for service providers.</div>\n"
+ "</td>\n"
+ "</tr>");
- checkOutput("moduleServiceProvider-summary.html", false,
+ checkOutput("moduleServiceProvider/module-summary.html", false,
"A service Interface for service providers.");
- checkOutput("moduleServiceUser-summary.html", false,
+ checkOutput("moduleServiceUser/module-summary.html", false,
"A service Interface for service providers.");
}
@Test
public void checkUsesNoApiTagModuleModeDefault(Path base) throws Exception {
@@ -167,11 +167,11 @@
"-quiet",
"--module-source-path", base.toString(),
"--module", "m");
checkExit(Exit.OK);
- checkOutput("m-summary.html", false,
+ checkOutput("m/module-summary.html", false,
"<h3>Services</h3>");
}
@Test
public void checkUsesNoApiTagModuleModeAll(Path base) throws Exception {
@@ -188,14 +188,14 @@
"--show-module-contents", "all",
"--module-source-path", base.toString(),
"--module", "m");
checkExit(Exit.OK);
- checkOutput("m-summary.html", true,
+ checkOutput("m/module-summary.html", true,
"<h3>Services</h3>");
- checkOutput("m-summary.html", true,
+ checkOutput("m/module-summary.html", true,
"<table class=\"usesSummary\" summary=\"Uses table, listing types, and an explanation\">\n" +
"<caption><span>Uses</span><span class=\"tabEnd\"> </span></caption>\n" +
"<tr>\n" +
"<th class=\"colFirst\" scope=\"col\">Type</th>\n" +
"<th class=\"colLast\" scope=\"col\">Description</th>\n" +
@@ -228,14 +228,14 @@
"-quiet",
"--module-source-path", base.toString(),
"--module", "m");
checkExit(Exit.OK);
- checkOutput("m-summary.html", true,
+ checkOutput("m/module-summary.html", true,
"<h3>Services</h3>");
- checkOutput("m-summary.html", true,
+ checkOutput("m/module-summary.html", true,
"<table class=\"usesSummary\" summary=\"Uses table, listing types, and an explanation\">\n" +
"<caption><span>Uses</span><span class=\"tabEnd\"> </span></caption>\n" +
"<tr>\n" +
"<th class=\"colFirst\" scope=\"col\">Type</th>\n" +
"<th class=\"colLast\" scope=\"col\">Description</th>\n" +
@@ -268,11 +268,11 @@
"--module-source-path", base.toString(),
"--module", "m");
checkExit(Exit.OK);
- checkOutput("m-summary.html", false,
+ checkOutput("m/module-summary.html", false,
"<h3>Services</h3>");
}
@Test
public void checkProvidesNoApiTagModuleModeAll(Path base) throws Exception {
@@ -294,14 +294,14 @@
"--module-source-path", base.toString(),
"--module", "m");
checkExit(Exit.OK);
- checkOutput("m-summary.html", true,
+ checkOutput("m/module-summary.html", true,
"<h3>Services</h3>");
- checkOutput("m-summary.html", true,
+ checkOutput("m/module-summary.html", true,
"<table class=\"providesSummary\" summary=\"Provides table, listing types, and an explanation\">\n" +
"<caption><span>Provides</span><span class=\"tabEnd\"> </span></caption>\n" +
"<tr>\n" +
"<th class=\"colFirst\" scope=\"col\">Type</th>\n" +
"<th class=\"colLast\" scope=\"col\">Description</th>\n" +
@@ -337,14 +337,14 @@
"--module-source-path", base.toString(),
"--module", "m");
checkExit(Exit.OK);
- checkOutput("m-summary.html", true,
+ checkOutput("m/module-summary.html", true,
"<h3>Services</h3>");
- checkOutput("m-summary.html", true,
+ checkOutput("m/module-summary.html", true,
"<table class=\"providesSummary\" summary=\"Provides table, listing types, and an explanation\">\n" +
"<caption><span>Provides</span><span class=\"tabEnd\"> </span></caption>\n" +
"<tr>\n" +
"<th class=\"colFirst\" scope=\"col\">Type</th>\n" +
"<th class=\"colLast\" scope=\"col\">Description</th>\n" +
@@ -379,14 +379,14 @@
"--module-source-path", base.toString(),
"--module", "m");
checkExit(Exit.OK);
- checkOutput("m-summary.html", true,
+ checkOutput("m/module-summary.html", true,
"<h3>Services</h3>");
- checkOutput("m-summary.html", true,
+ checkOutput("m/module-summary.html", true,
"<table class=\"providesSummary\" summary=\"Provides table, listing types, and an explanation\">\n" +
"<caption><span>Provides</span><span class=\"tabEnd\"> </span></caption>\n" +
"<tr>\n" +
"<th class=\"colFirst\" scope=\"col\">Type</th>\n" +
"<th class=\"colLast\" scope=\"col\">Description</th>\n" +
< prev index next >