Show
Ignore:
Timestamp:
01/22/09 12:04:10 (4 years ago)
Author:
isaisstillalive
Message:
  • CheckBox?,RadioButtonをButtonのサブクラスから外したため、classnameが正しく設定されなかった問題を解消。
Location:
lang/ruby/ruwin/test/ruwin
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/ruwin/test/ruwin/test_button.rb

    r28828 r28834  
    66  include Ruwin::Const::Button 
    77  TARGET_CLASS = Ruwin::Button 
     8   
     9  def test_classname 
     10    window = HiddenWindow.new 
     11    control = self.class::TARGET_CLASS.new window 
     12    assert_equal "BUTTON", control.classname 
     13  end 
    814   
    915  def test_style 
  • lang/ruby/ruwin/test/ruwin/test_check_box.rb

    r28830 r28834  
    66  include Ruwin::Const::Button 
    77  TARGET_CLASS = Ruwin::CheckBox 
     8   
     9  def test_classname 
     10    window = HiddenWindow.new 
     11    control = self.class::TARGET_CLASS.new window 
     12    assert_equal "BUTTON", control.classname 
     13  end 
    814   
    915  def test_style 
  • lang/ruby/ruwin/test/ruwin/test_radio_button.rb

    r28828 r28834  
    77  TARGET_CLASS = Ruwin::RadioButton 
    88   
     9  def test_classname 
     10    window = HiddenWindow.new 
     11    control = self.class::TARGET_CLASS.new window 
     12    assert_equal "BUTTON", control.classname 
     13  end 
     14   
    915  def test_style 
    1016    window = HiddenWindow.new