Module: OrigenTesters::Generator::FlowControlAPI::Interface
- Defined in:
- lib/origen_testers/generator/flow_control_api.rb
Instance Method Summary collapse
-
#context_changed?(*args, &block) ⇒ Boolean
Alias for flow#context_changed?.
-
#current_context(*args, &block) ⇒ Object
Alias for flow#current_context.
- #extract_flow_control_options!(*args) ⇒ Object
- #extract_relation_options!(*args) ⇒ Object
-
#filter_id(id, options = {}) ⇒ Object
Implement this method in your application interface if you want to sanitize all ID references used in the flow control API.
-
#if_all_failed(*args, &block) ⇒ Object
(also: #unless_any_passed)
Alias for flow#if_all_failed.
-
#if_all_passed(*args, &block) ⇒ Object
(also: #unless_any_failed)
Alias for flow#if_all_passed.
-
#if_any_failed(*args, &block) ⇒ Object
(also: #unless_all_passed)
Alias for flow#if_any_failed.
-
#if_any_passed(*args, &block) ⇒ Object
(also: #unless_all_failed)
Alias for flow#if_any_passed.
-
#if_enable(*args, &block) ⇒ Object
(also: #if_enabled)
Alias for flow#if_enable.
-
#if_failed(*args, &block) ⇒ Object
(also: #unless_passed)
Alias for flow#if_failed.
-
#if_job(*args, &block) ⇒ Object
Alias for flow#if_job.
-
#if_passed(*args, &block) ⇒ Object
(also: #unless_failed)
Alias for flow#if_passed.
-
#if_ran(*args, &block) ⇒ Object
Alias for flow#if_ran.
-
#skip(*args, &block) ⇒ Object
Alias for flow#skip.
-
#unless_enable(*args, &block) ⇒ Object
(also: #unless_enabled)
Alias for flow#unless_enable.
-
#unless_job(*args, &block) ⇒ Object
Alias for flow#unless_job.
-
#unless_ran(*args, &block) ⇒ Object
Alias for flow#unless_ran.
Instance Method Details
#context_changed?(*args, &block) ⇒ Boolean
Alias for flow#context_changed?
605 606 607 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 605 def context_changed?(*args, &block) flow.context_changed?(*args, &block) end |
#current_context(*args, &block) ⇒ Object
Alias for flow#current_context
600 601 602 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 600 def current_context(*args, &block) flow.current_context(*args, &block) end |
#extract_flow_control_options!(*args) ⇒ Object
522 523 524 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 522 def (*args) flow.(*args) end |
#extract_relation_options!(*args) ⇒ Object
518 519 520 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 518 def (*args) flow.(*args) end |
#filter_id(id, options = {}) ⇒ Object
Implement this method in your application interface if you want to sanitize all ID references used in the flow control API. For example you could use this to append a flow name prefix to every ID reference within a flow which can help with ID duplication problems when flow snippets are re-used.
514 515 516 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 514 def filter_id(id, = {}) id end |
#if_all_failed(*args, &block) ⇒ Object Also known as: unless_any_passed
Alias for flow#if_all_failed
589 590 591 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 589 def if_all_failed(*args, &block) flow.if_all_failed(*args, &block) end |
#if_all_passed(*args, &block) ⇒ Object Also known as: unless_any_failed
Alias for flow#if_all_passed
577 578 579 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 577 def if_all_passed(*args, &block) flow.if_all_passed(*args, &block) end |
#if_any_failed(*args, &block) ⇒ Object Also known as: unless_all_passed
Alias for flow#if_any_failed
583 584 585 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 583 def if_any_failed(*args, &block) flow.if_any_failed(*args, &block) end |
#if_any_passed(*args, &block) ⇒ Object Also known as: unless_all_failed
Alias for flow#if_any_passed
571 572 573 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 571 def if_any_passed(*args, &block) flow.if_any_passed(*args, &block) end |
#if_enable(*args, &block) ⇒ Object Also known as: if_enabled
Alias for flow#if_enable
527 528 529 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 527 def if_enable(*args, &block) flow.if_enable(*args, &block) end |
#if_failed(*args, &block) ⇒ Object Also known as: unless_passed
Alias for flow#if_failed
559 560 561 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 559 def if_failed(*args, &block) flow.if_failed(*args, &block) end |
#if_job(*args, &block) ⇒ Object
Alias for flow#if_job
539 540 541 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 539 def if_job(*args, &block) flow.if_job(*args, &block) end |
#if_passed(*args, &block) ⇒ Object Also known as: unless_failed
Alias for flow#if_passed
565 566 567 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 565 def if_passed(*args, &block) flow.if_passed(*args, &block) end |
#if_ran(*args, &block) ⇒ Object
Alias for flow#if_ran
554 555 556 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 554 def if_ran(*args, &block) flow.if_ran(*args, &block) end |
#skip(*args, &block) ⇒ Object
Alias for flow#skip
595 596 597 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 595 def skip(*args, &block) flow.skip(*args, &block) end |
#unless_enable(*args, &block) ⇒ Object Also known as: unless_enabled
Alias for flow#unless_enable
533 534 535 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 533 def unless_enable(*args, &block) flow.unless_enable(*args, &block) end |
#unless_job(*args, &block) ⇒ Object
Alias for flow#unless_job
544 545 546 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 544 def unless_job(*args, &block) flow.unless_job(*args, &block) end |
#unless_ran(*args, &block) ⇒ Object
Alias for flow#unless_ran
549 550 551 |
# File 'lib/origen_testers/generator/flow_control_api.rb', line 549 def unless_ran(*args, &block) flow.unless_ran(*args, &block) end |