Sha256: b04cb363f874beb76ff599ef446fb8235f8b5197ae7afe886bff1f84bfcc65f9

Contents?: true

Size: 617 Bytes

Versions: 19

Compression:

Stored size: 617 Bytes

Contents

Then /^the window should have title "([^\"]*)"$/ do |expected_title|
  Swt.sync_exec do
    active_shell.get_text.should == expected_title
  end
end

When /^I set the treebook width to (the default|only a few pixels|the minimum width|\d+ pixels)$/ do |w|
  Swt.sync_exec do
    if w == "only a few pixels"
      width = 10
    elsif w == "the minimum width"
      width = Redcar::ApplicationSWT::Window::MINIMUM_TREEBOOK_WIDTH
    elsif w == "the default"
      width = default_treebook_width
    else
      width = w.split(" ")[0].to_i
    end
    focussed_window.controller.send(:set_sash_widths, width)
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
redcar-0.13 plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.13.5dev plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.13.4dev plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.13.3dev plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.13.2dev plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.13.1dev plugins/application/features/step_definitions/window_steps.rb
redcar-0.12.1 plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.13.0dev plugins/application/features/step_definitions/window_steps.rb
redcar-0.12 plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.27dev plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.26dev plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.25dev plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.24dev plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.23dev plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.22dev plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.21dev plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.20dev plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.19dev plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.18dev plugins/application/features/step_definitions/window_steps.rb