< prev index next >

test/tools/javadoc/api/basic/GetTask_DocletClassTest.java

Print this page




  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @bug 6493690
  27  * @summary javadoc should have a javax.tools.Tool service provider
  28  * @modules jdk.javadoc
  29  * @build APITest
  30  * @run main GetTask_DocletClassTest

  31  */
  32 
  33 import com.sun.javadoc.DocErrorReporter;
  34 import com.sun.javadoc.LanguageVersion;
  35 import com.sun.javadoc.RootDoc;
  36 import java.io.File;
  37 import java.util.Arrays;
  38 import java.util.Collections;
  39 import java.util.Random;
  40 import javax.tools.DocumentationTool;
  41 import javax.tools.DocumentationTool.DocumentationTask;
  42 import javax.tools.JavaFileObject;
  43 import javax.tools.StandardJavaFileManager;
  44 import javax.tools.ToolProvider;
  45 
  46 /**
  47  * Tests for DocumentationTool.getTask  docletClass  parameter.
  48  */
  49 public class GetTask_DocletClassTest extends APITest {
  50     public static void main(String... args) throws Exception {




  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @bug 6493690
  27  * @summary javadoc should have a javax.tools.Tool service provider
  28  * @modules jdk.javadoc
  29  * @build APITest
  30  * @run main GetTask_DocletClassTest
  31  * @key randomness
  32  */
  33 
  34 import com.sun.javadoc.DocErrorReporter;
  35 import com.sun.javadoc.LanguageVersion;
  36 import com.sun.javadoc.RootDoc;
  37 import java.io.File;
  38 import java.util.Arrays;
  39 import java.util.Collections;
  40 import java.util.Random;
  41 import javax.tools.DocumentationTool;
  42 import javax.tools.DocumentationTool.DocumentationTask;
  43 import javax.tools.JavaFileObject;
  44 import javax.tools.StandardJavaFileManager;
  45 import javax.tools.ToolProvider;
  46 
  47 /**
  48  * Tests for DocumentationTool.getTask  docletClass  parameter.
  49  */
  50 public class GetTask_DocletClassTest extends APITest {
  51     public static void main(String... args) throws Exception {


< prev index next >