langtools/test/com/sun/javadoc/testBackSlashInLink/TestBackSlashInLink.java
changeset 24071 b0845717434e
parent 24065 fc4022e50129
child 24072 e7549dcbc4af
equal deleted inserted replaced
24070:3852ce6db3f4 24071:b0845717434e
    36 public class TestBackSlashInLink extends JavadocTester {
    36 public class TestBackSlashInLink extends JavadocTester {
    37 
    37 
    38     private static final String BUG_ID = "4511110";
    38     private static final String BUG_ID = "4511110";
    39     private static final String[][] TEST = {
    39     private static final String[][] TEST = {
    40         {BUG_ID + "/C.html", "src-html/C.html#line.7"}};
    40         {BUG_ID + "/C.html", "src-html/C.html#line.7"}};
    41     private static final String[][] NEGATED_TEST = NO_TEST;
       
    42     private static final String[] ARGS =
    41     private static final String[] ARGS =
    43         new String[] {
    42         new String[] {
    44             "-d", BUG_ID, "-sourcepath", SRC_DIR,
    43             "-d", BUG_ID, "-sourcepath", SRC_DIR,
    45             "-linksource",  SRC_DIR + "/C.java"};
    44             "-linksource",  SRC_DIR + "/C.java"};
    46 
    45 
    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         TestBackSlashInLink tester = new TestBackSlashInLink();
    51         TestBackSlashInLink tester = new TestBackSlashInLink();
    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}