langtools/test/com/sun/javadoc/testTitleInHref/TestTitleInHref.java
changeset 24071 b0845717434e
parent 24065 fc4022e50129
child 24072 e7549dcbc4af
equal deleted inserted replaced
24070:3852ce6db3f4 24071:b0845717434e
    49         {BUG_ID + "/pkg/Links.html",
    49         {BUG_ID + "/pkg/Links.html",
    50             "<a href=\"http://java.sun.com/j2se/1.4/docs/api/java/io/File.html?is-external=true\" title=\"class or interface in java.io\"><code>This is a cross link to class File</code></a>"},
    50             "<a href=\"http://java.sun.com/j2se/1.4/docs/api/java/io/File.html?is-external=true\" title=\"class or interface in java.io\"><code>This is a cross link to class File</code></a>"},
    51 
    51 
    52     };
    52     };
    53 
    53 
    54     private static final String[][] NEGATED_TEST = NO_TEST;
       
    55     private static final String[] ARGS = new String[] {
    54     private static final String[] ARGS = new String[] {
    56         "-d", BUG_ID, "-sourcepath", SRC_DIR,
    55         "-d", BUG_ID, "-sourcepath", SRC_DIR,
    57         "-linkoffline", "http://java.sun.com/j2se/1.4/docs/api",
    56         "-linkoffline", "http://java.sun.com/j2se/1.4/docs/api",
    58         SRC_DIR, "pkg"
    57         SRC_DIR, "pkg"
    59     };
    58     };
    62      * The entry point of the test.
    61      * The entry point of the test.
    63      * @param args the array of command line arguments.
    62      * @param args the array of command line arguments.
    64      */
    63      */
    65     public static void main(String[] args) {
    64     public static void main(String[] args) {
    66         TestTitleInHref tester = new TestTitleInHref();
    65         TestTitleInHref tester = new TestTitleInHref();
    67         tester.run(ARGS, TEST, NEGATED_TEST);
    66         tester.run(ARGS, TEST, NO_TEST);
    68         tester.printSummary();
    67         tester.printSummary();
    69     }
    68     }
    70 
    69 
    71     /**
    70     /**
    72      * {@inheritDoc}
    71      * {@inheritDoc}