Class: Tochtli::Test::TestMessageHandler
- Inherits:
-
Object
- Object
- Tochtli::Test::TestMessageHandler
- Defined in:
- lib/tochtli/test/test_case.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#reply ⇒ Object
readonly
Returns the value of attribute reply.
-
#timeout_message ⇒ Object
readonly
Returns the value of attribute timeout_message.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
176 177 178 |
# File 'lib/tochtli/test/test_case.rb', line 176 def error @error end |
#reply ⇒ Object (readonly)
Returns the value of attribute reply.
176 177 178 |
# File 'lib/tochtli/test/test_case.rb', line 176 def reply @reply end |
#timeout_message ⇒ Object (readonly)
Returns the value of attribute timeout_message.
176 177 178 |
# File 'lib/tochtli/test/test_case.rb', line 176 def @timeout_message end |
Instance Method Details
#call(reply) ⇒ Object
178 179 180 |
# File 'lib/tochtli/test/test_case.rb', line 178 def call(reply) @reply = reply end |
#on_error(error) ⇒ Object
186 187 188 |
# File 'lib/tochtli/test/test_case.rb', line 186 def on_error(error) @error = error end |
#on_timeout(original_message = nil) ⇒ Object
182 183 184 |
# File 'lib/tochtli/test/test_case.rb', line 182 def on_timeout(=nil) @timeout_message = end |