test/langtools/jdk/javadoc/doclet/testModuleDirs/TestModuleDirs.java
changeset 50293 edfb87b2520e
parent 49569 d4d2f634b72f
child 50895 83ed34655f59
equal deleted inserted replaced
50292:43d41f780a5b 50293:edfb87b2520e
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8195795 8201396
    26  * @bug 8195795 8201396 8196202
    27  * @summary test the use of module directories in output,
    27  * @summary test the use of module directories in output,
    28  *          and the --no-module-directories option
    28  *          and the --no-module-directories option
    29  * @modules jdk.javadoc/jdk.javadoc.internal.api
    29  * @modules jdk.javadoc/jdk.javadoc.internal.api
    30  *          jdk.javadoc/jdk.javadoc.internal.tool
    30  *          jdk.javadoc/jdk.javadoc.internal.tool
    31  *          jdk.compiler/com.sun.tools.javac.api
    31  *          jdk.compiler/com.sun.tools.javac.api
    80                 .exports("pb")
    80                 .exports("pb")
    81                 .write(src);
    81                 .write(src);
    82 
    82 
    83         javadoc("-d", base.resolve("api").toString(),
    83         javadoc("-d", base.resolve("api").toString(),
    84                 "-quiet",
    84                 "-quiet",
       
    85                 "--frames",
    85                 "--module-source-path", src.toString(),
    86                 "--module-source-path", src.toString(),
    86                 "--no-module-directories",
    87                 "--no-module-directories",
    87                 "--module", "ma,mb");
    88                 "--module", "ma,mb");
    88 
    89 
    89         checkExit(Exit.OK);
    90         checkExit(Exit.OK);
   123                 .exports("pb")
   124                 .exports("pb")
   124                 .write(src);
   125                 .write(src);
   125 
   126 
   126         javadoc("-d", base.resolve("api").toString(),
   127         javadoc("-d", base.resolve("api").toString(),
   127                 "-quiet",
   128                 "-quiet",
       
   129                 "--frames",
   128                 "--module-source-path", src.toString(),
   130                 "--module-source-path", src.toString(),
   129                 "--module", "ma,mb");
   131                 "--module", "ma,mb");
   130 
   132 
   131         checkExit(Exit.OK);
   133         checkExit(Exit.OK);
   132         checkFiles(false,
   134         checkFiles(false,