Sha256: 76e2d30f88cdf51b2f37970b167b724496e6fd00160636197070280a9851555d

Contents?: true

Size: 1.11 KB

Versions: 6

Compression:

Stored size: 1.11 KB

Contents

#require 'yaml'    #Couldn't find use anywhere
require 'active_support/core_ext/hash'

module Awetestlib
  ::USING_WINDOWS = !!((RUBY_PLATFORM =~ /(win|w)(32|64)$/) || (RUBY_PLATFORM=~ /mswin|mingw/))
  ::USING_OSX     = RUBY_PLATFORM =~ /darwin/

  # @private
  BROWSER_MAP = {
      'FF' => 'Firefox',
      'IE' => 'Internet Explorer',
      'S'  => 'Safari',
      'MS' => 'Mobile Safari',
      'C'  => 'Chrome'
  }

  # @private
  BROWSER_ALTERNATES = {
      'OSX'     => { 'IE' => 'S' },
      'Windows' => { 'S' => 'IE' }
  }

  if USING_WINDOWS
    #require 'win32ole' <-- We'll load this later in Shamisen::AwetestLegacy::Runner. It has to be loaded after watir, see https://www.pivotaltracker.com/story/show/19249981
    #require 'win32/screenshot'  # triggering segmentation fault 10sep2012 pmn
  end
  #require 'active_support/inflector'
  #require 'active_support/core_ext/object'
  #require 'active_support/core_ext/hash'
  require 'awetestlib/runner'
  require 'andand'
  require 'awetestlib/regression/runner'
  require 'pry'

  if USING_OSX
    require 'appscript'
  end

  #require 'roo' #moved to awetestlib runner

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
awetestlib-0.1.28 lib/awetestlib.rb
awetestlib-0.1.27 lib/awetestlib.rb
awetestlib-0.1.26 lib/awetestlib.rb
awetestlib-0.1.25 lib/awetestlib.rb
awetestlib-0.1.24 lib/awetestlib.rb
awetestlib-0.1.23 lib/awetestlib.rb