mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8006263: Supplementary test cases needed for doclint
Reviewed-by: mcimadamore
This commit is contained in:
parent
00ae27b2cf
commit
7967c92db0
16 changed files with 954 additions and 16 deletions
317
langtools/test/tools/doclint/html/EntitiesTest.java
Normal file
317
langtools/test/tools/doclint/html/EntitiesTest.java
Normal file
|
@ -0,0 +1,317 @@
|
|||
/*
|
||||
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8006263
|
||||
* @summary Supplementary test cases needed for doclint
|
||||
* @library ..
|
||||
* @build DocLintTester
|
||||
* @run main DocLintTester -Xmsgs:-html EntitiesTest.java
|
||||
* @run main DocLintTester -Xmsgs:html -ref EntitiesTest.out EntitiesTest.java
|
||||
*/
|
||||
|
||||
/** */
|
||||
class EntitiesTest {
|
||||
|
||||
/**
|
||||
*    
|
||||
* ࡎ ࡎ ࡎ
|
||||
*/
|
||||
void range_test() { }
|
||||
|
||||
/**
|
||||
*  
|
||||
* ¡ ¡
|
||||
* ¢ ¢
|
||||
* £ £
|
||||
* ¤ ¤
|
||||
* ¥ ¥
|
||||
* ¦ ¦
|
||||
* § §
|
||||
* ¨ ¨
|
||||
* © ©
|
||||
* ª ª
|
||||
* « «
|
||||
* ¬ ¬
|
||||
* ­ ­
|
||||
* ® ®
|
||||
* ¯ ¯
|
||||
* ° °
|
||||
* ± ±
|
||||
* ² ²
|
||||
* ³ ³
|
||||
* ´ ´
|
||||
* µ µ
|
||||
* ¶ ¶
|
||||
* · ·
|
||||
* ¸ ¸
|
||||
* ¹ ¹
|
||||
* º º
|
||||
* » »
|
||||
* ¼ ¼
|
||||
* ½ ½
|
||||
* ¾ ¾
|
||||
* ¿ ¿
|
||||
* À À
|
||||
* Á Á
|
||||
* Â Â
|
||||
* Ã Ã
|
||||
* Ä Ä
|
||||
* Å Å
|
||||
* Æ Æ
|
||||
* Ç Ç
|
||||
* È È
|
||||
* É É
|
||||
* Ê Ê
|
||||
* Ë Ë
|
||||
* Ì Ì
|
||||
* Í Í
|
||||
* Î Î
|
||||
* Ï Ï
|
||||
* Ð Ð
|
||||
* Ñ Ñ
|
||||
* Ò Ò
|
||||
* Ó Ó
|
||||
* Ô Ô
|
||||
* Õ Õ
|
||||
* Ö Ö
|
||||
* × ×
|
||||
* Ø Ø
|
||||
* Ù Ù
|
||||
* Ú Ú
|
||||
* Û Û
|
||||
* Ü Ü
|
||||
* Ý Ý
|
||||
* Þ Þ
|
||||
* ß ß
|
||||
* à à
|
||||
* á á
|
||||
* â â
|
||||
* ã ã
|
||||
* ä ä
|
||||
* å å
|
||||
* æ æ
|
||||
* ç ç
|
||||
* è è
|
||||
* é é
|
||||
* ê ê
|
||||
* ë ë
|
||||
* ì ì
|
||||
* í í
|
||||
* î î
|
||||
* ï ï
|
||||
* ð ð
|
||||
* ñ ñ
|
||||
* ò ò
|
||||
* ó ó
|
||||
* ô ô
|
||||
* õ õ
|
||||
* ö ö
|
||||
* ÷ ÷
|
||||
* ø ø
|
||||
* ù ù
|
||||
* ú ú
|
||||
* û û
|
||||
* ü ü
|
||||
* ý ý
|
||||
* þ þ
|
||||
* ÿ ÿ
|
||||
* ƒ ƒ
|
||||
* Α Α
|
||||
* Β Β
|
||||
* Γ Γ
|
||||
* Δ Δ
|
||||
* Ε Ε
|
||||
* Ζ Ζ
|
||||
* Η Η
|
||||
* Θ Θ
|
||||
* Ι Ι
|
||||
* Κ Κ
|
||||
* Λ Λ
|
||||
* Μ Μ
|
||||
* Ν Ν
|
||||
* Ξ Ξ
|
||||
* Ο Ο
|
||||
* Π Π
|
||||
* Ρ Ρ
|
||||
* Σ Σ
|
||||
* Τ Τ
|
||||
* Υ Υ
|
||||
* Φ Φ
|
||||
* Χ Χ
|
||||
* Ψ Ψ
|
||||
* Ω Ω
|
||||
* α α
|
||||
* β β
|
||||
* γ γ
|
||||
* δ δ
|
||||
* ε ε
|
||||
* ζ ζ
|
||||
* η η
|
||||
* θ θ
|
||||
* ι ι
|
||||
* κ κ
|
||||
* λ λ
|
||||
* μ μ
|
||||
* ν ν
|
||||
* ξ ξ
|
||||
* ο ο
|
||||
* π π
|
||||
* ρ ρ
|
||||
* ς ς
|
||||
* σ σ
|
||||
* τ τ
|
||||
* υ υ
|
||||
* φ φ
|
||||
* χ χ
|
||||
* ψ ψ
|
||||
* ω ω
|
||||
* ϑ ϑ
|
||||
* ϒ ϒ
|
||||
* ϖ ϖ
|
||||
* • •
|
||||
* … …
|
||||
* ′ ′
|
||||
* ″ ″
|
||||
* ‾ ‾
|
||||
* ⁄ ⁄
|
||||
* ℘ ℘
|
||||
* ℑ ℑ
|
||||
* ℜ ℜ
|
||||
* ™ ™
|
||||
* ℵ ℵ
|
||||
* ← ←
|
||||
* ↑ ↑
|
||||
* → →
|
||||
* ↓ ↓
|
||||
* ↔ ↔
|
||||
* ↵ ↵
|
||||
* ⇐ ⇐
|
||||
* ⇑ ⇑
|
||||
* ⇒ ⇒
|
||||
* ⇓ ⇓
|
||||
* ⇔ ⇔
|
||||
* ∀ ∀
|
||||
* ∂ ∂
|
||||
* ∃ ∃
|
||||
* ∅ ∅
|
||||
* ∇ ∇
|
||||
* ∈ ∈
|
||||
* ∉ ∉
|
||||
* ∋ ∋
|
||||
* ∏ ∏
|
||||
* ∑ ∑
|
||||
* − −
|
||||
* ∗ ∗
|
||||
* √ √
|
||||
* ∝ ∝
|
||||
* ∞ ∞
|
||||
* ∠ ∠
|
||||
* ∧ ∧
|
||||
* ∨ ∨
|
||||
* ∩ ∩
|
||||
* ∪ ∪
|
||||
* &_int; ∫
|
||||
* ∴ ∴
|
||||
* ∼ ∼
|
||||
* ≅ ≅
|
||||
* ≈ ≈
|
||||
* ≠ ≠
|
||||
* ≡ ≡
|
||||
* ≤ ≤
|
||||
* ≥ ≥
|
||||
* ⊂ ⊂
|
||||
* ⊃ ⊃
|
||||
* ⊄ ⊄
|
||||
* ⊆ ⊆
|
||||
* ⊇ ⊇
|
||||
* ⊕ ⊕
|
||||
* ⊗ ⊗
|
||||
* ⊥ ⊥
|
||||
* ⋅ ⋅
|
||||
* ⌈ ⌈
|
||||
* ⌉ ⌉
|
||||
* ⌊ ⌊
|
||||
* ⌋ ⌋
|
||||
* ⟨ 〈
|
||||
* ⟩ 〉
|
||||
* ◊ ◊
|
||||
* ♠ ♠
|
||||
* ♣ ♣
|
||||
* ♥ ♥
|
||||
* ♦ ♦
|
||||
* " "
|
||||
* & &
|
||||
* < <
|
||||
* > >
|
||||
* Œ Œ
|
||||
* œ œ
|
||||
* Š Š
|
||||
* š š
|
||||
* Ÿ Ÿ
|
||||
* ˆ ˆ
|
||||
* ˜ ˜
|
||||
*    
|
||||
*    
|
||||
*    
|
||||
* ‌ ‌
|
||||
* ‍ ‍
|
||||
* ‎ ‎
|
||||
* ‏ ‏
|
||||
* – –
|
||||
* — —
|
||||
* ‘ ‘
|
||||
* ’ ’
|
||||
* ‚ ‚
|
||||
* “ “
|
||||
* ” ”
|
||||
* „ „
|
||||
* † †
|
||||
* ‡ ‡
|
||||
* ‰ ‰
|
||||
* ‹ ‹
|
||||
* › ›
|
||||
* € €
|
||||
*/
|
||||
void symbolic_entities() { }
|
||||
|
||||
/**
|
||||
* &bad;
|
||||
*/
|
||||
void bad_name() { }
|
||||
|
||||
/**
|
||||
* 
|
||||
* ࡏ
|
||||
*/
|
||||
void out_of_range() { }
|
||||
|
||||
/**
|
||||
* ―
|
||||
* ⌫
|
||||
* 
|
||||
*/
|
||||
void sparse_negative() { }
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue