Added assertions on router helpers, and also agent handler.

Closes issue #159
This commit is contained in:
2014-12-01 15:44:49 +01:00
parent 440d3f9c91
commit f14fdc2a69
4 changed files with 42 additions and 4 deletions

View File

@@ -13,6 +13,8 @@ inherit
feature -- Change
set_action (a_action: like action)
require
a_action_attached: a_action /= Void
do
action := a_action
end
@@ -29,7 +31,7 @@ feature -- Execution
end
note
copyright: "2011-2012, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others"
copyright: "2011-2014, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Colin Adams, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[
Eiffel Software