diff options
| author | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-10 00:56:29 +0000 |
|---|---|---|
| committer | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-10 00:56:29 +0000 |
| commit | b001079cee3aca8387adeacaf33a78419e167a48 (patch) | |
| tree | be1b76d2fff4338824b31770e7737a41002fe1cf /lib/test/unit/testcase.rb | |
| parent | 1ca5143193379d73a01c2ccdabe0d280cf73a47a (diff) | |
| download | ruby-b001079cee3aca8387adeacaf33a78419e167a48.tar.gz ruby-b001079cee3aca8387adeacaf33a78419e167a48.tar.xz ruby-b001079cee3aca8387adeacaf33a78419e167a48.zip | |
Removing miniunit
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test/unit/testcase.rb')
| -rw-r--r-- | lib/test/unit/testcase.rb | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/lib/test/unit/testcase.rb b/lib/test/unit/testcase.rb deleted file mode 100644 index a0498e52c..000000000 --- a/lib/test/unit/testcase.rb +++ /dev/null @@ -1,31 +0,0 @@ -############################################################ -# This file is imported from a different project. -# DO NOT make modifications in this repo. -# File a patch instead and assign it to Ryan Davis -############################################################ - -require 'mini/test' -require 'test/unit/deprecate' - -warn "require 'test/unit/testcase' has been deprecated" unless - caller.first =~ /test.unit.rb/ - -module Test; end -module Test::Unit # was ::Mini::Test, but rails' horrid code forced my hand - if defined? TestCase then - warn "ARGH! someone defined Test::Unit::TestCase rather than requiring" - remove_const :TestCase - end - - AssertionFailedError = ::Mini::Assertion - - class TestCase < ::Mini::Test::TestCase - tu_deprecate :method_name, :name # 2009-06-01 - - def self.test_order # 2009-06-01 - :sorted - end - end -end - -require 'test/unit/assertions' # brings in deprecated methods |
