PageRenderTime 21ms CodeModel.GetById 13ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/test/language/assertion/aux_require1_c.e

http://github.com/tybor/Liberty
Specman e | 64 lines | 35 code | 8 blank | 21 comment | 0 complexity | e67b6d5ff524be6925ecfdf1cb2a8538 MD5 | raw file
 1-- This file is part of SmartEiffel The GNU Eiffel Compiler Tools and Libraries.
 2-- See the Copyright notice at the end of this file.
 3--
 4deferred class AUX_REQUIRE1_C
 5
 6inherit
 7   AUX_REQUIRE1_B1
 8   AUX_REQUIRE1_B2
 9   
10insert
11   EIFFELTEST_TOOLS
12
13feature {}
14   c_only
15      require
16         counting_require
17      do
18      end
19
20   a_and_c
21      require
22         counting_require
23      deferred
24      end
25
26   d_or_a_and_c
27      require
28         counting_require
29      deferred
30      end
31   
32   everywhere
33      require else
34         bad_counting_require
35      deferred
36      end
37
38   partial
39      require else
40         counting_require
41         bad_counting_require
42         counting_require
43      deferred
44      end
45
46end -- class AUX_REQUIRE1_C
47--
48-- ------------------------------------------------------------------------------------------------------------------------------
49-- Copyright notice below. Please read.
50--
51-- SmartEiffel is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License,
52-- as published by the Free Software Foundation; either version 2, or (at your option) any later version.
53-- SmartEiffel is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty
54-- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have
55-- received a copy of the GNU General Public License along with SmartEiffel; see the file COPYING. If not, write to the Free
56-- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
57--
58-- Copyright(C) 1994-2002: INRIA - LORIA (INRIA Lorraine) - ESIAL U.H.P.       - University of Nancy 1 - FRANCE
59-- Copyright(C) 2003-2006: INRIA - LORIA (INRIA Lorraine) - I.U.T. Charlemagne - University of Nancy 2 - FRANCE
60--
61-- Authors: Dominique COLNET, Philippe RIBET, Cyril ADRIAN, Vincent CROIZIER, Frederic MERIZEN
62--
63-- http://SmartEiffel.loria.fr - SmartEiffel@loria.fr
64-- ------------------------------------------------------------------------------------------------------------------------------