Codebase list ruby-fxruby / 3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a test / TC_FXHiliteStyle.rb
3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a

Tree @3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a (Download .tar.gz)

TC_FXHiliteStyle.rb @3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2araw · 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