This commit is contained in:
Nobuyoshi Nakada 2021-09-11 17:37:49 +09:00
Родитель cd83e716d0
Коммит 952806cdec
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 7CD2805BFA3770C6
2 изменённых файлов: 7 добавлений и 15 удалений

Просмотреть файл

@ -46,11 +46,6 @@ module Test
##
# Test::Unit is an implementation of the xUnit testing framework for Ruby.
#
# If you are writing new test code, please use MiniTest instead of Test::Unit.
#
# Test::Unit has been left in the standard library to support legacy test
# suites.
module Unit
##
# Assertion base class
@ -1518,9 +1513,6 @@ module Test
# Overriding of Test::Unit::Runner#puke
def puke klass, meth, e
# TODO:
# this overriding is for minitest feature that skip messages are
# hidden when not verbose (-v), note this is temporally.
n = report.size
e = case e
when Test::Unit::PendedError then

Просмотреть файл

@ -76,7 +76,7 @@ module Test
module LifecycleHooks
##
# Runs before every test, after setup. This hook is meant for
# libraries to extend minitest. It is not meant to be used by
# libraries to extend Test::Unit. It is not meant to be used by
# test developers.
#
# See #before_setup for an example.
@ -85,12 +85,12 @@ module Test
##
# Runs before every test, before setup. This hook is meant for
# libraries to extend minitest. It is not meant to be used by
# libraries to extend Test::Unit. It is not meant to be used by
# test developers.
#
# As a simplistic example:
#
# module MyMinitestPlugin
# module MyTestUnitPlugin
# def before_setup
# super
# # ... stuff to do before setup is run
@ -113,14 +113,14 @@ module Test
# end
#
# class Test::Unit::Runner::TestCase
# include MyMinitestPlugin
# include MyTestUnitPlugin
# end
def before_setup; end
##
# Runs after every test, before teardown. This hook is meant for
# libraries to extend minitest. It is not meant to be used by
# libraries to extend Test::Unit. It is not meant to be used by
# test developers.
#
# See #before_setup for an example.
@ -129,7 +129,7 @@ module Test
##
# Runs after every test, after teardown. This hook is meant for
# libraries to extend minitest. It is not meant to be used by
# libraries to extend Test::Unit. It is not meant to be used by
# test developers.
#
# See #before_setup for an example.
@ -141,7 +141,7 @@ module Test
# Subclass TestCase to create your own tests. Typically you'll want a
# TestCase subclass per implementation class.
#
# See MiniTest::Unit::AssertionFailedErrors
# See <code>Test::Unit::AssertionFailedError</code>s
class TestCase
include Assertions