1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 11:32:48 -05:00

Rename the 'testdata' subdirectory to 'test'.

I'm about to start putting programs in it too, so it would be a
misnomer left like that.
This commit is contained in:
Simon Tatham
2019-01-02 17:48:35 +00:00
parent ffa8dcc13a
commit 4efb23de91
7 changed files with 2 additions and 2 deletions

15
test/colours.txt Normal file
View File

@ -0,0 +1,15 @@
Test of most colour rendering. Omits the SCO fg and bg sequences,
since they are destructive.
Normal text and bold; reverse video and bold
ANSI plus bold: 0 bold 1 bold 2 bold 3 bold 4 bold 5 bold 6 bold 7 bold
xterm bright: fg0 bg0 fg1 bg1 fg2 bg2 fg3 bg3 fg4 bg4 fg5 bg5 fg6 bg6 fg7 bg7
xterm 256: greys                      reds   greens blues  yellow magent cyans 
0001020304050607 08090a0b0c0d0e0f 1011121314151617 18191a1b1c1d1e1f
2021222324252627 28292a2b2c2d2e2f 3031323334353637 38393a3b3c3d3e3f
4041424344454647 48494a4b4c4d4e4f 5051525354555657 58595a5b5c5d5e5f
6061626364656667 68696a6b6c6d6e6f 7071727374757677 78797a7b7c7d7e7f
8081828384858687 88898a8b8c8d8e8f 9091929394959697 98999a9b9c9d9e9f
a0a1a2a3a4a5a6a7 a8a9aaabacadaeaf b0b1b2b3b4b5b6b7 b8b9babbbcbdbebf
c0c1c2c3c4c5c6c7 c8c9cacbcccdcecf d0d1d2d3d4d5d6d7 d8d9dadbdcdddedf
e0e1e2e3e4e5e6e7 e8e9eaebecedeeef f0f1f2f3f4f5f6f7 f8f9fafbfcfdfeff
24-bit colour: SlateGrey OliveDrab goldenrod SaddleBrown DarkViolet (bg)

14
test/display.txt Normal file
View File

@ -0,0 +1,14 @@
Test of all features involved in do_text()
==========================================
Reverse video + red on yellow:  bing! 
Yellow on red should look the same:  bong! 
Basic attrs, combining chars, both widths: Bold blink underline [Λ̊][チ][text]
Wide char should be off by 1 narrow char: Bold blink underline [Λ̊][チ][text]
Double width, double height. Should be red top, magenta bottom, blue DW only:
#3Bold blink underline [Λ̊][チ][text]
#4Bold blink underline [Λ̊][チ][text]
#6Bold blink underline [Λ̊][チ][text]

6
test/lattrs.txt Normal file
View File

@ -0,0 +1,6 @@
Test of line attributes:
#3Double-height top
#4Double-height bottom
#5Normal text (#5)
#6Double-width only

3
test/scocols.txt Normal file
View File

@ -0,0 +1,3 @@
Test of (destructive) SCO colour rendering.
SCO fg: [=0F0[=7F [=1F1[=7F [=2F2[=7F [=3F3[=7F [=4F4[=7F [=5F5[=7F [=6F6[=7F [=7F7[=7F [=8F8[=7F [=9F9[=7F [=10F10[=7F [=11F11[=7F [=12F12[=7F [=13F13[=7F [=14F14[=7F [=15F15[=7F
SCO bg: [=0G0[=0G [=1G1[=0G [=2G2[=0G [=3G3[=0G [=4G4[=0G [=5G5[=0G [=6G6[=0G [=7G7[=0G [=8G8[=0G [=9G9[=0G [=10G10[=0G [=11G11[=0G [=12G12[=0G [=13G13[=0G [=14G14[=0G [=15G15[=0G

23
test/utf8.txt Normal file
View File

@ -0,0 +1,23 @@
Test of UTF-8 output in a terminal emulator
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Some basic Unicode:
∮ E⋅da = Q, n → ∞, ∑ f(i) = ∏ g(i), ∀x∈: ⌈x⌉ = x⌋, α ∧ ¬β = ¬(¬α β),
⊆ ℕ₀ ⊂ , ⊥ < a ≠ b ≡ c ≤ d ≪ ⇒ (A ⇔ B),
Combining characters:
STARGΛ̊TE SG-1, a = v̇ = r̈, a⃑ ⊥ b⃑
[----------------------------|------------------------]
๏ แผ่นดินฮั่นเสื่อมโทรมแสนสังเวช พระปกเกศกองบู๊กู้ขึ้นใหม่
สิบสองกษัตริย์ก่อนหน้าแลถัดไป สององค์ไซร้โง่เขลาเบาปัญญา
Wide characters with difficult wrapping:
Here we go then: コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ コンニチハ
Arabic and bidirectional text:
(من مجمع الزوائد ومنبع الفوائد للهيثمي ، ج 1 ، ص 74-84)
عن جرير رضي الله عنه قال قال رسول الله صلى الله عليه
وسلم: بني الاسلام على خمس شهادة ان لا اله الا الله واقام
Mixed LTR and RTL text: جرير رضي back to LTR.
East Asian Ambiguous characters: ¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾¼½¾

16
test/vt100.txt Normal file
View File

@ -0,0 +1,16 @@
VT100 line drawing characters, actually using the VT100 escapes
(B)0ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
lqqqqqqqqqqpoopqrssrqqqqqqqqqqwqqqqqqqqqqpoopqrssrqqqqqqqqqqk
x x x
x ooh, swirly! x top right corner x
x x x
tqqqqqqqqqqpoopqrssrqqqqqqqqqqnqqqqqqqqqqpoopqrssrqqqqqqqqqqu
x x x
x stuff down here x is quite inane x
x x x
mqqqqqqqqqqpoopqrssrqqqqqqqqqqvqqqqqqqqqqpoopqrssrqqqqqqqqqqj
(This won't do the right thing in PuTTY's default UTF-8 translation;
you'll just see lqqqk letters. It should work with a character set
like ISO8859-1.)