• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Tera Termの個人的な作業用リポジトリ


Commit MetaInfo

Revision94a315225d17a113fa3b0dd79cd92daded80a8d2 (tree)
Time2021-09-19 00:47:07
Authorzmatsuo <zmatsuo@user...>
Commiterzmatsuo

Log Message

getspecialfolder のテストを追加

git-svn-id: svn+ssh://svn.osdn.net/svnroot/ttssh2/trunk@9423 f5f01b69-1e22-0410-acbf-894ab4bd6246

Change Summary

Incremental Difference

--- /dev/null
+++ b/tests/getspecialfolder.ttl
@@ -0,0 +1,99 @@
1+; test for getspecialfolder
2+
3+filename = "getspecialfolder_result.txt"
4+;filename = "getspecialfolder_result😃😁👍.txt"
5+
6+fileopen fd filename 1
7+if fd == -1 then
8+ messagebox "fileopen failure" "teraterm test"
9+ exit
10+endif
11+
12+sprintf2 msg "getspecialfolder file '%s'" filename
13+messagebox msg "teraterm test"
14+
15+foldertype = "AllUsersDesktop"
16+getspecialfolder s foldertype
17+sprintf2 str "%s: %s\n" foldertype s
18+strspecial str
19+filewrite fd str
20+foldertype = "AllUsersStartMenu"
21+getspecialfolder s foldertype
22+sprintf2 str "%s: %s\n" foldertype s
23+strspecial str
24+filewrite fd str
25+foldertype = "AllUsersPrograms"
26+getspecialfolder s foldertype
27+sprintf2 str "%s: %s\n" foldertype s
28+strspecial str
29+filewrite fd str
30+foldertype = "AllUsersStartup"
31+getspecialfolder s foldertype
32+sprintf2 str "%s: %s\n" foldertype s
33+strspecial str
34+filewrite fd str
35+foldertype = "Desktop"
36+getspecialfolder s foldertype
37+sprintf2 str "%s: %s\n" foldertype s
38+strspecial str
39+filewrite fd str
40+foldertype = "Favorites"
41+getspecialfolder s foldertype
42+sprintf2 str "%s: %s\n" foldertype s
43+strspecial str
44+filewrite fd str
45+foldertype = "Fonts"
46+getspecialfolder s foldertype
47+sprintf2 str "%s: %s\n" foldertype s
48+strspecial str
49+filewrite fd str
50+foldertype = "MyDocuments"
51+getspecialfolder s foldertype
52+sprintf2 str "%s: %s\n" foldertype s
53+strspecial str
54+filewrite fd str
55+foldertype = "NetHood"
56+getspecialfolder s foldertype
57+sprintf2 str "%s: %s\n" foldertype s
58+strspecial str
59+filewrite fd str
60+foldertype = "PrintHood"
61+getspecialfolder s foldertype
62+sprintf2 str "%s: %s\n" foldertype s
63+strspecial str
64+filewrite fd str
65+foldertype = "Programs"
66+getspecialfolder s foldertype
67+sprintf2 str "%s: %s\n" foldertype s
68+strspecial str
69+filewrite fd str
70+foldertype = "Recent"
71+getspecialfolder s foldertype
72+sprintf2 str "%s: %s\n" foldertype s
73+strspecial str
74+filewrite fd str
75+foldertype = "SendTo"
76+getspecialfolder s foldertype
77+sprintf2 str "%s: %s\n" foldertype s
78+strspecial str
79+filewrite fd str
80+foldertype = "StartMenu"
81+getspecialfolder s foldertype
82+sprintf2 str "%s: %s\n" foldertype s
83+strspecial str
84+filewrite fd str
85+foldertype = "Startup"
86+getspecialfolder s foldertype
87+sprintf2 str "%s: %s\n" foldertype s
88+strspecial str
89+filewrite fd str
90+foldertype = "Templates"
91+getspecialfolder s foldertype
92+sprintf2 str "%s: %s\n" foldertype s
93+strspecial str
94+filewrite fd str
95+
96+fileclose fd
97+
98+messagebox "getspecialfolder finish" "teraterm test"
99+