1 /* |
1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 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 private static final String BUG_ID = "8025524"; |
36 private static final String BUG_ID = "8025524"; |
37 |
37 |
38 //Input for string search tests. |
38 //Input for string search tests. |
39 private static final String[][] TEST = { |
39 private static final String[][] TEST = { |
|
40 {BUG_ID + FS + "pkg1" + FS + "Outer.html", |
|
41 "<dt><span class=\"seeLabel\">See Also:</span></dt>" + NL + |
|
42 "<dd><a href=\"../pkg1/Outer.Inner.html#Inner--\"><code>Inner()</code></a>, " + NL + |
|
43 "<a href=\"../pkg1/Outer.Inner.html#Inner-int-\"><code>Inner(int)</code></a>, " + NL + |
|
44 "<a href=\"../pkg1/Outer.Inner.NestedInner.html#NestedInner--\"><code>NestedInner()</code></a>, " + NL + |
|
45 "<a href=\"../pkg1/Outer.Inner.NestedInner.html#NestedInner-int-\"><code>NestedInner(int)</code></a>, " + NL + |
|
46 "<a href=\"../pkg1/Outer.html#Outer--\"><code>Outer()</code></a>, " + NL + |
|
47 "<a href=\"../pkg1/Outer.html#Outer-int-\"><code>Outer(int)</code></a>" |
|
48 }, |
|
49 {BUG_ID + FS + "pkg1" + FS + "Outer.html", |
|
50 "Link: <a href=\"../pkg1/Outer.Inner.html#Inner--\"><code>Inner()</code></a>, " + |
|
51 "<a href=\"../pkg1/Outer.html#Outer-int-\"><code>Outer(int)</code></a>, " + |
|
52 "<a href=\"../pkg1/Outer.Inner.NestedInner.html#NestedInner-int-\"><code>" + |
|
53 "NestedInner(int)</code></a>" |
|
54 }, |
40 {BUG_ID + FS + "pkg1" + FS + "Outer.html", |
55 {BUG_ID + FS + "pkg1" + FS + "Outer.html", |
41 "<a href=\"../pkg1/Outer.html#Outer--\">Outer</a></span>()" |
56 "<a href=\"../pkg1/Outer.html#Outer--\">Outer</a></span>()" |
42 }, |
57 }, |
43 {BUG_ID + FS + "pkg1" + FS + "Outer.html", |
58 {BUG_ID + FS + "pkg1" + FS + "Outer.html", |
44 "<a name=\"Outer--\">" |
59 "<a name=\"Outer--\">" |
85 {BUG_ID + FS + "pkg1" + FS + "Outer.Inner.NestedInner.html", |
100 {BUG_ID + FS + "pkg1" + FS + "Outer.Inner.NestedInner.html", |
86 "Outer.Inner.NestedInner--" |
101 "Outer.Inner.NestedInner--" |
87 }, |
102 }, |
88 {BUG_ID + FS + "pkg1" + FS + "Outer.Inner.NestedInner.html", |
103 {BUG_ID + FS + "pkg1" + FS + "Outer.Inner.NestedInner.html", |
89 "Outer.Inner.NestedInner-int-" |
104 "Outer.Inner.NestedInner-int-" |
|
105 }, |
|
106 {BUG_ID + FS + "pkg1" + FS + "Outer.html", |
|
107 "<a href=\"../pkg1/Outer.Inner.html#Outer.Inner--\"><code>Outer.Inner()</code></a>" |
|
108 }, |
|
109 {BUG_ID + FS + "pkg1" + FS + "Outer.html", |
|
110 "<a href=\"../pkg1/Outer.Inner.html#Outer.Inner-int-\"><code>Outer.Inner(int)</code></a>" |
|
111 }, |
|
112 {BUG_ID + FS + "pkg1" + FS + "Outer.html", |
|
113 "<a href=\"../pkg1/Outer.Inner.NestedInner.html#Outer.Inner.NestedInner--\"><code>Outer.Inner.NestedInner()</code></a>" |
|
114 }, |
|
115 {BUG_ID + FS + "pkg1" + FS + "Outer.html", |
|
116 "<a href=\"../pkg1/Outer.Inner.NestedInner.html#Outer.Inner.NestedInner-int-\"><code>Outer.Inner.NestedInner(int)</code></a>" |
90 } |
117 } |
91 }; |
118 }; |
92 |
119 |
93 private static final String[] ARGS = new String[] { |
120 private static final String[] ARGS = new String[] { |
94 "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg1" |
121 "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg1" |