mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/test/unit/ui/{fox,gtk,gtk2}/testrunner.rb: remove
garbage (patch from akira yamada) [ruby-dev:23911] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
16d5fd2aae
commit
8ece526786
4 changed files with 12 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Jul 16 11:31:49 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* lib/test/unit/ui/{fox,gtk,gtk2}/testrunner.rb: remove
|
||||
garbage (patch from akira yamada) [ruby-dev:23911]
|
||||
|
||||
Fri Jul 16 11:17:09 2004 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* sprintf.c (rb_f_sprintf): fix output of NaN, Inf and -Inf with
|
||||
|
|
|
@ -249,7 +249,7 @@ module Test
|
|||
end
|
||||
end
|
||||
|
||||
class FaultListItem < FXListItem all
|
||||
class FaultListItem < FXListItem
|
||||
attr_reader(:fault)
|
||||
def initialize(fault)
|
||||
super(fault.short_display)
|
||||
|
|
|
@ -383,7 +383,7 @@ module Test
|
|||
end
|
||||
end
|
||||
|
||||
class EnhancedProgressBar < Gtk::ProgressBar all
|
||||
class EnhancedProgressBar < Gtk::ProgressBar
|
||||
def set_style(style)
|
||||
super
|
||||
hide
|
||||
|
@ -391,13 +391,13 @@ module Test
|
|||
end
|
||||
end
|
||||
|
||||
class EnhancedLabel < Gtk::Label all
|
||||
class EnhancedLabel < Gtk::Label
|
||||
def set_text(text)
|
||||
super(text.gsub(/\n\t/, "\n" + (" " * 4)))
|
||||
end
|
||||
end
|
||||
|
||||
class FaultListItem < Gtk::ListItem all
|
||||
class FaultListItem < Gtk::ListItem
|
||||
attr_reader(:fault)
|
||||
def initialize(fault)
|
||||
super(fault.short_display)
|
||||
|
|
|
@ -9,17 +9,17 @@ require "test/unit/ui/testrunnerutilities"
|
|||
module Test
|
||||
module Unit
|
||||
module UI
|
||||
module GTK2 all
|
||||
module GTK2
|
||||
|
||||
Gtk.init
|
||||
|
||||
class EnhancedLabel < Gtk::Label all
|
||||
class EnhancedLabel < Gtk::Label
|
||||
def set_text(text)
|
||||
super(text.gsub(/\n\t/, "\n "))
|
||||
end
|
||||
end
|
||||
|
||||
class FaultList < Gtk::TreeView all
|
||||
class FaultList < Gtk::TreeView
|
||||
def initialize
|
||||
@faults = []
|
||||
@model = Gtk::ListStore.new(String, String)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue