langtools/test/com/sun/javadoc/testOverridenMethods/TestOverridenMethodDocCopy.java
equal
deleted
inserted
replaced
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. |
43 "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg1", "pkg2" |
43 "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg1", "pkg2" |
44 }; |
44 }; |
45 |
45 |
46 //Input for string search tests. |
46 //Input for string search tests. |
47 private static final String[][] TEST = { |
47 private static final String[][] TEST = { |
48 {BUG_ID + FS + "pkg1" + FS + "SubClass.html", |
48 {BUG_ID + "/pkg1/SubClass.html", |
49 "<span class=\"descfrmTypeLabel\">Description copied from class: <code>" + |
49 "<span class=\"descfrmTypeLabel\">Description copied from class: <code>" + |
50 "<a href=\"../pkg1/BaseClass.html#overridenMethodWithDocsToCopy--\">" + |
50 "<a href=\"../pkg1/BaseClass.html#overridenMethodWithDocsToCopy--\">" + |
51 "BaseClass</a></code></span>" |
51 "BaseClass</a></code></span>" |
52 } |
52 } |
53 }; |
53 }; |