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

Contents of /trunk/eweasel/tests/melt051/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65297 - (show annotations)
Thu Nov 30 20:22:33 2006 UTC (12 years, 10 months ago) by manus
File size: 1018 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 --| Copyright (c) 1993-2006 University of Southern California and contributors.
3 --| All rights reserved.
4 --| Your use of this work is governed under the terms of the GNU General
5 --| Public License version 2.
6
7 -- This is a test control file
8
9 test_name wrong-field-count
10 test_description A class creates an instance of INTERNAL and uses it to print the field count of the current object. The system compiles fine when frozen and correctly prints 0 when executed. Then an attribute is added to the class and changes are melted. System execution then incorrectly still prints 0, instead of 1.
11
12 copy_sub Ace $TEST Ace
13 define ATTRIBUTE ""
14 copy_sub test.e $CLUSTER test.e
15 compile_frozen
16 compile_result ok
17
18 c_compile_work
19 c_compile_result ok
20
21 execute_work NONE exec_output1
22 execute_result ok
23 compare exec_output1 output1
24
25 define ATTRIBUTE "a: BOOLEAN"
26 copy_sub test.e $CLUSTER test.e
27 compile_melted
28 compile_result ok
29
30 execute_work NONE exec_output2
31 execute_result ok
32 compare exec_output2 output2
33
34 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23