1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/testunit/runit/test_testresult.rb: removed some unnecessary

cruft.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ntalbott 2003-10-05 02:23:48 +00:00
parent b60827ba04
commit 1e85ca8a02
2 changed files with 6 additions and 17 deletions

View file

@ -1,3 +1,8 @@
Sun Oct 5 11:23:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
* test/testunit/runit/test_testresult.rb: removed some unnecessary
cruft.
Sun Oct 5 11:14:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
* lib/rubyunit.rb: aliasing TestCase into the top level is

View file

@ -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