Module: Uttk::Filters::RPathFilter::Assertions

Defined in:
lib/uttk/filters/RPathFilter.rb

Overview

class Matcher

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#loggerObject

Returns the value of attribute logger.



120
121
122
# File 'lib/uttk/filters/RPathFilter.rb', line 120

def logger
  @logger
end

#output_treeObject

Returns the value of attribute output_tree.



120
121
122
# File 'lib/uttk/filters/RPathFilter.rb', line 120

def output_tree
  @output_tree
end

#rpath_filterObject (readonly)

Returns the value of attribute rpath_filter.



121
122
123
# File 'lib/uttk/filters/RPathFilter.rb', line 121

def rpath_filter
  @rpath_filter
end

Instance Method Details

#assert_rpath_filter(ref, aClass) ⇒ Object



122
123
124
125
126
127
# File 'lib/uttk/filters/RPathFilter.rb', line 122

def assert_rpath_filter ( ref, aClass )
  @rpath_filter = aClass.new([mock_object])
  @logger.add_observer @rpath_filter
  @logger << @output_tree
  assert_mock(*Logger.make_notifs(ref))
end