--- a/test/langtools/jdk/javadoc/doclet/testGroupOption/TestGroupOption.java Fri Dec 21 16:56:40 2018 +0100
+++ b/test/langtools/jdk/javadoc/doclet/testGroupOption/TestGroupOption.java Fri Dec 21 10:38:33 2018 -0800
@@ -27,12 +27,14 @@
* @summary Test to make sure the -group option works correctly
* with the given pattern usages.
* @author jamieh
- * @library ../lib
- * @modules jdk.javadoc/jdk.javadoc.internal.tool
- * @build JavadocTester
+ * @library ../../lib
+ * @modules jdk.javadoc/jdk.javadoc.internal.tool
+ * @build javadoc.tester.*
* @run main TestGroupOption
*/
+import javadoc.tester.JavadocTester;
+
public class TestGroupOption extends JavadocTester {
public static void main(String... args) throws Exception {
@@ -41,7 +43,7 @@
}
@Test
- void test1() {
+ public void test1() {
// Make sure the warning is not printed when -group is used correctly.
javadoc("-d", "out-1",
"-sourcepath", testSrc,
@@ -58,7 +60,7 @@
@Test
// Make sure the "Other packages" section is printed and the header for empty section is not.
// Make sure that the headers of group that is defined using patterns are printed.
- void test2() {
+ public void test2() {
javadoc("-d", "out-2",
"--frames",
"-sourcepath", testSrc,
@@ -74,7 +76,7 @@
}
@Test
- void test3() {
+ public void test3() {
// Make sure the warning is printed when -group is not used correctly.
javadoc("-d", "out-3",
"-sourcepath", testSrc,