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

Contents of /trunk/eweasel/tests/lace029/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: 1497 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 visible-under-same-name
10 test_description An Ace with a Visible clause which makes two classes visible to external software under the same name is accepted by the compiler, but should not be. Similarly, an Ace with a Visible clause which makes two features in a class visible under the same name should not be accepted.
11
12 define_directory CLUSTER2 $TEST cluster2
13 define VISIBLE_CLAUSE "<visible class="TEST" class_rename="WEASEL"/><visible class="TEST1" class_rename="WEASEL"/>"
14 define VISIBLE_CLAUSE2 ""
15 copy_sub Ace $TEST Ace
16 copy_raw test.e $CLUSTER test.e
17 copy_raw test1.e $CLUSTER test1.e
18 copy_raw test2.e $CLUSTER2 test2.e
19 compile_melted
20 compile_result validity_error NONE VD??
21
22 define VISIBLE_CLAUSE "<visible class="TEST" class_rename="WEASEL"/>"
23 define VISIBLE_CLAUSE2 "<visible class="TEST2" class_rename="WEASEL"/>"
24 copy_sub Ace $TEST Ace
25 resume_compile
26 compile_result validity_error NONE VD??
27
28 define VISIBLE_CLAUSE "<visible class="TEST" class_rename="WEASEL" feature="wimp" feature_rename="hamster"/><visible class="TEST" class_rename="WEASEL" feature="turkey" feature_rename="hamster"/>"
29 define VISIBLE_CLAUSE2 ""
30 copy_sub Ace $TEST Ace
31 resume_compile
32 compile_result validity_error NONE VD??
33
34 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23