test/langtools/jdk/javadoc/doclet/testHtmlWarning/TestHtmlWarning.java
changeset 53097 2e82ca64b25d
parent 49139 771616d26ca1
--- a/test/langtools/jdk/javadoc/doclet/testHtmlWarning/TestHtmlWarning.java	Fri Dec 21 16:56:40 2018 +0100
+++ b/test/langtools/jdk/javadoc/doclet/testHtmlWarning/TestHtmlWarning.java	Fri Dec 21 10:38:33 2018 -0800
@@ -25,9 +25,9 @@
  * @test
  * @bug 8194955 8182765
  * @summary Warn when default HTML version is used.
- * @library ../lib
+ * @library ../../lib
  * @modules jdk.javadoc/jdk.javadoc.internal.tool
- * @build JavadocTester
+ * @build javadoc.tester.*
  * @run main TestHtmlWarning
  */
 
@@ -36,6 +36,8 @@
 import java.nio.file.Paths;
 import java.util.List;
 
+import javadoc.tester.JavadocTester;
+
 public class TestHtmlWarning extends JavadocTester {
 
     public static void main(String... args) throws Exception {
@@ -54,7 +56,7 @@
             + "in your comments are valid in HTML5, and remove the -html4 option.";
 
     @Test
-    void testHtml4() {
+    public void testHtml4() {
         javadoc("-d", "out-4",
                 "-html4",
                 testFile.toString());
@@ -64,7 +66,7 @@
     }
 
     @Test
-    void testHtml5() {
+    public void testHtml5() {
         javadoc("-d", "out-5",
                 "-html5",
                 testFile.toString());
@@ -74,7 +76,7 @@
     }
 
     @Test
-    void testDefault() {
+    public void testDefault() {
         javadoc("-d", "out-default",
                 testFile.toString());
         checkExit(Exit.OK);