/[eiffelstudio]/trunk/eweasel/tests/unicode006/test_constant_with_bom.e
ViewVC logotype

Contents of /trunk/eweasel/tests/unicode006/test_constant_with_bom.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 88916 - (show annotations)
Mon Jun 18 05:36:36 2012 UTC (7 years, 7 months ago) by tedf
File size: 664 byte(s)
Added more cases for Unicode characters like '%/35797/'.
1 class
2 TEST
3
4 create
5 make
6
7 feature -- Make
8
9 make
10 do
11 end
12
13 feature -- Characters
14
15 char1: CHARACTER_32 = '测'
16 char2: CHARACTER_8 = '测' -- Error
17
18 char3: CHARACTER_32 = 'é'
19 char4: CHARACTER_8 = 'é'
20
21 char5: CHARACTER_32 = 's'
22 char6: CHARACTER_8 = 's'
23
24 char7: CHARACTER_32 = '%/35797/'
25 char8: CHARACTER_8 = '%/35797/' -- Error
26
27 feature -- Strings
28
29 str32_1: STRING_32 = "测试"
30 str32_2: STRING_32 = "%/27979/%/35797/"
31 str32_3: STRING_32 =
32 "[
33 测试
34 ]"
35 str32_4: STRING_32 = "é"
36
37 str8_1: STRING = "测试" -- Error
38 str8_2: STRING = "%/27979/%/35797/" -- Error
39 str8_3: STRING = -- Error
40 "[
41 测试
42 ]"
43 str8_4: STRING = "é"
44
45 end

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23