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

Contents of /trunk/eweasel/tests/store001/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: 1194 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 freeze-retrieval-mismatch
10 test_description A class creates an instance of a second class stores it in a file using `independent_store' and then opens the file and retrieves what was previously stored. After initial compilation, system execution works correctly. Then a local of type `ARRAY [expanded A]' is added and system is recompiled (frozen). Execution then incorrectly ends with a mismatch retrieval error.
11
12 copy_sub Ace $TEST Ace
13 define LOCAL ""
14 copy_sub test.e $CLUSTER test.e
15 copy_raw a.e $CLUSTER a.e
16 copy_raw manu.e $CLUSTER manu.e
17 compile_melted
18 compile_result ok
19
20 execute_work NONE exec_output1
21 execute_result ok
22 compare exec_output1 output
23
24 define LOCAL "a: ARRAY [expanded A]"
25 copy_sub test.e $CLUSTER test.e
26 compile_frozen
27 compile_result validity_warning TEST Unused_local_warning
28
29 c_compile_work
30 c_compile_result ok
31
32 execute_work NONE exec_output2
33 execute_result ok
34 compare exec_output2 output
35
36 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23