equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2004, 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 5031168 |
26 * @bug 5031168 |
27 * @summary Test package annotations and package-info.java package comments. |
27 * @summary Test package annotations and package-info.java package comments. |
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.*; |
34 import java.io.*; |
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 = new Tester("Main", "pkg1", "pkg2"); |
39 private static final OldToolTester tester = new OldToolTester("Main", "pkg1", "pkg2"); |
40 |
40 |
41 public static void main(String[] args) throws IOException { |
41 public static void main(String[] args) throws IOException { |
42 tester.run(); |
42 tester.run(); |
43 tester.verify(); |
43 tester.verify(); |
44 } |
44 } |