Class: Roby::Test::Assertions::FlexmockExceptionTasks Private
- Defined in:
- lib/roby/test/assertions.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Helper matcher used to provide a better error message in the various exception assertions
Deprecated assertions replaced by expect_execution collapse
-
#tasks ⇒ Object
Returns the value of attribute tasks.
Deprecated assertions replaced by expect_execution collapse
- #===(tasks) ⇒ Object private
- #inspect ⇒ Object private
- #to_s ⇒ Object private
Instance Attribute Details
#tasks ⇒ Object
Returns the value of attribute tasks
604 605 606 |
# File 'lib/roby/test/assertions.rb', line 604 def tasks @tasks end |
Instance Method Details
#===(tasks) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
605 606 607 |
# File 'lib/roby/test/assertions.rb', line 605 def ===(tasks) self.tasks.to_set == tasks end |
#inspect ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
609 610 611 |
# File 'lib/roby/test/assertions.rb', line 609 def inspect to_s end |
#to_s ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
613 614 615 |
# File 'lib/roby/test/assertions.rb', line 613 def to_s "involved_tasks(#{tasks.to_a.map(&:to_s).join(', ')})" end |