Sha256: 703d4e7a6f80b697433ce8c831ce67a1441dba854b2119539de11a11ab6b8c28

Contents?: true

Size: 663 Bytes

Versions: 2

Compression:

Stored size: 663 Bytes

Contents

require 'rubygems'
require 'simplecov'
SimpleCov.start
require 'bundler'
require 'test/unit'
require 'puts_debuggerer'

begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'samples'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'glimmer'

class Test::Unit::TestCase
  def assert_has_style(style, widget)
    assert_equal style.swt_constant, widget.getStyle & style.swt_constant
  end  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
glimmer-0.1.4.470 test/helper.rb
glimmer-0.1.4.swt.pre.4.7.0 test/helper.rb