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 | 8ece526786ed2618b4dee686b48f64a3a482082e (patch) | |
tree | 1d263975f41784cfa9b5642de4e180848b2e5c1c /lib/test | |
parent | 16d5fd2aae85aa27027c7815e999c2bfe03df159 (diff) | |
download | ruby-8ece526786ed2618b4dee686b48f64a3a482082e.tar.gz |
* 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
Diffstat (limited to 'lib/test')
-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 |
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/test/unit/ui/fox/testrunner.rb b/lib/test/unit/ui/fox/testrunner.rb index 4a3a206193..3e2d7f4b36 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 8bd7f0e2fc..e07822de15 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 942bb17af2..418faa6b2a 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) |