test/langtools/jdk/javadoc/doclet/testConstructors/TestConstructors.java
changeset 53097 2e82ca64b25d
parent 49139 771616d26ca1
child 53562 0d9dee001667
--- a/test/langtools/jdk/javadoc/doclet/testConstructors/TestConstructors.java	Fri Dec 21 16:56:40 2018 +0100
+++ b/test/langtools/jdk/javadoc/doclet/testConstructors/TestConstructors.java	Fri Dec 21 10:38:33 2018 -0800
@@ -26,12 +26,14 @@
  * @bug 8025524 8031625 8081854 8175200 8186332 8182765
  * @summary Test for constructor name which should be a non-qualified name.
  * @author Bhavesh Patel
- * @library ../lib
+ * @library ../../lib
  * @modules jdk.javadoc/jdk.javadoc.internal.tool
- * @build JavadocTester
+ * @build javadoc.tester.*
  * @run main TestConstructors
  */
 
+import javadoc.tester.JavadocTester;
+
 public class TestConstructors extends JavadocTester {
 
     public static void main(String... args) throws Exception {
@@ -40,7 +42,7 @@
     }
 
     @Test
-    void test() {
+    public void test() {
         javadoc("-d", "out",
                 "-sourcepath", testSrc,
                 "pkg1");
@@ -90,7 +92,7 @@
     }
 
     @Test
-    void test_html4() {
+    public void test_html4() {
         javadoc("-d", "out-html4",
                 "-html4",
                 "-sourcepath", testSrc,