/[eiffelstudio]/trunk/eweasel/tests/free017/test.e
ViewVC logotype

Contents of /trunk/eweasel/tests/free017/test.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 101755 - (show annotations)
Sun May 20 10:56:07 2018 UTC (15 months, 4 weeks ago) by alexk
File size: 417 byte(s)
Added tests for class features with assertions using unqualified calls.
1 class TEST
2
3 inherit
4 A
5 undefine
6 f1
7 redefine
8 f2
9 end
10
11 create
12 make
13
14 feature {NONE} -- Creation
15
16 make
17 -- Run test.
18 do
19 {TEST}.f1
20 {TEST}.f2
21 {TEST}.f3
22 end
23
24 feature {TEST} -- Tests
25
26 a: BOOLEAN
27 do
28 Result := out /= "0"
29 end
30
31 f1
32 do
33 ensure then
34 instance_free: class
35 end
36
37 f2
38 do
39 ensure then
40 instance_free: class
41 end
42
43 f3
44 do
45 ensure then
46 instance_free: class
47 end
48
49 end

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23