langtools/test/com/sun/javadoc/testCmndLineClass/TestCmndLineClass.java
changeset 23971 f5ff1f5a8dee
parent 5520 86e4b9a9da40
child 24065 fc4022e50129
equal deleted inserted replaced
23970:76f4acb11952 23971:f5ff1f5a8dee
     1 /*
     1 /*
     2  * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    41     private static final String[][] TEST = NO_TEST;
    41     private static final String[][] TEST = NO_TEST;
    42     private static final String[][] NEGATED_TEST = NO_TEST;
    42     private static final String[][] NEGATED_TEST = NO_TEST;
    43     private static final String[] ARGS1 =
    43     private static final String[] ARGS1 =
    44         new String[] {
    44         new String[] {
    45             "-d", OUTPUT_DIR1, "-sourcepath", SRC_DIR,
    45             "-d", OUTPUT_DIR1, "-sourcepath", SRC_DIR,
    46             "-notimestamp", SRC_DIR + FS + "C5.java", "pkg1", "pkg2"
    46             "-notimestamp", SRC_DIR + "/C5.java", "pkg1", "pkg2"
    47         };
    47         };
    48     private static final String[] ARGS2 =
    48     private static final String[] ARGS2 =
    49         new String[] {
    49         new String[] {
    50             "-d", OUTPUT_DIR2, "-sourcepath", SRC_DIR,
    50             "-d", OUTPUT_DIR2, "-sourcepath", SRC_DIR,
    51             "-notimestamp", SRC_DIR + FS + "C5.java",
    51             "-notimestamp", SRC_DIR + "/C5.java",
    52             SRC_DIR + FS + "pkg1" + FS + "C1.java",
    52             SRC_DIR + "/pkg1/C1.java",
    53             SRC_DIR + FS + "pkg1" + FS + "C2.java",
    53             SRC_DIR + "/pkg1/C2.java",
    54             SRC_DIR + FS + "pkg2" + FS + "C3.java",
    54             SRC_DIR + "/pkg2/C3.java",
    55             SRC_DIR + FS + "pkg2" + FS + "C4.java"
    55             SRC_DIR + "/pkg2/C4.java"
    56         };
    56         };
    57     private static final String[][] FILES_TO_DIFF = {
    57     private static final String[][] FILES_TO_DIFF = {
    58         {OUTPUT_DIR1 + FS + "C5.html", OUTPUT_DIR2 + FS + "C5.html"},
    58         {OUTPUT_DIR1 + "/C5.html", OUTPUT_DIR2 + "/C5.html"},
    59         {OUTPUT_DIR2 + FS + "pkg1" + FS + "C1.html", OUTPUT_DIR2 + FS + "pkg1" + FS + "C1.html"},
    59         {OUTPUT_DIR2 + "/pkg1/C1.html", OUTPUT_DIR2 + "/pkg1/C1.html"},
    60         {OUTPUT_DIR1 + FS + "pkg1" + FS + "C2.html", OUTPUT_DIR2 + FS + "pkg1" + FS + "C2.html"},
    60         {OUTPUT_DIR1 + "/pkg1/C2.html", OUTPUT_DIR2 + "/pkg1/C2.html"},
    61         {OUTPUT_DIR1 + FS + "pkg2" + FS + "C3.html", OUTPUT_DIR2 + FS + "pkg2" + FS + "C3.html"},
    61         {OUTPUT_DIR1 + "/pkg2/C3.html", OUTPUT_DIR2 + "/pkg2/C3.html"},
    62         {OUTPUT_DIR1 + FS + "pkg2" + FS + "C4.html", OUTPUT_DIR2 + FS + "pkg2" + FS + "C4.html"}
    62         {OUTPUT_DIR1 + "/pkg2/C4.html", OUTPUT_DIR2 + "/pkg2/C4.html"}
    63     };
    63     };
    64 
    64 
    65     private static final String BUG_ID = "4506980";
    65     private static final String BUG_ID = "4506980";
    66 
    66 
    67     /**
    67     /**