Prototype: Test library fixes: make rake dist work on Windows, only teardown if a browser is supported. Closes #8463, #8498. [Mislav Marohnic, grant]

This commit is contained in:
Thomas Fuchs 2007-06-04 10:02:01 +00:00
parent ae8d11d819
commit 431dd4e994
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,7 @@
*SVN*
* Test library fixes: make rake dist work on Windows, only teardown if a browser is supported. Closes #8463, #8498. [Mislav Marohnić, grant]
* Change Element.insert syntax to allow multiple positions. [Thomas Fuchs]
Examples:
Element.insert('foo', {top:'bar', bottom:'baz'});

View File

@ -97,7 +97,7 @@ class IEBrowser < Browser
end
class KonquerorBrowser < Browser
@@configDir = File.join(ENV['HOME'], '.kde', 'share', 'config')
@@configDir = File.join((ENV['HOME'] || ''), '.kde', 'share', 'config')
@@globalConfig = File.join(@@configDir, 'kdeglobals')
@@konquerorConfig = File.join(@@configDir, 'konquerorrc')
@ -208,7 +208,6 @@ class JavaScriptTestTask < ::Rake::TaskLib
else
puts "Skipping #{browser}, not supported on this OS"
end
browser.teardown
end
@server.shutdown