Sha256: 98317c49870c110208f3336f3bc2e4ea8200ac10d292b2b0f27babacc952489c

Contents?: true

Size: 674 Bytes

Versions: 19

Compression:

Stored size: 674 Bytes

Contents

When /^I open a "([^"]*)" repl$/ do |repl|
  Swt.sync_exec do
    Redcar.const_get(repl.camelize).const_get("Open" + repl.camelize + "REPL").new.run
  end
end

When /^I open a new repl$/ do
  Swt.sync_exec do
    Redcar::REPL::OpenFakeREPL.new.run
  end
end

Then /^the REPL output should be "([^"]*)"$/ do |output|
  Swt.sync_exec do
    current_tab.edit_view.document.mirror.last_output.should == output
  end
end

Then /^the current command should be "([^"]*)"$/ do |cmd|
  Swt.sync_exec do
    current_tab.current_command.should == cmd
  end
end

Then /^the current command should be blank$/ do
  Swt.sync_exec do
    current_tab.current_command.should == nil
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

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