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

Contents of /trunk/eweasel/tests/fixed028/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: 1043 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-rule-client-change
10 test_description After a violation of the assignment rule in an inherited class is correctly detected, the client structure is modified by removing two local declarations from the inheriting class
11
12 copy_sub Ace $TEST Ace
13
14 define LOCALS "x: PARENT; y: TEST2;"
15 define ASSIGNMENT "g := "abc";"
16 copy_sub test.e $CLUSTER test.e
17 copy_sub test1.e $CLUSTER test1.e
18 copy_raw test2.e $CLUSTER test2.e
19 copy_raw parent.e $CLUSTER parent.e
20 compile_melted
21 compile_result validity_error TEST1 VJAR
22
23 define LOCALS ""
24 copy_sub test.e $CLUSTER test.e
25 resume_compile
26 compile_result validity_error TEST1 VJAR
27
28 define ASSIGNMENT ""
29 copy_sub test1.e $CLUSTER test1.e
30 resume_compile
31 compile_result validity_warning TEST1 Unused_local_warning
32
33 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23