1 /* |
1 /* |
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 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. |
38 private static final String BUG_ID = "4934778-4777599-6553182"; |
38 private static final String BUG_ID = "4934778-4777599-6553182"; |
39 |
39 |
40 //Javadoc arguments. |
40 //Javadoc arguments. |
41 private static final String[] ARGS = new String[] { |
41 private static final String[] ARGS = new String[] { |
42 "-d", BUG_ID, "-sourcepath", SRC_DIR, "-help", |
42 "-d", BUG_ID, "-sourcepath", SRC_DIR, "-help", |
43 SRC_DIR + FS + "TestHelpOption.java" |
43 SRC_DIR + "/TestHelpOption.java" |
44 }; |
44 }; |
45 |
45 |
46 private static final String[] ARGS2 = new String[] { |
46 private static final String[] ARGS2 = new String[] { |
47 "-d", BUG_ID, "-sourcepath", SRC_DIR, |
47 "-d", BUG_ID, "-sourcepath", SRC_DIR, |
48 SRC_DIR + FS + "TestHelpOption.java" |
48 SRC_DIR + "/TestHelpOption.java" |
49 }; |
49 }; |
50 |
50 |
51 private static final String[][] TEST = { |
51 private static final String[][] TEST = { |
52 {STANDARD_OUTPUT, "-d "}, |
52 {STANDARD_OUTPUT, "-d "}, |
53 {STANDARD_OUTPUT, "-use "}, |
53 {STANDARD_OUTPUT, "-use "}, |
87 {STANDARD_OUTPUT, "-docencoding "}, |
87 {STANDARD_OUTPUT, "-docencoding "}, |
88 }; |
88 }; |
89 private static final String[][] NEGATED_TEST = NO_TEST; |
89 private static final String[][] NEGATED_TEST = NO_TEST; |
90 |
90 |
91 private static final String[][] TEST2 = { |
91 private static final String[][] TEST2 = { |
92 {BUG_ID + FS + "TestHelpOption.html", |
92 {BUG_ID + "/TestHelpOption.html", |
93 "<li><a href=\"help-doc.html\">Help</a></li>" |
93 "<li><a href=\"help-doc.html\">Help</a></li>" |
94 }, |
94 }, |
95 }; |
95 }; |
96 private static final String[][] NEGATED_TEST2 = NO_TEST; |
96 private static final String[][] NEGATED_TEST2 = NO_TEST; |
97 |
97 |