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

Contents of /trunk/eweasel/tests/vhrc201/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65297 - (show annotations)
Thu Nov 30 20:22:33 2006 UTC (13 years, 1 month ago) by manus
File size: 1954 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-vhrc2-basic
10 test_description Violate validity constraint VHRC2 with a class which includes a feature name as the first element in more than one Rename_pair
11
12 copy_sub Ace $TEST Ace
13 copy_raw test1.e $CLUSTER test1.e
14
15 define RENAME "rename old_feature as f, old_feature as g end"
16 copy_sub test.e $CLUSTER test.e
17 compile_melted
18 compile_result validity_error TEST VHRC(2)
19
20 define RENAME "rename old_feature as f, old_feature as f end"
21 copy_sub test.e $CLUSTER test.e
22 resume_compile
23 compile_result validity_error TEST VHRC(2)
24
25 define RENAME "rename infix "+" as infix "@weasel", infix "+" as infix "-" end"
26 copy_sub test.e $CLUSTER test.e
27 resume_compile
28 compile_result validity_error TEST VHRC(2)
29
30 define RENAME "rename infix "+" as infix "@weasel", infix "+" as infix "@weasel" end"
31 copy_sub test.e $CLUSTER test.e
32 resume_compile
33 compile_result validity_error TEST VHRC(2)
34
35 define RENAME "rename prefix "+" as prefix "@weasel", prefix "+" as prefix "-" end"
36 copy_sub test.e $CLUSTER test.e
37 resume_compile
38 compile_result validity_error TEST VHRC(2)
39
40 define RENAME "rename prefix "+" as prefix "@weasel", prefix "+" as prefix "@weasel" end"
41 copy_sub test.e $CLUSTER test.e
42 resume_compile
43 compile_result validity_error TEST VHRC(2)
44
45 define RENAME "rename prefix "###" as prefix "@weasel", prefix "###" as prefix "@weasle" end"
46 copy_sub test.e $CLUSTER test.e
47 resume_compile
48 compile_result validity_error TEST VHRC(2)
49
50 define RENAME "rename prefix "###" as prefix "@weasel", prefix "@weasel" as prefix "###", prefix "###" as old_feat end"
51 copy_sub test.e $CLUSTER test.e
52 resume_compile
53 compile_result validity_error TEST VHRC(2)
54
55 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23