Module: OrigenTesters::Flow

Defined in:
lib/test_ids/origen_testers/flow.rb

Instance Method Summary collapse

Instance Method Details

#_orig_testObject

Override the flow.test method to inject our generated bin and test numbers



6
# File 'lib/test_ids/origen_testers/flow.rb', line 6

alias_method :_orig_test, :test

#test(instance, options = {}) ⇒ Object



7
8
9
10
11
12
# File 'lib/test_ids/origen_testers/flow.rb', line 7

def test(instance, options = {})
  if TestIds.configured?
    TestIds.current_configuration.allocator.allocate(instance, options)
  end
  _orig_test(instance, options)
end