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

Contents of /trunk/eweasel/tests/incr306/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 76362 - (show annotations)
Wed Dec 24 00:05:02 2008 UTC (10 years, 8 months ago) by dhollen
File size: 1194 byte(s)
Added eweasel test incr306 for bug #15194, where after changing a reference
class to expanded and then back to reference a call to the #? operator results
in a seg fault instead of returning True as it originally did.

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 attempt-on-expanded-then-reference
10 test_description After initial compilation where TEST2 is a reference class , a call to `{TEST2} #? Void' returns Void. Then TEST2 is changed to an expanded class, system recompiled and TEST2 is then changed back to a reference class. Executing the system then results in a seg fault instead of correct output, even though the classes are the same as the original classes.
11
12 define EXPANDED ""
13 copy_sub Ace $TEST Ace
14 copy_raw test.e $CLUSTER test.e
15 copy_sub test2.e $CLUSTER test2.e
16 compile_melted
17 compile_result ok
18
19 execute_work NONE exec_output1
20 execute_result ok
21 compare exec_output1 output
22
23 define EXPANDED "expanded"
24 copy_sub test2.e $CLUSTER test2.e
25 compile_melted
26 compile_result validity_warning TEST VWEQ
27
28 define EXPANDED ""
29 copy_sub test2.e $CLUSTER test2.e
30 compile_melted
31 compile_result ok
32
33 execute_work NONE exec_output2
34 execute_result ok
35 compare exec_output2 output
36
37 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23