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

Contents of /trunk/eweasel/tests/vffd202/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: 2564 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 validity-vffd2-diff-decls
10 test_description Violate validity constraint VFFD2 with a class which has the same feature name used more than once in different feature declarations
11
12 copy_sub Ace $TEST Ace
13
14 define FEATURE_LIST1 "make"
15 define FEATURE_LIST2 "make2"
16 copy_sub test.e $CLUSTER test.e
17 compile_melted
18 compile_result validity_error TEST VMFN
19
20 define FEATURE_LIST1 "infix "@" (n: INTEGER): INTEGER"
21 define FEATURE_LIST2 "make2, infix "@" (n: INTEGER): INTEGER"
22 copy_sub test.e $CLUSTER test.e
23 resume_compile
24 compile_result validity_error TEST VMFN
25
26 define FEATURE_LIST1 "infix "@" (n: INTEGER): INTEGER"
27 define FEATURE_LIST2 "make2, infix "@" (n: BOOLEAN): BOOLEAN"
28 copy_sub test.e $CLUSTER test.e
29 resume_compile
30 compile_result validity_error TEST VMFN
31
32 define FEATURE_LIST1 "prefix "@": INTEGER"
33 define FEATURE_LIST2 "make2, prefix "@": BOOLEAN"
34 copy_sub test.e $CLUSTER test.e
35 resume_compile
36 compile_result validity_error TEST VMFN
37
38 define FEATURE_LIST1 "prefix "not": INTEGER"
39 define FEATURE_LIST2 "make2, prefix "not": BOOLEAN"
40 copy_sub test.e $CLUSTER test.e
41 resume_compile
42 compile_result validity_error TEST VMFN
43
44 define FEATURE_LIST1 "infix "and" (n: BOOLEAN): INTEGER"
45 define FEATURE_LIST2 "make2, infix "and" (n: BOOLEAN): INTEGER"
46 copy_sub test.e $CLUSTER test.e
47 resume_compile
48 compile_result validity_error TEST VMFN
49
50 define FEATURE_LIST1 "infix "and" (n: BOOLEAN): INTEGER"
51 define FEATURE_LIST2 "make2, frozen infix "and" (n: BOOLEAN): INTEGER"
52 copy_sub test.e $CLUSTER test.e
53 resume_compile
54 compile_result validity_error TEST VMFN
55
56 define FEATURE_LIST1 "infix "and" (n: BOOLEAN): INTEGER"
57 define FEATURE_LIST2 "make2, frozen infix "and" (n: BOOLEAN): INTEGER"
58 copy_sub test.e $CLUSTER test.e
59 resume_compile
60 compile_result validity_error TEST VMFN
61
62 define FEATURE_LIST1 "prefix "|||||||||||||||": like Current"
63 define FEATURE_LIST2 "make2, frozen prefix "|||||||||||||||": like Current"
64 copy_sub test.e $CLUSTER test.e
65 resume_compile
66 compile_result validity_error TEST VMFN
67
68 define FEATURE_LIST1 "prefix "|||||||||||||||": like Current"
69 define FEATURE_LIST2 "make2, frozen infix "|||||||||||||||"(n: like Current): like Current"
70 copy_sub test.e $CLUSTER test.e
71 resume_compile
72 compile_result ok
73
74 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23