Module: OrigenTesters::Flow
- Defined in:
- lib/test_ids/origen_testers/flow.rb
Instance Method Summary collapse
-
#_orig_test ⇒ Object
Override the flow.test method to inject our generated bin and test numbers.
- #test(instance, options = {}) ⇒ Object
Instance Method Details
#_orig_test ⇒ Object
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, = {}) if TestIds.configured? TestIds.current_configuration.allocator.allocate(instance, ) end _orig_test(instance, ) end |