langtools/test/com/sun/javadoc/testTagMisuse/TestTagMisuse.java
changeset 24071 b0845717434e
parent 24065 fc4022e50129
child 24072 e7549dcbc4af
equal deleted inserted replaced
24070:3852ce6db3f4 24071:b0845717434e
    37         {WARNING_OUTPUT, "warning - Tag @param cannot be used in field documentation."},
    37         {WARNING_OUTPUT, "warning - Tag @param cannot be used in field documentation."},
    38         {WARNING_OUTPUT, "warning - Tag @throws cannot be used in field documentation."},
    38         {WARNING_OUTPUT, "warning - Tag @throws cannot be used in field documentation."},
    39         {WARNING_OUTPUT, "warning - Tag @return cannot be used in constructor documentation."},
    39         {WARNING_OUTPUT, "warning - Tag @return cannot be used in constructor documentation."},
    40         {WARNING_OUTPUT, "warning - Tag @throws cannot be used in inline documentation."},
    40         {WARNING_OUTPUT, "warning - Tag @throws cannot be used in inline documentation."},
    41     };
    41     };
    42     private static final String[][] NEGATED_TEST = NO_TEST;
       
    43     private static final String[] ARGS = new String[] {
    42     private static final String[] ARGS = new String[] {
    44         "-Xdoclint:none", "-d", BUG_ID, SRC_DIR + "/TestTagMisuse.java"
    43         "-Xdoclint:none", "-d", BUG_ID, SRC_DIR + "/TestTagMisuse.java"
    45     };
    44     };
    46 
    45 
    47     /**
    46     /**
    48      * The entry point of the test.
    47      * The entry point of the test.
    49      * @param args the array of command line arguments.
    48      * @param args the array of command line arguments.
    50      */
    49      */
    51     public static void main(String[] args) {
    50     public static void main(String[] args) {
    52         TestTagMisuse tester = new TestTagMisuse();
    51         TestTagMisuse tester = new TestTagMisuse();
    53         tester.run(ARGS, TEST, NEGATED_TEST);
    52         tester.run(ARGS, TEST, NO_TEST);
    54         tester.printSummary();
    53         tester.printSummary();
    55     }
    54     }
    56 
    55 
    57     /**
    56     /**
    58      * {@inheritDoc}
    57      * {@inheritDoc}