/[eiffelstudio]/trunk/eweasel/tests/exec263/tcf
ViewVC logotype

Contents of /trunk/eweasel/tests/exec263/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65297 - (show annotations)
Thu Nov 30 20:22:33 2006 UTC (13 years ago) by manus
File size: 2275 byte(s)
Moved from trunk/Src/eweasel to trunk/eweasel so that a simple checkout of the source code is not penalized by the lenghty process of checking out all the tests of eweasel.
1
2 test_name generating-type-of-type-parameter
3 test_description Testing correct implementation of compiler regarding generic root types.
4
5 copy_raw test.e $CLUSTER test.e
6
7
8
9 -------------------------------------------- for frozen
10 define GENERIC_PARAMETER "INTEGER"
11 copy_sub Ace $TEST Ace
12 compile_frozen
13 compile_result ok
14 c_compile_work
15 c_compile_result ok
16 execute_work NONE out_INTEGER
17 execute_result ok
18 compare out_INTEGER expected_output_INTEGER
19
20 define GENERIC_PARAMETER "STRING"
21 copy_sub Ace $TEST Ace
22 compile_frozen
23 compile_result ok
24 c_compile_work
25 c_compile_result ok
26 execute_work NONE out_STRING
27 execute_result ok
28 compare out_STRING expected_output_STRING
29
30 define GENERIC_PARAMETER "LIST[STRING]"
31 copy_sub Ace $TEST Ace
32 compile_frozen
33 compile_result ok
34 c_compile_work
35 c_compile_result ok
36 execute_work NONE out_LIST_STRING
37 execute_result ok
38 compare out_LIST_STRING expected_output_LIST_STRING
39
40 -------------------------------------------- for finalized
41 define GENERIC_PARAMETER "INTEGER"
42 copy_sub Ace $TEST Ace
43 compile_final
44 compile_result ok
45 c_compile_final
46 c_compile_result ok
47 execute_work NONE out_INTEGER
48 execute_result ok
49 compare out_INTEGER expected_output_INTEGER
50
51 define GENERIC_PARAMETER "STRING"
52 copy_sub Ace $TEST Ace
53 compile_final
54 compile_result ok
55 c_compile_final
56 c_compile_result ok
57 execute_work NONE out_STRING
58 execute_result ok
59 compare out_STRING expected_output_STRING
60
61 define GENERIC_PARAMETER "LIST[STRING]"
62 copy_sub Ace $TEST Ace
63 compile_final
64 compile_result ok
65 c_compile_final
66 c_compile_result ok
67 execute_work NONE out_LIST_STRING
68 execute_result ok
69 compare out_LIST_STRING expected_output_LIST_STRING
70
71 -------------------------------------------- for melted
72 define GENERIC_PARAMETER "INTEGER"
73 copy_sub Ace $TEST Ace
74 compile_quick_melted
75 compile_result ok
76 execute_work NONE out_INTEGER
77 execute_result ok
78 compare out_INTEGER expected_output_INTEGER
79
80 define GENERIC_PARAMETER "STRING"
81 copy_sub Ace $TEST Ace
82 compile_quick_melted
83 compile_result ok
84 execute_work NONE out_STRING
85 execute_result ok
86 compare out_STRING expected_output_STRING
87
88 define GENERIC_PARAMETER "LIST[STRING]"
89 copy_sub Ace $TEST Ace
90 compile_quick_melted
91 compile_result ok
92 execute_work NONE out_LIST_STRING
93 execute_result ok
94 compare out_LIST_STRING expected_output_LIST_STRING
95
96
97 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23