Sha256: a2ae7b48a03372edc0f5959d8c68e7208d84ba635b5382a1d1b7d725aa7705fe

Contents?: true

Size: 945 Bytes

Versions: 23

Compression:

Stored size: 945 Bytes

Contents

$SETUP_LOADED = true

$myDir = File.expand_path(File.dirname(__FILE__))

topdir = File.join(File.dirname(__FILE__), '..')
$firewatir_dev_lib = File.join(topdir, 'lib')
$watir_dev_lib = File.join(topdir, '..', 'watir', 'lib')
commonwatir_dir = "commonwatir#{File.exist?('VERSION') ? "-#{File.read('VERSION').strip}" : ""}"
libs = []
libs << File.join(topdir, '..', commonwatir_dir, 'lib')
libs << File.join(topdir, '..', commonwatir_dir) # for the unit tests
libs.each { |lib| $LOAD_PATH.unshift File.expand_path(lib) }

require 'watir/browser'
Watir::Browser.default = 'firefox'
require 'unittests/setup/lib'
module Watir::UnitTest
  alias :uses_page :goto_page
end

require 'unittests/setup/testUnitAddons'

commondir = File.join(topdir, '..', commonwatir_dir)
$all_tests = []
Dir.chdir topdir do
  $all_tests += Dir["unittests/*_test.rb"]
end
Dir.chdir commondir do
  $all_tests += Dir["unittests/*_test.rb"]
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
firewatir-1.9.4 unittests/setup.rb
firewatir-1.9.3 unittests/setup.rb
firewatir-1.9.2 unittests/setup.rb
firewatir-1.9.2.rc1 unittests/setup.rb
firewatir-1.9.1 unittests/setup.rb
firewatir-1.9.1.rc1 unittests/setup.rb
firewatir-1.9.0 unittests/setup.rb
firewatir-1.9.0.rc7 unittests/setup.rb
firewatir-1.9.0.rc6 unittests/setup.rb
firewatir-1.9.0.rc5 unittests/setup.rb
firewatir-1.9.0.rc4 unittests/setup.rb
firewatir-1.9.0.rc3 unittests/setup.rb
firewatir-1.9.0.rc2 unittests/setup.rb
firewatir-1.9.0.rc1 unittests/setup.rb
firewatir-1.8.1 unittests/setup.rb
firewatir-1.8.1.rc1 unittests/setup.rb
firewatir-1.8.0 unittests/setup.rb
firewatir-1.8.0.rc1 unittests/setup.rb
firewatir-1.7.1 unittests/setup.rb
firewatir-1.7.0 unittests/setup.rb