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

Annotation of /trunk/eweasel/tests/incr229/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65297 - (hide annotations)
Thu Nov 30 20:22:33 2006 UTC (13 years, 3 months ago) by manus
File size: 1039 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 manus 65296
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 generic-agent-add-constraint
10     test_description After initial compilation, a generic constraint is added to the formal generic parameter G of a class and changes are recompiled. Printing the generating type of `agent {G}.generator' then produces the wrong output (same as before the change).
11    
12     define CONSTRAINT ""
13     copy_sub Ace $TEST Ace
14     copy_raw test.e $CLUSTER test.e
15     copy_sub test1.e $CLUSTER test1.e
16     copy_raw test2.e $CLUSTER test2.e
17     compile_frozen
18     compile_result ok
19    
20     c_compile_work
21     c_compile_result ok
22    
23     execute_work NONE exec_output1
24     execute_result ok
25     compare exec_output1 output1
26    
27     define CONSTRAINT "-> TEST2"
28     copy_sub test1.e $CLUSTER test1.e
29     compile_melted
30     compile_result ok
31    
32     execute_work NONE exec_output2
33     execute_result ok
34     compare exec_output2 output2
35    
36     test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23