langtools/test/com/sun/javadoc/testTypeAnnotations/TestTypeAnnotations.java
changeset 24071 b0845717434e
parent 24065 fc4022e50129
child 24072 e7549dcbc4af
equal deleted inserted replaced
24070:3852ce6db3f4 24071:b0845717434e
    41     private static final String[] ARGS = new String[] {
    41     private static final String[] ARGS = new String[] {
    42         "-d", BUG_ID, "-sourcepath", SRC_DIR, "-private", "typeannos"
    42         "-d", BUG_ID, "-sourcepath", SRC_DIR, "-private", "typeannos"
    43     };
    43     };
    44 
    44 
    45     //Input for string search tests.
    45     //Input for string search tests.
    46     private static final String[][] NEGATED_TEST = NO_TEST;
       
    47     private static final String[][] TEST = {
    46     private static final String[][] TEST = {
    48         // Test for type annotations on Class Extends (ClassExtends.java).
    47         // Test for type annotations on Class Extends (ClassExtends.java).
    49         {BUG_ID + "/typeannos/MyClass.html",
    48         {BUG_ID + "/typeannos/MyClass.html",
    50             "extends <a href=\"../typeannos/ClassExtA.html\" title=\"annotation " +
    49             "extends <a href=\"../typeannos/ClassExtA.html\" title=\"annotation " +
    51             "in typeannos\">@ClassExtA</a> <a href=\"../typeannos/ParameterizedClass.html\" " +
    50             "in typeannos\">@ClassExtA</a> <a href=\"../typeannos/ParameterizedClass.html\" " +
   381      * The entry point of the test.
   380      * The entry point of the test.
   382      * @param args the array of command line arguments.
   381      * @param args the array of command line arguments.
   383      */
   382      */
   384     public static void main(String[] args) {
   383     public static void main(String[] args) {
   385         TestTypeAnnotations tester = new TestTypeAnnotations();
   384         TestTypeAnnotations tester = new TestTypeAnnotations();
   386         tester.run(ARGS, TEST, NEGATED_TEST);
   385         tester.run(ARGS, TEST, NO_TEST);
   387         tester.printSummary();
   386         tester.printSummary();
   388     }
   387     }
   389 
   388 
   390     /**
   389     /**
   391      * {@inheritDoc}
   390      * {@inheritDoc}