2 require 'test/unit/deprecate'
4 warn "require 'test/unit/testcase' has been deprecated" unless
5 caller.first =~ /test.unit.rb/
8 module Test::Unit # was ::Mini::Test, but rails' horrid code forced my hand
9 if defined? TestCase then
10 warn "ARGH! someone defined Test::Unit::TestCase rather than requiring"
11 remove_const :TestCase
14 AssertionFailedError = ::Mini::Assertion
16 class TestCase < ::Mini::Test::TestCase
17 tu_deprecate :method_name, :name # 2009-06-01
19 def self.test_order # 2009-06-01
25 require 'test/unit/assertions' # brings in deprecated methods