Codebase list ruby-fxruby / 55b7dfec-7e94-4d45-9893-75403ede1853/upstream test / TC_FXHiliteStyle.rb
55b7dfec-7e94-4d45-9893-75403ede1853/upstream

Tree @55b7dfec-7e94-4d45-9893-75403ede1853/upstream (Download .tar.gz)

TC_FXHiliteStyle.rb @55b7dfec-7e94-4d45-9893-75403ede1853/upstreamraw · history · blame

require 'fox16'
require 'test/unit'

class TC_FXHiliteStyle < Test::Unit::TestCase
  include Fox


  def setup
    @style = FXHiliteStyle.new
  end

  def test_new_object_is_initialized
    assert_equal(0, @style.normalForeColor)
    assert_equal(0, @style.normalBackColor)
    assert_equal(0, @style.selectForeColor)
    assert_equal(0, @style.selectBackColor)
    assert_equal(0, @style.hiliteForeColor)
    assert_equal(0, @style.hiliteBackColor)
    assert_equal(0, @style.activeBackColor)
    assert_equal(0, @style.style)
  end
end