Sha256: 387583025761381c866f9fe4a0a2e186cb7ce0bc8b09751c2039c824d7b99ccb

Contents?: true

Size: 545 Bytes

Versions: 22

Compression:

Stored size: 545 Bytes

Contents

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

When /^I set the treebook width to (the default|only a few pixels|the minimum width|\d+ pixels)$/ do |w|
  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

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
redcar-dev-0.12.17dev plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.16dev-java plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.15dev-java plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.14dev-java plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.13dev-java plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.12dev-java plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.11dev-java plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.10dev-java plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.9dev-java plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.8dev-java plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.7dev-java plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.6dev-java plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.4dev-java plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.3dev-java plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.1dev-java plugins/application/features/step_definitions/window_steps.rb
redcar-dev-0.12.0dev-java plugins/application/features/step_definitions/window_steps.rb
redcar-0.11 plugins/application/features/step_definitions/window_steps.rb
redcar-0.11.0dev plugins/application/features/step_definitions/window_steps.rb
redcar-0.10 plugins/application/features/step_definitions/window_steps.rb
redcar-0.9.2 plugins/application/features/step_definitions/window_steps.rb