Sha256: b6fecbd737affa134abed29b1eb3d55ae354adf60fff26c9f57dbcc40a8b4a92
Contents?: true
Size: 1.07 KB
Versions: 19
Compression:
Stored size: 1.07 KB
Contents
When /I open a directory/ do Swt.sync_exec do Redcar::Project::DirectoryOpenCommand.new.run end end When /I close the directory/ do Swt.sync_exec do Redcar::Project::Manager.focussed_project.close end end When /^I refresh the directory tree$/ do Swt.sync_exec do Redcar::Project::Manager.focussed_project.refresh end end When /^I move the myproject fixture away$/ do FileUtils.mv("plugins/project/spec/fixtures/myproject", "plugins/project/spec/fixtures/myproject.bak") @put_myproject_fixture_back = true end When /^I open a "([^"]*)" as a subproject of the current directory$/ do |arg1| Swt.sync_exec do path = Redcar::Project::Manager.focussed_project.path Redcar::Project::Manager.open_subproject(path,path + arg1) end end Then /^"([^"]*)" in the project configuration files$/ do |arg1| project = Redcar::Project::Manager.focussed_project project.config_files(arg1).each do |file| File.exist?(file).should == true end end When /^"([^"]*)" goes missing$/ do |arg1| FileUtils.rm(arg1) File.exists?(arg1).should == false end
Version data entries
19 entries across 19 versions & 2 rubygems