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

Contents of /trunk/eweasel/tests/exec128/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65297 - (show annotations)
Thu Nov 30 20:22:33 2006 UTC (13 years, 3 months ago) by manus
File size: 1047 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 assign-attempt-redefined-type
10 test_description A routine in class A does an assignment attempt whose target is an attribute of type B and is the routine's class. A descendant A1 of class A redefines the type of the attribute to be a descendant of B. When the routine is executed in A1 with a passed-in argument that is used as the source of the assignment attempt, it incorrectly allows the assignment attempt to succeed.
11
12 copy_sub Ace $TEST Ace
13 copy_raw test.e $CLUSTER test.e
14 copy_raw a.e $CLUSTER a.e
15 copy_raw a1.e $CLUSTER a1.e
16 copy_raw a2.e $CLUSTER a2.e
17 copy_raw b.e $CLUSTER b.e
18 copy_raw b1.e $CLUSTER b1.e
19 copy_raw b2.e $CLUSTER b2.e
20 compile_melted
21 compile_result ok
22
23 execute_work NONE exec_output1
24 execute_result ok
25 compare exec_output1 output
26
27 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23