test/com/sun/javadoc/testDocFileDir/TestDocFileDir.java

changeset 1383
b980e8e6aabf
parent 554
9d9f26857129
child 2036
8df12c315ea3
equal deleted inserted replaced
1382:27f7952eea3c 1383:b980e8e6aabf
1 /* 1 /*
2 * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2002, 2012, 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.
75 private static final String[][] NEGATED_TEST0 = {}; 75 private static final String[][] NEGATED_TEST0 = {};
76 76
77 //Output dir = Input Dir 77 //Output dir = Input Dir
78 private static final String[] ARGS1 = 78 private static final String[] ARGS1 =
79 new String[] { 79 new String[] {
80 "-d", BUG_ID + "-1", "-sourcepath", 80 "-d", BUG_ID + "-1",
81 "blah" + String.valueOf(File.pathSeparatorChar) + 81 "-sourcepath",
82 BUG_ID + "-1" + String.valueOf(File.pathSeparatorChar) + 82 "blah" + File.pathSeparator + BUG_ID + "-1" + File.pathSeparator + "blah",
83 "blah", "pkg"}; 83 "pkg"};
84 84
85 //Exercising -docfilessubdirs and -excludedocfilessubdir 85 //Exercising -docfilessubdirs and -excludedocfilessubdir
86 private static final String[] ARGS2 = 86 private static final String[] ARGS2 =
87 new String[] { 87 new String[] {
88 "-d", BUG_ID + "-2", "-sourcepath", SRC_DIR, 88 "-d", BUG_ID + "-2",
89 "-docfilessubdirs", "-excludedocfilessubdir", 89 "-sourcepath", SRC_DIR,
90 "subdir-excluded1:subdir-excluded2", "pkg"}; 90 "-docfilessubdirs",
91 "-excludedocfilessubdir", "subdir-excluded1:subdir-excluded2",
92 "pkg"};
91 93
92 //Output dir = "", Input dir = "" 94 //Output dir = "", Input dir = ""
93 private static final String[] ARGS0 = 95 private static final String[] ARGS0 =
94 new String[] {"pkg" + FS + "C.java"}; 96 new String[] {"pkg" + FS + "C.java"};
95 97

mercurial