langtools/test/com/sun/javadoc/testHelpFile/TestHelpFile.java
changeset 24071 b0845717434e
parent 24065 fc4022e50129
child 24072 e7549dcbc4af
equal deleted inserted replaced
24070:3852ce6db3f4 24071:b0845717434e
    40     private static final String[] ARGS = new String[] {
    40     private static final String[] ARGS = new String[] {
    41         "-d", BUG_ID, "-sourcepath", SRC_DIR,
    41         "-d", BUG_ID, "-sourcepath", SRC_DIR,
    42             SRC_DIR + "/TestHelpFile.java"
    42             SRC_DIR + "/TestHelpFile.java"
    43     };
    43     };
    44 
    44 
    45     private static final String[][] NEGATED_TEST = NO_TEST;
       
    46 
       
    47     private static final String[][] TEST = {
    45     private static final String[][] TEST = {
    48         {BUG_ID + "/help-doc.html",
    46         {BUG_ID + "/help-doc.html",
    49             "<a href=\"constant-values.html\">Constant Field Values</a>"
    47             "<a href=\"constant-values.html\">Constant Field Values</a>"
    50         },
    48         },
    51     };
    49     };
    54      * The entry point of the test.
    52      * The entry point of the test.
    55      * @param args the array of command line arguments.
    53      * @param args the array of command line arguments.
    56      */
    54      */
    57     public static void main(String[] args) {
    55     public static void main(String[] args) {
    58         TestHelpFile tester = new TestHelpFile();
    56         TestHelpFile tester = new TestHelpFile();
    59         tester.run(ARGS, TEST, NEGATED_TEST);
    57         tester.run(ARGS, TEST, NO_TEST);
    60         tester.printSummary();
    58         tester.printSummary();
    61     }
    59     }
    62 
    60 
    63     /**
    61     /**
    64      * {@inheritDoc}
    62      * {@inheritDoc}