equal
deleted
inserted
replaced
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. |
35 |
35 |
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 + FS + "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; |
41 private static final String[][] NEGATED_TEST = NO_TEST; |
42 private static final String[] ARGS = |
42 private static final String[] ARGS = |
43 new String[] { |
43 new String[] { |
44 "-d", BUG_ID, "-sourcepath", SRC_DIR, |
44 "-d", BUG_ID, "-sourcepath", SRC_DIR, |
45 "-linksource", SRC_DIR + FS + "C.java"}; |
45 "-linksource", SRC_DIR + "/C.java"}; |
46 |
46 |
47 /** |
47 /** |
48 * The entry point of the test. |
48 * The entry point of the test. |
49 * @param args the array of command line arguments. |
49 * @param args the array of command line arguments. |
50 */ |
50 */ |