From 431dd4e994bc0932eef590f3ce84f085def42aa3 Mon Sep 17 00:00:00 2001 From: Thomas Fuchs Date: Mon, 4 Jun 2007 10:02:01 +0000 Subject: [PATCH] Prototype: Test library fixes: make rake dist work on Windows, only teardown if a browser is supported. Closes #8463, #8498. [Mislav Marohnic, grant] --- CHANGELOG | 2 ++ test/lib/jstest.rb | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 5ccc748..e09c8fc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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'}); diff --git a/test/lib/jstest.rb b/test/lib/jstest.rb index 898dc89..92f12c0 100644 --- a/test/lib/jstest.rb +++ b/test/lib/jstest.rb @@ -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