OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
ruby
/
vendor_ruby
/
minitest
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/05/2020 06:33:15 AM
rwxr-xr-x
📄
assertions.rb
18.37 KB
07/26/2017 07:11:21 AM
rw-r--r--
📄
autorun.rb
127 bytes
07/26/2017 07:11:21 AM
rw-r--r--
📄
benchmark.rb
11.22 KB
07/26/2017 07:11:21 AM
rw-r--r--
📄
expectations.rb
5.75 KB
07/26/2017 07:11:21 AM
rw-r--r--
📄
hell.rb
203 bytes
07/26/2017 07:11:21 AM
rw-r--r--
📄
mock.rb
6.86 KB
07/26/2017 07:11:21 AM
rw-r--r--
📄
parallel.rb
1.56 KB
07/26/2017 07:11:21 AM
rw-r--r--
📄
pride.rb
67 bytes
07/26/2017 07:11:21 AM
rw-r--r--
📄
pride_plugin.rb
3.08 KB
07/26/2017 07:11:21 AM
rw-r--r--
📄
spec.rb
8.47 KB
07/26/2017 07:11:21 AM
rw-r--r--
📄
test.rb
6.7 KB
07/26/2017 07:11:21 AM
rw-r--r--
📄
unit.rb
1.23 KB
07/26/2017 07:11:21 AM
rw-r--r--
Editing: unit.rb
Close
# :stopdoc: unless defined?(Minitest) then # all of this crap is just to avoid circular requires and is only # needed if a user requires "minitest/unit" directly instead of # "minitest/autorun", so we also warn from = caller.reject { |s| s =~ /rubygems/ }.join("\n ") warn "Warning: you should require 'minitest/autorun' instead." warn %(Warning: or add 'gem "minitest"' before 'require "minitest/autorun"') warn "From:\n #{from}" module Minitest; end MiniTest = Minitest # prevents minitest.rb from requiring back to us require "minitest" end MiniTest = Minitest unless defined?(MiniTest) module Minitest class Unit VERSION = Minitest::VERSION class TestCase < Minitest::Test def self.inherited klass # :nodoc: from = caller.first warn "MiniTest::Unit::TestCase is now Minitest::Test. From #{from}" super end end def self.autorun # :nodoc: from = caller.first warn "MiniTest::Unit.autorun is now Minitest.autorun. From #{from}" Minitest.autorun end def self.after_tests &b # :nodoc: from = caller.first warn "MiniTest::Unit.after_tests is now Minitest.after_run. From #{from}" Minitest.after_run(&b) end end end # :startdoc: