langtools/test/com/sun/javadoc/testModifier/TestModifier.java
changeset 24071 b0845717434e
parent 24065 fc4022e50129
child 24072 e7549dcbc4af
equal deleted inserted replaced
24070:3852ce6db3f4 24071:b0845717434e
    34  */
    34  */
    35 
    35 
    36 public class TestModifier extends JavadocTester {
    36 public class TestModifier extends JavadocTester {
    37 
    37 
    38     private static final String BUG_ID = "4210388";
    38     private static final String BUG_ID = "4210388";
    39     private static final String[][] TEST = NO_TEST;
       
    40     private static final String[][] NEGATED_TEST = NO_TEST;
       
    41     private static final String[] ARGS =
    39     private static final String[] ARGS =
    42         new String[] {
    40         new String[] {
    43             "-sourcepath", SRC_DIR,
    41             "-sourcepath", SRC_DIR,
    44             "-docletpath", SRC_DIR, "-doclet", "ModifierAbstract",
    42             "-docletpath", SRC_DIR, "-doclet", "ModifierAbstract",
    45             SRC_DIR + "/Interface.java", SRC_DIR + "/Test.java"};
    43             SRC_DIR + "/Interface.java", SRC_DIR + "/Test.java"};
    48      * The entry point of the test.
    46      * The entry point of the test.
    49      * @param args the array of command line arguments.
    47      * @param args the array of command line arguments.
    50      */
    48      */
    51     public static void main(String[] args) {
    49     public static void main(String[] args) {
    52         TestModifier tester = new TestModifier();
    50         TestModifier tester = new TestModifier();
    53         if (tester.run(ARGS, TEST, NEGATED_TEST) != 0) {
    51         if (tester.run(ARGS, NO_TEST, NO_TEST) != 0) {
    54             throw new Error("Javadoc error occured during execution.");
    52             throw new Error("Javadoc error occured during execution.");
    55         }
    53         }
    56     }
    54     }
    57 
    55 
    58     /**
    56     /**