diff options
| author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-16 02:33:31 +0000 |
|---|---|---|
| committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-16 02:33:31 +0000 |
| commit | 0734baec3c27565b84075cf8bce5ed5f04b7d008 (patch) | |
| tree | 1d263975f41784cfa9b5642de4e180848b2e5c1c | |
| parent | 4bdc27ea05b724f40bf20393ffb5f905818265e4 (diff) | |
| download | ruby-0734baec3c27565b84075cf8bce5ed5f04b7d008.tar.gz ruby-0734baec3c27565b84075cf8bce5ed5f04b7d008.tar.xz ruby-0734baec3c27565b84075cf8bce5ed5f04b7d008.zip | |
* lib/test/unit/ui/{fox,gtk,gtk2}/testrunner.rb: remove
garbage (patch from akira yamada) [ruby-dev:23911]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | lib/test/unit/ui/fox/testrunner.rb | 2 | ||||
| -rw-r--r-- | lib/test/unit/ui/gtk/testrunner.rb | 6 | ||||
| -rw-r--r-- | lib/test/unit/ui/gtk2/testrunner.rb | 6 |
4 files changed, 12 insertions, 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 diff --git a/lib/test/unit/ui/fox/testrunner.rb b/lib/test/unit/ui/fox/testrunner.rb index 4a3a20619..3e2d7f4b3 100644 --- a/lib/test/unit/ui/fox/testrunner.rb +++ b/lib/test/unit/ui/fox/testrunner.rb @@ -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) diff --git a/lib/test/unit/ui/gtk/testrunner.rb b/lib/test/unit/ui/gtk/testrunner.rb index 8bd7f0e2f..e07822de1 100644 --- a/lib/test/unit/ui/gtk/testrunner.rb +++ b/lib/test/unit/ui/gtk/testrunner.rb @@ -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) diff --git a/lib/test/unit/ui/gtk2/testrunner.rb b/lib/test/unit/ui/gtk2/testrunner.rb index 942bb17af..418faa6b2 100644 --- a/lib/test/unit/ui/gtk2/testrunner.rb +++ b/lib/test/unit/ui/gtk2/testrunner.rb @@ -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) |
