Sha256: 2ab8b150212eb5974d63bde111023401ed9e7e76042be53b62403a6148c828b7

Contents?: true

Size: 1014 Bytes

Versions: 21

Compression:

Stored size: 1014 Bytes

Contents

# Flow to exercise the Flow Control API
#
# Some of the other flows also cover the flow control API and those tests are used
# to guarantee that the test ID references work when sub-flows are involved.
# This flow provides a full checkout of all flow control methods.
Flow.create interface: 'OrigenTesters::Test::Interface', flow_name: "Flow Control Testing" do
  flow.flow_description = 'Flow to exercise the Flow Control API' if tester.v93k?

  self.resources_filename = 'flow_control'

  log "Mixed-case manual flags"
  test :test1, on_fail: { set_flag: :$My_Mixed_Flag }, continue: true, number: 51420
  test :test2, if_flag: "$My_Mixed_Flag", number: 51430
  unless_flag "$My_Mixed_Flag" do
    test :test3, number: 51440
  end
  
  log "Mixed-case manual flags - induce frozen string error"
  test :test4, on_fail: { set_flag: :$My_Mixed_Flag }, continue: true, number: 51450
  test :test5, if_flag: "$My_Mixed_Flag", number: 51460
  unless_flag "$My_Mixed_Flag" do
    test :test6, number: 51470
  end

end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
origen_testers-0.52.8 program/flow_control_flag_bug.rb
origen_testers-0.52.7 program/flow_control_flag_bug.rb
origen_testers-0.52.6 program/flow_control_flag_bug.rb
origen_testers-0.52.5 program/flow_control_flag_bug.rb
origen_testers-0.52.4 program/flow_control_flag_bug.rb
origen_testers-0.52.3 program/flow_control_flag_bug.rb
origen_testers-0.52.1 program/flow_control_flag_bug.rb
origen_testers-0.52.0 program/flow_control_flag_bug.rb
origen_testers-0.51.5 program/flow_control_flag_bug.rb
origen_testers-0.51.4 program/flow_control_flag_bug.rb
origen_testers-0.51.3 program/flow_control_flag_bug.rb
origen_testers-0.51.2 program/flow_control_flag_bug.rb
origen_testers-0.51.1 program/flow_control_flag_bug.rb
origen_testers-0.51.0 program/flow_control_flag_bug.rb
origen_testers-0.50.0 program/flow_control_flag_bug.rb
origen_testers-0.49.4 program/flow_control_flag_bug.rb
origen_testers-0.49.3 program/flow_control_flag_bug.rb
origen_testers-0.49.2 program/flow_control_flag_bug.rb
origen_testers-0.49.1 program/flow_control_flag_bug.rb
origen_testers-0.49.0 program/flow_control_flag_bug.rb