diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-21 03:56:45 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-21 03:56:45 +0000 |
| commit | e143a360f828d33fd67c74f4caadc38d3ce55e55 (patch) | |
| tree | b1ca6ff0ea8e8ac5dce1f5c96a03a8030acb25f7 /lib/runit/cui | |
| parent | 5e9e13f04f17a88cf41675fb510700db5940625f (diff) | |
| download | ruby-e143a360f828d33fd67c74f4caadc38d3ce55e55.tar.gz ruby-e143a360f828d33fd67c74f4caadc38d3ce55e55.tar.xz ruby-e143a360f828d33fd67c74f4caadc38d3ce55e55.zip | |
* lib/runit, lib/rubyunit.rb, test/testunit/runit: removed.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/runit/cui')
| -rw-r--r-- | lib/runit/cui/testrunner.rb | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/lib/runit/cui/testrunner.rb b/lib/runit/cui/testrunner.rb deleted file mode 100644 index d521ec16a..000000000 --- a/lib/runit/cui/testrunner.rb +++ /dev/null @@ -1,51 +0,0 @@ -# Author:: Nathaniel Talbott. -# Copyright:: Copyright (c) 2000-2002 Nathaniel Talbott. All rights reserved. -# License:: Ruby license. - -require 'test/unit/ui/console/testrunner' -require 'runit/testresult' - -module RUNIT - module CUI - class TestRunner < Test::Unit::UI::Console::TestRunner - @@quiet_mode = false - - def self.run(suite) - self.new().run(suite) - end - - def initialize - super nil - end - - def run(suite, quiet_mode=@@quiet_mode) - @suite = suite - def @suite.suite - self - end - @output_level = (quiet_mode ? Test::Unit::UI::PROGRESS_ONLY : Test::Unit::UI::VERBOSE) - start - end - - def create_mediator(suite) - mediator = Test::Unit::UI::TestRunnerMediator.new(suite) - class << mediator - attr_writer :result_delegate - def create_result - return @result_delegate.create_result - end - end - mediator.result_delegate = self - return mediator - end - - def create_result - return RUNIT::TestResult.new - end - - def self.quiet_mode=(boolean) - @@quiet_mode = boolean - end - end - end -end |
