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

Contents of /trunk/eweasel/tests/noncon004/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 70904 - (show annotations)
Thu Oct 25 23:41:50 2007 UTC (12 years, 3 months ago) by king
File size: 1472 byte(s)
Added initial non-conforming inheritance eweasel tests
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 non-conforming-inheritance-parent-incrementality
10 test_description Testing incrementality on parent class with non-conforming inheritance
11
12
13 copy_sub Ace $TEST Ace
14
15 copy_raw non_conforming_class.e $CLUSTER non_conforming_class.e
16 copy_raw test.e $CLUSTER test.e
17
18 -- Test non-conformance
19
20 define CONFORMING_INHERITANCE_CLAUSE "inherit ANY"
21 define NON_CONFORMING_INHERITANCE_CLAUSE "inherit {NONE} NON_CONFORMING_CLASS"
22 copy_sub parent_class.e $CLUSTER parent_class.e
23
24 compile_melted
25 compile_result OK
26
27 execute_work NONE exec_output1
28 execute_result ok
29
30 compare exec_output1 nonconformance_output
31
32 -- Change inheritance to conformance
33
34 define CONFORMING_INHERITANCE_CLAUSE "inherit ANY NON_CONFORMING_CLASS"
35 define NON_CONFORMING_INHERITANCE_CLAUSE ""
36 copy_sub parent_class.e $CLUSTER parent_class.e
37
38 compile_melted
39 compile_result OK
40
41 execute_work NONE exec_output2
42 execute_result ok
43
44 compare exec_output2 conformance_output
45
46 -- Make inheritance implicit
47
48 define CONFORMING_INHERITANCE_CLAUSE ""
49 define NON_CONFORMING_INHERITANCE_CLAUSE ""
50 copy_sub parent_class.e $CLUSTER parent_class.e
51
52 compile_melted
53 compile_result OK
54
55 execute_work NONE exec_output2
56 execute_result ok
57
58 compare exec_output2 nonconformance_output
59
60 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23