15370
|
1 |
/*
|
|
2 |
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
|
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
4 |
*
|
|
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
|
|
7 |
* published by the Free Software Foundation.
|
|
8 |
*
|
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT
|
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that
|
|
13 |
* accompanied this code).
|
|
14 |
*
|
|
15 |
* You should have received a copy of the GNU General Public License version
|
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation,
|
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
18 |
*
|
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
20 |
* or visit www.oracle.com if you need additional information or have any
|
|
21 |
* questions.
|
|
22 |
*/
|
|
23 |
|
|
24 |
/*
|
|
25 |
* @test
|
|
26 |
* @bug 8006263
|
|
27 |
* @summary Supplementary test cases needed for doclint
|
|
28 |
* @library ..
|
|
29 |
* @build DocLintTester
|
|
30 |
* @run main DocLintTester -Xmsgs:-html EntitiesTest.java
|
|
31 |
* @run main DocLintTester -Xmsgs:html -ref EntitiesTest.out EntitiesTest.java
|
|
32 |
*/
|
|
33 |
|
|
34 |
/** */
|
|
35 |
class EntitiesTest {
|
|
36 |
|
|
37 |
/**
|
|
38 |
*    
|
|
39 |
* ࡎ ࡎ ࡎ
|
|
40 |
*/
|
|
41 |
void range_test() { }
|
|
42 |
|
|
43 |
/**
|
|
44 |
*  
|
|
45 |
* ¡ ¡
|
|
46 |
* ¢ ¢
|
|
47 |
* £ £
|
|
48 |
* ¤ ¤
|
|
49 |
* ¥ ¥
|
|
50 |
* ¦ ¦
|
|
51 |
* § §
|
|
52 |
* ¨ ¨
|
|
53 |
* © ©
|
|
54 |
* ª ª
|
|
55 |
* « «
|
|
56 |
* ¬ ¬
|
|
57 |
* ­ ­
|
|
58 |
* ® ®
|
|
59 |
* ¯ ¯
|
|
60 |
* ° °
|
|
61 |
* ± ±
|
|
62 |
* ² ²
|
|
63 |
* ³ ³
|
|
64 |
* ´ ´
|
|
65 |
* µ µ
|
|
66 |
* ¶ ¶
|
|
67 |
* · ·
|
|
68 |
* ¸ ¸
|
|
69 |
* ¹ ¹
|
|
70 |
* º º
|
|
71 |
* » »
|
|
72 |
* ¼ ¼
|
|
73 |
* ½ ½
|
|
74 |
* ¾ ¾
|
|
75 |
* ¿ ¿
|
|
76 |
* À À
|
|
77 |
* Á Á
|
|
78 |
* Â Â
|
|
79 |
* Ã Ã
|
|
80 |
* Ä Ä
|
|
81 |
* Å Å
|
|
82 |
* Æ Æ
|
|
83 |
* Ç Ç
|
|
84 |
* È È
|
|
85 |
* É É
|
|
86 |
* Ê Ê
|
|
87 |
* Ë Ë
|
|
88 |
* Ì Ì
|
|
89 |
* Í Í
|
|
90 |
* Î Î
|
|
91 |
* Ï Ï
|
|
92 |
* Ð Ð
|
|
93 |
* Ñ Ñ
|
|
94 |
* Ò Ò
|
|
95 |
* Ó Ó
|
|
96 |
* Ô Ô
|
|
97 |
* Õ Õ
|
|
98 |
* Ö Ö
|
|
99 |
* × ×
|
|
100 |
* Ø Ø
|
|
101 |
* Ù Ù
|
|
102 |
* Ú Ú
|
|
103 |
* Û Û
|
|
104 |
* Ü Ü
|
|
105 |
* Ý Ý
|
|
106 |
* Þ Þ
|
|
107 |
* ß ß
|
|
108 |
* à à
|
|
109 |
* á á
|
|
110 |
* â â
|
|
111 |
* ã ã
|
|
112 |
* ä ä
|
|
113 |
* å å
|
|
114 |
* æ æ
|
|
115 |
* ç ç
|
|
116 |
* è è
|
|
117 |
* é é
|
|
118 |
* ê ê
|
|
119 |
* ë ë
|
|
120 |
* ì ì
|
|
121 |
* í í
|
|
122 |
* î î
|
|
123 |
* ï ï
|
|
124 |
* ð ð
|
|
125 |
* ñ ñ
|
|
126 |
* ò ò
|
|
127 |
* ó ó
|
|
128 |
* ô ô
|
|
129 |
* õ õ
|
|
130 |
* ö ö
|
|
131 |
* ÷ ÷
|
|
132 |
* ø ø
|
|
133 |
* ù ù
|
|
134 |
* ú ú
|
|
135 |
* û û
|
|
136 |
* ü ü
|
|
137 |
* ý ý
|
|
138 |
* þ þ
|
|
139 |
* ÿ ÿ
|
|
140 |
* ƒ ƒ
|
|
141 |
* Α Α
|
|
142 |
* Β Β
|
|
143 |
* Γ Γ
|
|
144 |
* Δ Δ
|
|
145 |
* Ε Ε
|
|
146 |
* Ζ Ζ
|
|
147 |
* Η Η
|
|
148 |
* Θ Θ
|
|
149 |
* Ι Ι
|
|
150 |
* Κ Κ
|
|
151 |
* Λ Λ
|
|
152 |
* Μ Μ
|
|
153 |
* Ν Ν
|
|
154 |
* Ξ Ξ
|
|
155 |
* Ο Ο
|
|
156 |
* Π Π
|
|
157 |
* Ρ Ρ
|
|
158 |
* Σ Σ
|
|
159 |
* Τ Τ
|
|
160 |
* Υ Υ
|
|
161 |
* Φ Φ
|
|
162 |
* Χ Χ
|
|
163 |
* Ψ Ψ
|
|
164 |
* Ω Ω
|
|
165 |
* α α
|
|
166 |
* β β
|
|
167 |
* γ γ
|
|
168 |
* δ δ
|
|
169 |
* ε ε
|
|
170 |
* ζ ζ
|
|
171 |
* η η
|
|
172 |
* θ θ
|
|
173 |
* ι ι
|
|
174 |
* κ κ
|
|
175 |
* λ λ
|
|
176 |
* μ μ
|
|
177 |
* ν ν
|
|
178 |
* ξ ξ
|
|
179 |
* ο ο
|
|
180 |
* π π
|
|
181 |
* ρ ρ
|
|
182 |
* ς ς
|
|
183 |
* σ σ
|
|
184 |
* τ τ
|
|
185 |
* υ υ
|
|
186 |
* φ φ
|
|
187 |
* χ χ
|
|
188 |
* ψ ψ
|
|
189 |
* ω ω
|
|
190 |
* ϑ ϑ
|
|
191 |
* ϒ ϒ
|
|
192 |
* ϖ ϖ
|
|
193 |
* • •
|
|
194 |
* … …
|
|
195 |
* ′ ′
|
|
196 |
* ″ ″
|
|
197 |
* ‾ ‾
|
|
198 |
* ⁄ ⁄
|
|
199 |
* ℘ ℘
|
|
200 |
* ℑ ℑ
|
|
201 |
* ℜ ℜ
|
|
202 |
* ™ ™
|
|
203 |
* ℵ ℵ
|
|
204 |
* ← ←
|
|
205 |
* ↑ ↑
|
|
206 |
* → →
|
|
207 |
* ↓ ↓
|
|
208 |
* ↔ ↔
|
|
209 |
* ↵ ↵
|
|
210 |
* ⇐ ⇐
|
|
211 |
* ⇑ ⇑
|
|
212 |
* ⇒ ⇒
|
|
213 |
* ⇓ ⇓
|
|
214 |
* ⇔ ⇔
|
|
215 |
* ∀ ∀
|
|
216 |
* ∂ ∂
|
|
217 |
* ∃ ∃
|
|
218 |
* ∅ ∅
|
|
219 |
* ∇ ∇
|
|
220 |
* ∈ ∈
|
|
221 |
* ∉ ∉
|
|
222 |
* ∋ ∋
|
|
223 |
* ∏ ∏
|
|
224 |
* ∑ ∑
|
|
225 |
* − −
|
|
226 |
* ∗ ∗
|
|
227 |
* √ √
|
|
228 |
* ∝ ∝
|
|
229 |
* ∞ ∞
|
|
230 |
* ∠ ∠
|
|
231 |
* ∧ ∧
|
|
232 |
* ∨ ∨
|
|
233 |
* ∩ ∩
|
|
234 |
* ∪ ∪
|
|
235 |
* &_int; ∫
|
|
236 |
* ∴ ∴
|
|
237 |
* ∼ ∼
|
|
238 |
* ≅ ≅
|
|
239 |
* ≈ ≈
|
|
240 |
* ≠ ≠
|
|
241 |
* ≡ ≡
|
|
242 |
* ≤ ≤
|
|
243 |
* ≥ ≥
|
|
244 |
* ⊂ ⊂
|
|
245 |
* ⊃ ⊃
|
|
246 |
* ⊄ ⊄
|
|
247 |
* ⊆ ⊆
|
|
248 |
* ⊇ ⊇
|
|
249 |
* ⊕ ⊕
|
|
250 |
* ⊗ ⊗
|
|
251 |
* ⊥ ⊥
|
|
252 |
* ⋅ ⋅
|
|
253 |
* ⌈ ⌈
|
|
254 |
* ⌉ ⌉
|
|
255 |
* ⌊ ⌊
|
|
256 |
* ⌋ ⌋
|
|
257 |
* ⟨ 〈
|
|
258 |
* ⟩ 〉
|
|
259 |
* ◊ ◊
|
|
260 |
* ♠ ♠
|
|
261 |
* ♣ ♣
|
|
262 |
* ♥ ♥
|
|
263 |
* ♦ ♦
|
|
264 |
* " "
|
|
265 |
* & &
|
|
266 |
* < <
|
|
267 |
* > >
|
|
268 |
* Œ Œ
|
|
269 |
* œ œ
|
|
270 |
* Š Š
|
|
271 |
* š š
|
|
272 |
* Ÿ Ÿ
|
|
273 |
* ˆ ˆ
|
|
274 |
* ˜ ˜
|
|
275 |
*    
|
|
276 |
*    
|
|
277 |
*    
|
|
278 |
* ‌ ‌
|
|
279 |
* ‍ ‍
|
|
280 |
* ‎ ‎
|
|
281 |
* ‏ ‏
|
|
282 |
* – –
|
|
283 |
* — —
|
|
284 |
* ‘ ‘
|
|
285 |
* ’ ’
|
|
286 |
* ‚ ‚
|
|
287 |
* “ “
|
|
288 |
* ” ”
|
|
289 |
* „ „
|
|
290 |
* † †
|
|
291 |
* ‡ ‡
|
|
292 |
* ‰ ‰
|
|
293 |
* ‹ ‹
|
|
294 |
* › ›
|
|
295 |
* € €
|
|
296 |
*/
|
|
297 |
void symbolic_entities() { }
|
|
298 |
|
|
299 |
/**
|
|
300 |
* &bad;
|
|
301 |
*/
|
|
302 |
void bad_name() { }
|
|
303 |
|
|
304 |
/**
|
|
305 |
* 
|
|
306 |
* ࡏ
|
|
307 |
*/
|
|
308 |
void out_of_range() { }
|
|
309 |
|
|
310 |
/**
|
|
311 |
* ―
|
|
312 |
* ⌫
|
|
313 |
* 
|
|
314 |
*/
|
|
315 |
void sparse_negative() { }
|
|
316 |
}
|
|
317 |
|