Sha256: 5841448ff88d5bee6e8bb3458c56de9309a2b1618104fe80da85da37b3d8e713

Contents?: true

Size: 1.07 KB

Versions: 6

Compression:

Stored size: 1.07 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/

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

  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'
  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'


  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.10-x86-mingw32 lib/awetestlib.rb
awetestlib-0.1.9-x86-mingw32 lib/awetestlib.rb
awetestlib-0.1.8-x86-mingw32 lib/awetestlib.rb
awetestlib-0.1.7-x86-mingw32 lib/awetestlib.rb
awetestlib-0.1.6-x86-mingw32 lib/awetestlib.rb
awetestlib-0.1.5-x86-mingw32 lib/awetestlib.rb