aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test/unit/testcase.rb
diff options
context:
space:
mode:
authorsorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-17 08:01:15 +0000
committersorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-17 08:01:15 +0000
commit96f552670d045c3e76c02929753f6934da51974f (patch)
treeddec187802450552f8fa2f920655948e22ee44e7 /lib/test/unit/testcase.rb
parent59cb82c52c701457b742d4cbd8efce30284939b8 (diff)
downloadruby-96f552670d045c3e76c02929753f6934da51974f.tar.gz
* lib/test: Removed because ruby's test cases now independent to
lib/test by r45970. [Feature #9711] [ruby-core:62620] I'm still considering about the future of lib/minitest, lib/test. (bundling gems?) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test/unit/testcase.rb')
-rw-r--r--lib/test/unit/testcase.rb34
1 files changed, 0 insertions, 34 deletions
diff --git a/lib/test/unit/testcase.rb b/lib/test/unit/testcase.rb
deleted file mode 100644
index 984f08dd32..0000000000
--- a/lib/test/unit/testcase.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-require 'test/unit/assertions'
-
-module Test
- module Unit
- # remove silly TestCase class
- remove_const(:TestCase) if defined?(self::TestCase)
-
- class TestCase < MiniTest::Unit::TestCase # :nodoc: all
- include Assertions
-
- def on_parallel_worker?
- false
- end
-
- def run runner
- @options = runner.options
- super runner
- end
-
- def self.test_order
- :sorted
- end
-
- def self.method_added(name)
- return unless name.to_s.start_with?("test_")
- @test_methods ||= {}
- if @test_methods[name]
- warn "test/unit warning: method #{ self }##{ name } is redefined"
- end
- @test_methods[name] = true
- end
- end
- end
-end