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

Contents of /trunk/eweasel/tests/incr398/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 84384 - (show annotations)
Thu Sep 9 20:21:25 2010 UTC (9 years, 4 months ago) by dhollen
File size: 869 byte(s)
Added eweasel test incr398 for bug #17094, where removing generic constraints from classes
in a system that has once-per-object routines and refreezing produces an executable that
just gives an empty exception trace instead of correct output.

1
2 test_name once-per-object-remove-constraint
3 test_description After initial compilation, removing two formal generic constraints in a system with once-per-object routines and refreezing causes system execution to produce wrong output and an empty exception trace.
4
5 define CONSTRAINT " -> DOUBLE"
6 copy_sub Ace $TEST Ace
7 copy_raw test.e $CLUSTER test.e
8 copy_sub test2.e $CLUSTER test2.e
9 copy_sub test3.e $CLUSTER test3.e
10
11 compile_frozen
12 compile_result ok
13
14 c_compile_work
15 c_compile_result ok
16
17 execute_work NONE exec_output1
18 execute_result ok
19 compare exec_output1 output
20
21 define CONSTRAINT ""
22 copy_sub test2.e $CLUSTER test2.e
23 copy_sub test3.e $CLUSTER test3.e
24
25 compile_melted
26 compile_result ok
27
28 compile_frozen
29 compile_result ok
30
31 c_compile_work
32 c_compile_result ok
33
34 execute_work NONE exec_output2
35 execute_result ok
36 compare exec_output2 output
37
38 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23