summaryrefslogtreecommitdiffstats
path: root/test/testunit
diff options
context:
space:
mode:
authorntalbott <ntalbott@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-05 02:23:48 +0000
committerntalbott <ntalbott@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-05 02:23:48 +0000
commit1e0b97fab208a1ce7bce651517296dbf08021725 (patch)
tree9b4ebb32f31adbdaf884afb8a88a8fb49092ae86 /test/testunit
parent3602e952c56b388746f65c2c5d3779b7dcecc635 (diff)
downloadruby-1e0b97fab208a1ce7bce651517296dbf08021725.tar.gz
ruby-1e0b97fab208a1ce7bce651517296dbf08021725.tar.xz
ruby-1e0b97fab208a1ce7bce651517296dbf08021725.zip
* test/testunit/runit/test_testresult.rb: removed some unnecessary
cruft. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/testunit')
-rw-r--r--test/testunit/runit/test_testresult.rb18
1 files changed, 1 insertions, 17 deletions
diff --git a/test/testunit/runit/test_testresult.rb b/test/testunit/runit/test_testresult.rb
index 9249309f3..702b88d0c 100644
--- a/test/testunit/runit/test_testresult.rb
+++ b/test/testunit/runit/test_testresult.rb
@@ -4,10 +4,7 @@
# Copyright:: Copyright (c) 2002 Nathaniel Talbott. All rights reserved.
# License:: Ruby license.
-require 'runit/testcase'
-require 'runit/cui/testrunner'
-
-require 'runit/testresult'
+require 'rubyunit'
module RUNIT
class TestTestResult < RUNIT::TestCase
@@ -144,17 +141,4 @@ module RUNIT
assert(@result.succeed?)
end
end
-
- if $0 == __FILE__
- testrunner = RUNIT::CUI::TestRunner.new
- if ARGV.size == 0
- suite = TestRUNIT__TestResult.suite
- else
- suite = RUNIT::TestSuite.new
- ARGV.each do |testmethod|
- suite.add(TestRUNIT__TestResult.new(testmethod))
- end
- end
- testrunner.run(suite)
- end
end