diff options
Diffstat (limited to 'test/testunit/runit/test_testresult.rb')
-rw-r--r-- | test/testunit/runit/test_testresult.rb | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/test/testunit/runit/test_testresult.rb b/test/testunit/runit/test_testresult.rb index 9249309f35..702b88d0c0 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 |