equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
25 * @test |
25 * @test |
26 * @bug 4421066 |
26 * @bug 4421066 |
27 * @summary Verify the comments in an enum type. |
27 * @summary Verify the comments in an enum type. |
28 * @library ../../lib |
28 * @library ../../lib |
29 * @modules jdk.javadoc |
29 * @modules jdk.javadoc |
30 * @compile ../../lib/Tester.java Main.java |
30 * @compile ../../lib/OldToolTester.java Main.java |
31 * @run main Main |
31 * @run main Main |
32 */ |
32 */ |
33 |
33 |
34 import java.io.IOException; |
34 import java.io.IOException; |
35 import com.sun.javadoc.*; |
35 import com.sun.javadoc.*; |
36 |
36 |
37 public class Main extends Tester.Doclet { |
37 public class Main extends OldToolTester.Doclet { |
38 |
38 |
39 private static final Tester tester = |
39 private static final OldToolTester tester = |
40 new Tester("Main", "-package", "pkg1"); |
40 new OldToolTester("Main", "-package", "pkg1"); |
41 |
41 |
42 public static void main(String[] args) throws IOException { |
42 public static void main(String[] args) throws IOException { |
43 tester.run(); |
43 tester.run(); |
44 } |
44 } |
45 |
45 |