/[eiffelstudio]/branches/eth/eve/eweasel/tests/incr201/tcf
ViewVC logotype

Contents of /branches/eth/eve/eweasel/tests/incr201/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 83441 - (show annotations)
Sat Jun 5 13:52:53 2010 UTC (9 years, 7 months ago) by jasonw
File size: 1146 byte(s)
Renamed branch eve3 to eve. The eve branch serves as the new branch for the EVE project.
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 vtcg-then-syntax-error-then-ok
10 test_description A generic class has a formal generic parameter constrained by a nonexistent and invalid creation procedure `infix "@"'. The compiler correctly reports VTCG error. Then a syntax error is added to the class. The compiler detects the error, but says "Exception occurred while displaying error message" when it tries to print the name of the class.
11
12 define SYNTAX_ERROR ""
13 define CREATION_INSTRUCTION "create x.make"
14 copy_sub Ace $TEST Ace
15 copy_sub test.e $CLUSTER test.e
16 copy_sub test1.e $CLUSTER test1.e
17 compile_melted
18 compile_result validity_error TEST VTCG
19
20 define SYNTAX_ERROR "+"
21 copy_sub test1.e $CLUSTER test1.e
22 resume_compile
23 compile_result syntax_error TEST1 14
24
25 define CREATION_INSTRUCTION ""
26 define SYNTAX_ERROR ""
27
28 copy_sub test.e $CLUSTER test.e
29 copy_sub test1.e $CLUSTER test1.e
30 resume_compile
31 compile_result ok
32
33 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23