/usr/lib/ruby/1.8/runit/testsuite.rb is in libruby1.8 1.8.7.352-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Author:: Nathaniel Talbott.
# Copyright:: Copyright (c) 2000-2002 Nathaniel Talbott. All rights reserved.
# License:: Ruby license.
require 'test/unit/testsuite'
module RUNIT
class TestSuite < Test::Unit::TestSuite
def add_test(*args)
add(*args)
end
def add(*args)
self.<<(*args)
end
def count_test_cases
return size
end
def run(result, &progress_block)
progress_block = proc {} unless (block_given?)
super(result, &progress_block)
end
end
end
|