summaryrefslogtreecommitdiffstats
path: root/lib/runit/testresult.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 03:56:45 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 03:56:45 +0000
commite143a360f828d33fd67c74f4caadc38d3ce55e55 (patch)
treeb1ca6ff0ea8e8ac5dce1f5c96a03a8030acb25f7 /lib/runit/testresult.rb
parent5e9e13f04f17a88cf41675fb510700db5940625f (diff)
* 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/testresult.rb')
-rw-r--r--lib/runit/testresult.rb44
1 files changed, 0 insertions, 44 deletions
diff --git a/lib/runit/testresult.rb b/lib/runit/testresult.rb
deleted file mode 100644
index 7f7077817..000000000
--- a/lib/runit/testresult.rb
+++ /dev/null
@@ -1,44 +0,0 @@
-# Author:: Nathaniel Talbott.
-# Copyright:: Copyright (c) 2000-2002 Nathaniel Talbott. All rights reserved.
-# License:: Ruby license.
-
-require 'test/unit/testresult'
-
-module RUNIT
- class TestResult < Test::Unit::TestResult
- attr_reader(:errors, :failures)
- def succeed?
- return passed?
- end
- def failure_size
- return failure_count
- end
- def run_asserts
- return assertion_count
- end
- def error_size
- return error_count
- end
- def run_tests
- return run_count
- end
- def add_failure(failure)
- def failure.at
- return location
- end
- def failure.err
- return message
- end
- super(failure)
- end
- def add_error(error)
- def error.at
- return location
- end
- def error.err
- return exception
- end
- super(error)
- end
- end
-end