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

Contents of /trunk/eweasel/tests/incr414/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 86364 - (show annotations)
Wed May 4 22:30:14 2011 UTC (8 years, 9 months ago) by manus
File size: 770 byte(s)
Added two new tests showing a bug in the incrementality of the compiler.

1 test_name removing-descendant-crash
2 test_description Changing a system so that a descendant class is removed causes the compiler to crash at the end of degree 4 during the topological sort because the direct descendants of TEST1 are still referring to TEST2 eventhough TEST2 is not in the system anymore.
3
4 define TEST_CLASS "TEST2 [INTEGER]"
5 define PARENT_CLASS "ANY"
6 copy_sub Ace $TEST Ace
7 copy_sub test.e $CLUSTER test.e
8 copy_raw test1.e $CLUSTER test1.e
9 copy_raw test2.e $CLUSTER test2.e
10 copy_sub test3.e $CLUSTER test3.e
11
12 compile_melted
13 compile_result ok
14
15 define TEST_CLASS "TEST1 [INTEGER]"
16 define PARENT_CLASS "TEST"
17 copy_sub test.e $CLUSTER test.e
18 copy_sub test3.e $CLUSTER test3.e
19 delete $CLUSTER test2.e
20
21 compile_melted
22 compile_result ok
23
24 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23