Module: OrigenTesters::Flow
- Defined in:
- lib/test_ids/origen_testers/flow.rb
Constant Summary collapse
- BIN_OPTS =
[:bin, :softbin, :bin_size, :softbin_size, :number, :number_size]
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
8 |
# File 'lib/test_ids/origen_testers/flow.rb', line 8 alias_method :_orig_test, :test |
#test(instance, options = {}) ⇒ Object
[View source]
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/test_ids/origen_testers/flow.rb', line 9 def test(instance, = {}) if TestIds.configured? unless [:test_ids] == :notrack [:test_ids_flow_id] = try(:top_level).try(:id) || id TestIds.current_configuration.allocator.allocate(instance, ) unless TestIds.current_configuration.send_to_ate? BIN_OPTS.each do |opt| .delete(opt) end end end end _orig_test(instance, ) end |