Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /opt/alt/ruby20/lib64/ruby/2.0.0/test/unit//testcase.rb
require 'test/unit/assertions'
module Test
module Unit
# remove silly TestCase class
remove_const(:TestCase) if defined?(self::TestCase)
class TestCase < MiniTest::Unit::TestCase
include Assertions
def on_parallel_worker?
false
end
def run runner
@options = runner.options
super runner
end
def self.test_order
:sorted
end
def self.method_added(name)
return unless name.to_s.start_with?("test_")
@test_methods ||= {}
if @test_methods[name]
warn "test/unit warning: method #{ self }##{ name } is redefined"
end
@test_methods[name] = true
end
end
end
end
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | March 03 2024 22:43:33 | root / linksafe | 0755 | |
| | | | | |
assertions.rb | 10.844 KB | April 11 2013 17:19:28 | root / linksafe | 0644 | |
parallel.rb | 4.593 KB | August 31 2014 07:35:06 | root / linksafe | 0644 | |
testcase.rb | 0.697 KB | July 21 2012 06:14:24 | root / linksafe | 0644 | |