Update RBI files for minitest.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
This commit is contained in:
parent
d107adcc91
commit
cbbdb13b02
@ -13,7 +13,7 @@ module Minitest
|
|||||||
# Internal run method. Responsible for telling all Runnable
|
# Internal run method. Responsible for telling all Runnable
|
||||||
# sub-classes to run.
|
# sub-classes to run.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#197
|
# source://minitest//lib/minitest.rb#323
|
||||||
def __run(reporter, options); end
|
def __run(reporter, options); end
|
||||||
|
|
||||||
# A simple hook allowing you to run a block of code after everything
|
# A simple hook allowing you to run a block of code after everything
|
||||||
@ -44,10 +44,10 @@ module Minitest
|
|||||||
# source://minitest//lib/minitest.rb#18
|
# source://minitest//lib/minitest.rb#18
|
||||||
def cattr_accessor(name); end
|
def cattr_accessor(name); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#1178
|
# source://minitest//lib/minitest.rb#1208
|
||||||
def clock_time; end
|
def clock_time; end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#177
|
# source://minitest//lib/minitest.rb#303
|
||||||
def empty_run!(options); end
|
def empty_run!(options); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#19
|
# source://minitest//lib/minitest.rb#19
|
||||||
@ -56,7 +56,7 @@ module Minitest
|
|||||||
# source://minitest//lib/minitest.rb#19
|
# source://minitest//lib/minitest.rb#19
|
||||||
def extensions=(_arg0); end
|
def extensions=(_arg0); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#306
|
# source://minitest//lib/minitest.rb#336
|
||||||
def filter_backtrace(bt); end
|
def filter_backtrace(bt); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#19
|
# source://minitest//lib/minitest.rb#19
|
||||||
@ -65,10 +65,10 @@ module Minitest
|
|||||||
# source://minitest//lib/minitest.rb#19
|
# source://minitest//lib/minitest.rb#19
|
||||||
def info_signal=(_arg0); end
|
def info_signal=(_arg0); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#101
|
# source://minitest//lib/minitest.rb#125
|
||||||
def init_plugins(options); end
|
def init_plugins(options); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#108
|
# source://minitest//lib/minitest.rb#109
|
||||||
def load_plugins; end
|
def load_plugins; end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#19
|
# source://minitest//lib/minitest.rb#19
|
||||||
@ -77,9 +77,14 @@ module Minitest
|
|||||||
# source://minitest//lib/minitest.rb#19
|
# source://minitest//lib/minitest.rb#19
|
||||||
def parallel_executor=(_arg0); end
|
def parallel_executor=(_arg0); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#210
|
# source://minitest//lib/minitest.rb#143
|
||||||
def process_args(args = T.unsafe(nil)); end
|
def process_args(args = T.unsafe(nil)); end
|
||||||
|
|
||||||
|
# Register a plugin to be used. Does NOT require / load it.
|
||||||
|
#
|
||||||
|
# source://minitest//lib/minitest.rb#104
|
||||||
|
def register_plugin(name_or_mod); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#19
|
# source://minitest//lib/minitest.rb#19
|
||||||
def reporter; end
|
def reporter; end
|
||||||
|
|
||||||
@ -94,6 +99,9 @@ module Minitest
|
|||||||
#
|
#
|
||||||
# Minitest.autorun
|
# Minitest.autorun
|
||||||
# Minitest.run(args)
|
# Minitest.run(args)
|
||||||
|
# Minitest.load_plugins
|
||||||
|
# Minitest.process_args
|
||||||
|
# Minitest.init_plugins
|
||||||
# Minitest.__run(reporter, options)
|
# Minitest.__run(reporter, options)
|
||||||
# Runnable.runnables.each
|
# Runnable.runnables.each
|
||||||
# runnable_klass.run(reporter, options)
|
# runnable_klass.run(reporter, options)
|
||||||
@ -102,10 +110,10 @@ module Minitest
|
|||||||
# Minitest.run_one_method(klass, runnable_method)
|
# Minitest.run_one_method(klass, runnable_method)
|
||||||
# klass.new(runnable_method).run
|
# klass.new(runnable_method).run
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#143
|
# source://minitest//lib/minitest.rb#269
|
||||||
def run(args = T.unsafe(nil)); end
|
def run(args = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#1169
|
# source://minitest//lib/minitest.rb#1199
|
||||||
def run_one_method(klass, method_name); end
|
def run_one_method(klass, method_name); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#19
|
# source://minitest//lib/minitest.rb#19
|
||||||
@ -119,24 +127,24 @@ end
|
|||||||
# Defines the API for Reporters. Subclass this and override whatever
|
# Defines the API for Reporters. Subclass this and override whatever
|
||||||
# you want. Go nuts.
|
# you want. Go nuts.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#652
|
# source://minitest//lib/minitest.rb#682
|
||||||
class Minitest::AbstractReporter
|
class Minitest::AbstractReporter
|
||||||
# @return [AbstractReporter] a new instance of AbstractReporter
|
# @return [AbstractReporter] a new instance of AbstractReporter
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#654
|
# source://minitest//lib/minitest.rb#684
|
||||||
def initialize; end
|
def initialize; end
|
||||||
|
|
||||||
# Did this run pass?
|
# Did this run pass?
|
||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#689
|
# source://minitest//lib/minitest.rb#719
|
||||||
def passed?; end
|
def passed?; end
|
||||||
|
|
||||||
# About to start running a test. This allows a reporter to show
|
# About to start running a test. This allows a reporter to show
|
||||||
# that it is starting or that we are in the middle of a test run.
|
# that it is starting or that we are in the middle of a test run.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#668
|
# source://minitest//lib/minitest.rb#698
|
||||||
def prerecord(klass, name); end
|
def prerecord(klass, name); end
|
||||||
|
|
||||||
# Output and record the result of the test. Call
|
# Output and record the result of the test. Call
|
||||||
@ -144,43 +152,43 @@ class Minitest::AbstractReporter
|
|||||||
# result character string. Stores the result of the run if the run
|
# result character string. Stores the result of the run if the run
|
||||||
# did not pass.
|
# did not pass.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#677
|
# source://minitest//lib/minitest.rb#707
|
||||||
def record(result); end
|
def record(result); end
|
||||||
|
|
||||||
# Outputs the summary of the run.
|
# Outputs the summary of the run.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#683
|
# source://minitest//lib/minitest.rb#713
|
||||||
def report; end
|
def report; end
|
||||||
|
|
||||||
# Starts reporting on the run.
|
# Starts reporting on the run.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#661
|
# source://minitest//lib/minitest.rb#691
|
||||||
def start; end
|
def start; end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#693
|
# source://minitest//lib/minitest.rb#723
|
||||||
def synchronize(&block); end
|
def synchronize(&block); end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents run failures.
|
# Represents run failures.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#985
|
# source://minitest//lib/minitest.rb#1015
|
||||||
class Minitest::Assertion < ::Exception
|
class Minitest::Assertion < ::Exception
|
||||||
# source://minitest//lib/minitest.rb#988
|
# source://minitest//lib/minitest.rb#1018
|
||||||
def error; end
|
def error; end
|
||||||
|
|
||||||
# Where was this run before an assertion was raised?
|
# Where was this run before an assertion was raised?
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#995
|
# source://minitest//lib/minitest.rb#1025
|
||||||
def location; end
|
def location; end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#1003
|
# source://minitest//lib/minitest.rb#1033
|
||||||
def result_code; end
|
def result_code; end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#1007
|
# source://minitest//lib/minitest.rb#1037
|
||||||
def result_label; end
|
def result_label; end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#986
|
# source://minitest//lib/minitest.rb#1016
|
||||||
Minitest::Assertion::RE = T.let(T.unsafe(nil), Regexp)
|
Minitest::Assertion::RE = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# Minitest Assertions. All assertion methods accept a +msg+ which is
|
# Minitest Assertions. All assertion methods accept a +msg+ which is
|
||||||
@ -627,77 +635,77 @@ Minitest::Assertions::UNDEFINED = T.let(T.unsafe(nil), Object)
|
|||||||
#
|
#
|
||||||
# See Minitest.backtrace_filter=.
|
# See Minitest.backtrace_filter=.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1140
|
# source://minitest//lib/minitest.rb#1170
|
||||||
class Minitest::BacktraceFilter
|
class Minitest::BacktraceFilter
|
||||||
# @return [BacktraceFilter] a new instance of BacktraceFilter
|
# @return [BacktraceFilter] a new instance of BacktraceFilter
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1146
|
# source://minitest//lib/minitest.rb#1176
|
||||||
def initialize(regexp = T.unsafe(nil)); end
|
def initialize(regexp = T.unsafe(nil)); end
|
||||||
|
|
||||||
# Filter +bt+ to something useful. Returns the whole thing if
|
# Filter +bt+ to something useful. Returns the whole thing if
|
||||||
# $DEBUG (ruby) or $MT_DEBUG (env).
|
# $DEBUG (ruby) or $MT_DEBUG (env).
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1154
|
# source://minitest//lib/minitest.rb#1184
|
||||||
def filter(bt); end
|
def filter(bt); end
|
||||||
|
|
||||||
# Returns the value of attribute regexp.
|
# Returns the value of attribute regexp.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1144
|
# source://minitest//lib/minitest.rb#1174
|
||||||
def regexp; end
|
def regexp; end
|
||||||
|
|
||||||
# Sets the attribute regexp
|
# Sets the attribute regexp
|
||||||
#
|
#
|
||||||
# @param value the value to set the attribute regexp to.
|
# @param value the value to set the attribute regexp to.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1144
|
# source://minitest//lib/minitest.rb#1174
|
||||||
def regexp=(_arg0); end
|
def regexp=(_arg0); end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#1142
|
# source://minitest//lib/minitest.rb#1172
|
||||||
Minitest::BacktraceFilter::MT_RE = T.let(T.unsafe(nil), Regexp)
|
Minitest::BacktraceFilter::MT_RE = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# Dispatch to multiple reporters as one.
|
# Dispatch to multiple reporters as one.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#934
|
# source://minitest//lib/minitest.rb#964
|
||||||
class Minitest::CompositeReporter < ::Minitest::AbstractReporter
|
class Minitest::CompositeReporter < ::Minitest::AbstractReporter
|
||||||
# @return [CompositeReporter] a new instance of CompositeReporter
|
# @return [CompositeReporter] a new instance of CompositeReporter
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#940
|
# source://minitest//lib/minitest.rb#970
|
||||||
def initialize(*reporters); end
|
def initialize(*reporters); end
|
||||||
|
|
||||||
# Add another reporter to the mix.
|
# Add another reporter to the mix.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#952
|
# source://minitest//lib/minitest.rb#982
|
||||||
def <<(reporter); end
|
def <<(reporter); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#945
|
# source://minitest//lib/minitest.rb#975
|
||||||
def io; end
|
def io; end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#956
|
# source://minitest//lib/minitest.rb#986
|
||||||
def passed?; end
|
def passed?; end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#964
|
# source://minitest//lib/minitest.rb#994
|
||||||
def prerecord(klass, name); end
|
def prerecord(klass, name); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#971
|
# source://minitest//lib/minitest.rb#1001
|
||||||
def record(result); end
|
def record(result); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#977
|
# source://minitest//lib/minitest.rb#1007
|
||||||
def report; end
|
def report; end
|
||||||
|
|
||||||
# The list of reporters to dispatch to.
|
# The list of reporters to dispatch to.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#938
|
# source://minitest//lib/minitest.rb#968
|
||||||
def reporters; end
|
def reporters; end
|
||||||
|
|
||||||
# The list of reporters to dispatch to.
|
# The list of reporters to dispatch to.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#938
|
# source://minitest//lib/minitest.rb#968
|
||||||
def reporters=(_arg0); end
|
def reporters=(_arg0); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#960
|
# source://minitest//lib/minitest.rb#990
|
||||||
def start; end
|
def start; end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -726,48 +734,48 @@ end
|
|||||||
# # ... lots of test methods ...
|
# # ... lots of test methods ...
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1084
|
# source://minitest//lib/minitest.rb#1114
|
||||||
module Minitest::Guard
|
module Minitest::Guard
|
||||||
# Is this running on jruby?
|
# Is this running on jruby?
|
||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1089
|
# source://minitest//lib/minitest.rb#1119
|
||||||
def jruby?(platform = T.unsafe(nil)); end
|
def jruby?(platform = T.unsafe(nil)); end
|
||||||
|
|
||||||
# Is this running on maglev?
|
# Is this running on maglev?
|
||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1096
|
# source://minitest//lib/minitest.rb#1126
|
||||||
def maglev?(platform = T.unsafe(nil)); end
|
def maglev?(platform = T.unsafe(nil)); end
|
||||||
|
|
||||||
# Is this running on mri?
|
# Is this running on mri?
|
||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1106
|
# source://minitest//lib/minitest.rb#1136
|
||||||
def mri?(platform = T.unsafe(nil)); end
|
def mri?(platform = T.unsafe(nil)); end
|
||||||
|
|
||||||
# Is this running on macOS?
|
# Is this running on macOS?
|
||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1113
|
# source://minitest//lib/minitest.rb#1143
|
||||||
def osx?(platform = T.unsafe(nil)); end
|
def osx?(platform = T.unsafe(nil)); end
|
||||||
|
|
||||||
# Is this running on rubinius?
|
# Is this running on rubinius?
|
||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1120
|
# source://minitest//lib/minitest.rb#1150
|
||||||
def rubinius?(platform = T.unsafe(nil)); end
|
def rubinius?(platform = T.unsafe(nil)); end
|
||||||
|
|
||||||
# Is this running on windows?
|
# Is this running on windows?
|
||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1130
|
# source://minitest//lib/minitest.rb#1160
|
||||||
def windows?(platform = T.unsafe(nil)); end
|
def windows?(platform = T.unsafe(nil)); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -830,36 +838,36 @@ end
|
|||||||
# plugin, pull this out of the composite and replace it with your
|
# plugin, pull this out of the composite and replace it with your
|
||||||
# own.
|
# own.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#724
|
# source://minitest//lib/minitest.rb#754
|
||||||
class Minitest::ProgressReporter < ::Minitest::Reporter
|
class Minitest::ProgressReporter < ::Minitest::Reporter
|
||||||
# source://minitest//lib/minitest.rb#725
|
# source://minitest//lib/minitest.rb#755
|
||||||
def prerecord(klass, name); end
|
def prerecord(klass, name); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#732
|
# source://minitest//lib/minitest.rb#762
|
||||||
def record(result); end
|
def record(result); end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Shared code for anything that can get passed to a Reporter. See
|
# Shared code for anything that can get passed to a Reporter. See
|
||||||
# Minitest::Test & Minitest::Result.
|
# Minitest::Test & Minitest::Result.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#546
|
# source://minitest//lib/minitest.rb#576
|
||||||
module Minitest::Reportable
|
module Minitest::Reportable
|
||||||
# @raise [NotImplementedError]
|
# @raise [NotImplementedError]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#568
|
# source://minitest//lib/minitest.rb#598
|
||||||
def class_name; end
|
def class_name; end
|
||||||
|
|
||||||
# Did this run error?
|
# Did this run error?
|
||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#589
|
# source://minitest//lib/minitest.rb#619
|
||||||
def error?; end
|
def error?; end
|
||||||
|
|
||||||
# The location identifier of this test. Depends on a method
|
# The location identifier of this test. Depends on a method
|
||||||
# existing called class_name.
|
# existing called class_name.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#563
|
# source://minitest//lib/minitest.rb#593
|
||||||
def location; end
|
def location; end
|
||||||
|
|
||||||
# Did this run pass?
|
# Did this run pass?
|
||||||
@ -869,50 +877,50 @@ module Minitest::Reportable
|
|||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#553
|
# source://minitest//lib/minitest.rb#583
|
||||||
def passed?; end
|
def passed?; end
|
||||||
|
|
||||||
# Returns ".", "F", or "E" based on the result of the run.
|
# Returns ".", "F", or "E" based on the result of the run.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#575
|
# source://minitest//lib/minitest.rb#605
|
||||||
def result_code; end
|
def result_code; end
|
||||||
|
|
||||||
# Was this run skipped?
|
# Was this run skipped?
|
||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#582
|
# source://minitest//lib/minitest.rb#612
|
||||||
def skipped?; end
|
def skipped?; end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#557
|
# source://minitest//lib/minitest.rb#587
|
||||||
Minitest::Reportable::BASE_DIR = T.let(T.unsafe(nil), String)
|
Minitest::Reportable::BASE_DIR = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#700
|
# source://minitest//lib/minitest.rb#730
|
||||||
class Minitest::Reporter < ::Minitest::AbstractReporter
|
class Minitest::Reporter < ::Minitest::AbstractReporter
|
||||||
# @return [Reporter] a new instance of Reporter
|
# @return [Reporter] a new instance of Reporter
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#709
|
# source://minitest//lib/minitest.rb#739
|
||||||
def initialize(io = T.unsafe(nil), options = T.unsafe(nil)); end
|
def initialize(io = T.unsafe(nil), options = T.unsafe(nil)); end
|
||||||
|
|
||||||
# The IO used to report.
|
# The IO used to report.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#702
|
# source://minitest//lib/minitest.rb#732
|
||||||
def io; end
|
def io; end
|
||||||
|
|
||||||
# The IO used to report.
|
# The IO used to report.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#702
|
# source://minitest//lib/minitest.rb#732
|
||||||
def io=(_arg0); end
|
def io=(_arg0); end
|
||||||
|
|
||||||
# Command-line options for this run.
|
# Command-line options for this run.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#707
|
# source://minitest//lib/minitest.rb#737
|
||||||
def options; end
|
def options; end
|
||||||
|
|
||||||
# Command-line options for this run.
|
# Command-line options for this run.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#707
|
# source://minitest//lib/minitest.rb#737
|
||||||
def options=(_arg0); end
|
def options=(_arg0); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -922,80 +930,80 @@ end
|
|||||||
# blow up. By using Result.from(a_test) you can be reasonably sure
|
# blow up. By using Result.from(a_test) you can be reasonably sure
|
||||||
# that the test result can be marshalled.
|
# that the test result can be marshalled.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#601
|
# source://minitest//lib/minitest.rb#631
|
||||||
class Minitest::Result < ::Minitest::Runnable
|
class Minitest::Result < ::Minitest::Runnable
|
||||||
include ::Minitest::Reportable
|
include ::Minitest::Reportable
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#635
|
# source://minitest//lib/minitest.rb#665
|
||||||
def class_name; end
|
def class_name; end
|
||||||
|
|
||||||
# The class name of the test result.
|
# The class name of the test result.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#610
|
# source://minitest//lib/minitest.rb#640
|
||||||
def klass; end
|
def klass; end
|
||||||
|
|
||||||
# The class name of the test result.
|
# The class name of the test result.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#610
|
# source://minitest//lib/minitest.rb#640
|
||||||
def klass=(_arg0); end
|
def klass=(_arg0); end
|
||||||
|
|
||||||
# The location of the test method.
|
# The location of the test method.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#615
|
# source://minitest//lib/minitest.rb#645
|
||||||
def source_location; end
|
def source_location; end
|
||||||
|
|
||||||
# The location of the test method.
|
# The location of the test method.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#615
|
# source://minitest//lib/minitest.rb#645
|
||||||
def source_location=(_arg0); end
|
def source_location=(_arg0); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#639
|
# source://minitest//lib/minitest.rb#669
|
||||||
def to_s; end
|
def to_s; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# Create a new test result from a Runnable instance.
|
# Create a new test result from a Runnable instance.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#620
|
# source://minitest//lib/minitest.rb#650
|
||||||
def from(runnable); end
|
def from(runnable); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# re-open
|
# re-open
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#319
|
# source://minitest//lib/minitest.rb#349
|
||||||
class Minitest::Runnable
|
class Minitest::Runnable
|
||||||
# @return [Runnable] a new instance of Runnable
|
# @return [Runnable] a new instance of Runnable
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#477
|
# source://minitest//lib/minitest.rb#507
|
||||||
def initialize(name); end
|
def initialize(name); end
|
||||||
|
|
||||||
# Number of assertions executed in this run.
|
# Number of assertions executed in this run.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#323
|
# source://minitest//lib/minitest.rb#353
|
||||||
def assertions; end
|
def assertions; end
|
||||||
|
|
||||||
# Number of assertions executed in this run.
|
# Number of assertions executed in this run.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#323
|
# source://minitest//lib/minitest.rb#353
|
||||||
def assertions=(_arg0); end
|
def assertions=(_arg0); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#473
|
# source://minitest//lib/minitest.rb#503
|
||||||
def failure; end
|
def failure; end
|
||||||
|
|
||||||
# An assertion raised during the run, if any.
|
# An assertion raised during the run, if any.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#328
|
# source://minitest//lib/minitest.rb#358
|
||||||
def failures; end
|
def failures; end
|
||||||
|
|
||||||
# An assertion raised during the run, if any.
|
# An assertion raised during the run, if any.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#328
|
# source://minitest//lib/minitest.rb#358
|
||||||
def failures=(_arg0); end
|
def failures=(_arg0); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#459
|
# source://minitest//lib/minitest.rb#489
|
||||||
def marshal_dump; end
|
def marshal_dump; end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#469
|
# source://minitest//lib/minitest.rb#499
|
||||||
def marshal_load(ary); end
|
def marshal_load(ary); end
|
||||||
|
|
||||||
# Metadata you attach to the test results that get sent to the reporter.
|
# Metadata you attach to the test results that get sent to the reporter.
|
||||||
@ -1005,29 +1013,29 @@ class Minitest::Runnable
|
|||||||
# NOTE: this data *must* be plain (read: marshal-able) data!
|
# NOTE: this data *must* be plain (read: marshal-able) data!
|
||||||
# Hashes! Arrays! Strings!
|
# Hashes! Arrays! Strings!
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#492
|
# source://minitest//lib/minitest.rb#522
|
||||||
def metadata; end
|
def metadata; end
|
||||||
|
|
||||||
# Sets metadata, mainly used for +Result.from+.
|
# Sets metadata, mainly used for +Result.from+.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#499
|
# source://minitest//lib/minitest.rb#529
|
||||||
def metadata=(_arg0); end
|
def metadata=(_arg0); end
|
||||||
|
|
||||||
# Returns true if metadata exists.
|
# Returns true if metadata exists.
|
||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#504
|
# source://minitest//lib/minitest.rb#534
|
||||||
def metadata?; end
|
def metadata?; end
|
||||||
|
|
||||||
# Name of the run.
|
# Name of the run.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#346
|
# source://minitest//lib/minitest.rb#376
|
||||||
def name; end
|
def name; end
|
||||||
|
|
||||||
# Set the name of the run.
|
# Set the name of the run.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#353
|
# source://minitest//lib/minitest.rb#383
|
||||||
def name=(o); end
|
def name=(o); end
|
||||||
|
|
||||||
# Did this run pass?
|
# Did this run pass?
|
||||||
@ -1038,7 +1046,7 @@ class Minitest::Runnable
|
|||||||
# @raise [NotImplementedError]
|
# @raise [NotImplementedError]
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#521
|
# source://minitest//lib/minitest.rb#551
|
||||||
def passed?; end
|
def passed?; end
|
||||||
|
|
||||||
# Returns a single character string to print based on the result
|
# Returns a single character string to print based on the result
|
||||||
@ -1047,14 +1055,14 @@ class Minitest::Runnable
|
|||||||
#
|
#
|
||||||
# @raise [NotImplementedError]
|
# @raise [NotImplementedError]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#530
|
# source://minitest//lib/minitest.rb#560
|
||||||
def result_code; end
|
def result_code; end
|
||||||
|
|
||||||
# Runs a single method. Needs to return self.
|
# Runs a single method. Needs to return self.
|
||||||
#
|
#
|
||||||
# @raise [NotImplementedError]
|
# @raise [NotImplementedError]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#511
|
# source://minitest//lib/minitest.rb#541
|
||||||
def run; end
|
def run; end
|
||||||
|
|
||||||
# Was this run skipped? See #passed? for more information.
|
# Was this run skipped? See #passed? for more information.
|
||||||
@ -1062,42 +1070,42 @@ class Minitest::Runnable
|
|||||||
# @raise [NotImplementedError]
|
# @raise [NotImplementedError]
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#537
|
# source://minitest//lib/minitest.rb#567
|
||||||
def skipped?; end
|
def skipped?; end
|
||||||
|
|
||||||
# The time it took to run.
|
# The time it took to run.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#333
|
# source://minitest//lib/minitest.rb#363
|
||||||
def time; end
|
def time; end
|
||||||
|
|
||||||
# The time it took to run.
|
# The time it took to run.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#333
|
# source://minitest//lib/minitest.rb#363
|
||||||
def time=(_arg0); end
|
def time=(_arg0); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#335
|
# source://minitest//lib/minitest.rb#365
|
||||||
def time_it; end
|
def time_it; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://minitest//lib/minitest.rb#1188
|
# source://minitest//lib/minitest.rb#1218
|
||||||
def inherited(klass); end
|
def inherited(klass); end
|
||||||
|
|
||||||
# Returns all instance methods matching the pattern +re+.
|
# Returns all instance methods matching the pattern +re+.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#360
|
# source://minitest//lib/minitest.rb#390
|
||||||
def methods_matching(re); end
|
def methods_matching(re); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#429
|
# source://minitest//lib/minitest.rb#459
|
||||||
def on_signal(name, action); end
|
def on_signal(name, action); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#364
|
# source://minitest//lib/minitest.rb#394
|
||||||
def reset; end
|
def reset; end
|
||||||
|
|
||||||
# Responsible for running all runnable methods in a given class,
|
# Responsible for running all runnable methods in a given class,
|
||||||
# each in its own instance. Each instance is passed to the
|
# each in its own instance. Each instance is passed to the
|
||||||
# reporter to record.
|
# reporter to record.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#375
|
# source://minitest//lib/minitest.rb#405
|
||||||
def run(reporter, options = T.unsafe(nil)); end
|
def run(reporter, options = T.unsafe(nil)); end
|
||||||
|
|
||||||
# Runs a single method and has the reporter record the result.
|
# Runs a single method and has the reporter record the result.
|
||||||
@ -1105,7 +1113,7 @@ class Minitest::Runnable
|
|||||||
# that subclasses can specialize the running of an individual
|
# that subclasses can specialize the running of an individual
|
||||||
# test. See Minitest::ParallelTest::ClassMethods for an example.
|
# test. See Minitest::ParallelTest::ClassMethods for an example.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#401
|
# source://minitest//lib/minitest.rb#431
|
||||||
def run_one_method(klass, method_name, reporter); end
|
def run_one_method(klass, method_name, reporter); end
|
||||||
|
|
||||||
# Each subclass of Runnable is responsible for overriding this
|
# Each subclass of Runnable is responsible for overriding this
|
||||||
@ -1113,33 +1121,33 @@ class Minitest::Runnable
|
|||||||
#
|
#
|
||||||
# @raise [NotImplementedError]
|
# @raise [NotImplementedError]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#446
|
# source://minitest//lib/minitest.rb#476
|
||||||
def runnable_methods; end
|
def runnable_methods; end
|
||||||
|
|
||||||
# Returns all subclasses of Runnable.
|
# Returns all subclasses of Runnable.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#453
|
# source://minitest//lib/minitest.rb#483
|
||||||
def runnables; end
|
def runnables; end
|
||||||
|
|
||||||
# Defines the order to run tests (:random by default). Override
|
# Defines the order to run tests (:random by default). Override
|
||||||
# this or use a convenience method to change it for your tests.
|
# this or use a convenience method to change it for your tests.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#410
|
# source://minitest//lib/minitest.rb#440
|
||||||
def test_order; end
|
def test_order; end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#414
|
# source://minitest//lib/minitest.rb#444
|
||||||
def with_info_handler(reporter, &block); end
|
def with_info_handler(reporter, &block); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#427
|
# source://minitest//lib/minitest.rb#457
|
||||||
Minitest::Runnable::SIGNALS = T.let(T.unsafe(nil), Hash)
|
Minitest::Runnable::SIGNALS = T.let(T.unsafe(nil), Hash)
|
||||||
|
|
||||||
# Assertion raised when skipping a run.
|
# Assertion raised when skipping a run.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1015
|
# source://minitest//lib/minitest.rb#1045
|
||||||
class Minitest::Skip < ::Minitest::Assertion
|
class Minitest::Skip < ::Minitest::Assertion
|
||||||
# source://minitest//lib/minitest.rb#1016
|
# source://minitest//lib/minitest.rb#1046
|
||||||
def result_label; end
|
def result_label; end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1163,123 +1171,123 @@ end
|
|||||||
# end
|
# end
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#760
|
# source://minitest//lib/minitest.rb#790
|
||||||
class Minitest::StatisticsReporter < ::Minitest::Reporter
|
class Minitest::StatisticsReporter < ::Minitest::Reporter
|
||||||
# @return [StatisticsReporter] a new instance of StatisticsReporter
|
# @return [StatisticsReporter] a new instance of StatisticsReporter
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#809
|
# source://minitest//lib/minitest.rb#839
|
||||||
def initialize(io = T.unsafe(nil), options = T.unsafe(nil)); end
|
def initialize(io = T.unsafe(nil), options = T.unsafe(nil)); end
|
||||||
|
|
||||||
# Total number of assertions.
|
# Total number of assertions.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#764
|
# source://minitest//lib/minitest.rb#794
|
||||||
def assertions; end
|
def assertions; end
|
||||||
|
|
||||||
# Total number of assertions.
|
# Total number of assertions.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#764
|
# source://minitest//lib/minitest.rb#794
|
||||||
def assertions=(_arg0); end
|
def assertions=(_arg0); end
|
||||||
|
|
||||||
# Total number of test cases.
|
# Total number of test cases.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#769
|
# source://minitest//lib/minitest.rb#799
|
||||||
def count; end
|
def count; end
|
||||||
|
|
||||||
# Total number of test cases.
|
# Total number of test cases.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#769
|
# source://minitest//lib/minitest.rb#799
|
||||||
def count=(_arg0); end
|
def count=(_arg0); end
|
||||||
|
|
||||||
# Total number of tests that erred.
|
# Total number of tests that erred.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#797
|
# source://minitest//lib/minitest.rb#827
|
||||||
def errors; end
|
def errors; end
|
||||||
|
|
||||||
# Total number of tests that erred.
|
# Total number of tests that erred.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#797
|
# source://minitest//lib/minitest.rb#827
|
||||||
def errors=(_arg0); end
|
def errors=(_arg0); end
|
||||||
|
|
||||||
# Total number of tests that failed.
|
# Total number of tests that failed.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#792
|
# source://minitest//lib/minitest.rb#822
|
||||||
def failures; end
|
def failures; end
|
||||||
|
|
||||||
# Total number of tests that failed.
|
# Total number of tests that failed.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#792
|
# source://minitest//lib/minitest.rb#822
|
||||||
def failures=(_arg0); end
|
def failures=(_arg0); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#823
|
# source://minitest//lib/minitest.rb#853
|
||||||
def passed?; end
|
def passed?; end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#831
|
# source://minitest//lib/minitest.rb#861
|
||||||
def record(result); end
|
def record(result); end
|
||||||
|
|
||||||
# Report on the tracked statistics.
|
# Report on the tracked statistics.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#841
|
# source://minitest//lib/minitest.rb#871
|
||||||
def report; end
|
def report; end
|
||||||
|
|
||||||
# An +Array+ of test cases that failed or were skipped.
|
# An +Array+ of test cases that failed or were skipped.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#774
|
# source://minitest//lib/minitest.rb#804
|
||||||
def results; end
|
def results; end
|
||||||
|
|
||||||
# An +Array+ of test cases that failed or were skipped.
|
# An +Array+ of test cases that failed or were skipped.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#774
|
# source://minitest//lib/minitest.rb#804
|
||||||
def results=(_arg0); end
|
def results=(_arg0); end
|
||||||
|
|
||||||
# Total number of tests that where skipped.
|
# Total number of tests that where skipped.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#807
|
# source://minitest//lib/minitest.rb#837
|
||||||
def skips; end
|
def skips; end
|
||||||
|
|
||||||
# Total number of tests that where skipped.
|
# Total number of tests that where skipped.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#807
|
# source://minitest//lib/minitest.rb#837
|
||||||
def skips=(_arg0); end
|
def skips=(_arg0); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#827
|
# source://minitest//lib/minitest.rb#857
|
||||||
def start; end
|
def start; end
|
||||||
|
|
||||||
# Time the test run started. If available, the monotonic clock is
|
# Time the test run started. If available, the monotonic clock is
|
||||||
# used and this is a +Float+, otherwise it's an instance of
|
# used and this is a +Float+, otherwise it's an instance of
|
||||||
# +Time+.
|
# +Time+.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#781
|
# source://minitest//lib/minitest.rb#811
|
||||||
def start_time; end
|
def start_time; end
|
||||||
|
|
||||||
# Time the test run started. If available, the monotonic clock is
|
# Time the test run started. If available, the monotonic clock is
|
||||||
# used and this is a +Float+, otherwise it's an instance of
|
# used and this is a +Float+, otherwise it's an instance of
|
||||||
# +Time+.
|
# +Time+.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#781
|
# source://minitest//lib/minitest.rb#811
|
||||||
def start_time=(_arg0); end
|
def start_time=(_arg0); end
|
||||||
|
|
||||||
# Test run time. If available, the monotonic clock is used and
|
# Test run time. If available, the monotonic clock is used and
|
||||||
# this is a +Float+, otherwise it's an instance of +Time+.
|
# this is a +Float+, otherwise it's an instance of +Time+.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#787
|
# source://minitest//lib/minitest.rb#817
|
||||||
def total_time; end
|
def total_time; end
|
||||||
|
|
||||||
# Test run time. If available, the monotonic clock is used and
|
# Test run time. If available, the monotonic clock is used and
|
||||||
# this is a +Float+, otherwise it's an instance of +Time+.
|
# this is a +Float+, otherwise it's an instance of +Time+.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#787
|
# source://minitest//lib/minitest.rb#817
|
||||||
def total_time=(_arg0); end
|
def total_time=(_arg0); end
|
||||||
|
|
||||||
# Total number of tests that warned.
|
# Total number of tests that warned.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#802
|
# source://minitest//lib/minitest.rb#832
|
||||||
def warnings; end
|
def warnings; end
|
||||||
|
|
||||||
# Total number of tests that warned.
|
# Total number of tests that warned.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#802
|
# source://minitest//lib/minitest.rb#832
|
||||||
def warnings=(_arg0); end
|
def warnings=(_arg0); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1291,48 +1299,48 @@ end
|
|||||||
# plugin, pull this out of the composite and replace it with your
|
# plugin, pull this out of the composite and replace it with your
|
||||||
# own.
|
# own.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#862
|
# source://minitest//lib/minitest.rb#892
|
||||||
class Minitest::SummaryReporter < ::Minitest::StatisticsReporter
|
class Minitest::SummaryReporter < ::Minitest::StatisticsReporter
|
||||||
# source://minitest//lib/minitest.rb#897
|
# source://minitest//lib/minitest.rb#927
|
||||||
def aggregated_results(io); end
|
def aggregated_results(io); end
|
||||||
|
|
||||||
# Returns the value of attribute old_sync.
|
# Returns the value of attribute old_sync.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#865
|
# source://minitest//lib/minitest.rb#895
|
||||||
def old_sync; end
|
def old_sync; end
|
||||||
|
|
||||||
# Sets the attribute old_sync
|
# Sets the attribute old_sync
|
||||||
#
|
#
|
||||||
# @param value the value to set the attribute old_sync to.
|
# @param value the value to set the attribute old_sync to.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#865
|
# source://minitest//lib/minitest.rb#895
|
||||||
def old_sync=(_arg0); end
|
def old_sync=(_arg0); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#880
|
# source://minitest//lib/minitest.rb#910
|
||||||
def report; end
|
def report; end
|
||||||
|
|
||||||
# :startdoc:
|
# :startdoc:
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#868
|
# source://minitest//lib/minitest.rb#898
|
||||||
def start; end
|
def start; end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#892
|
# source://minitest//lib/minitest.rb#922
|
||||||
def statistics; end
|
def statistics; end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#917
|
# source://minitest//lib/minitest.rb#947
|
||||||
def summary; end
|
def summary; end
|
||||||
|
|
||||||
# :stopdoc:
|
# :stopdoc:
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#864
|
# source://minitest//lib/minitest.rb#894
|
||||||
def sync; end
|
def sync; end
|
||||||
|
|
||||||
# :stopdoc:
|
# :stopdoc:
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#864
|
# source://minitest//lib/minitest.rb#894
|
||||||
def sync=(_arg0); end
|
def sync=(_arg0); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#913
|
# source://minitest//lib/minitest.rb#943
|
||||||
def to_s; end
|
def to_s; end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1511,43 +1519,43 @@ Minitest::Test::TEARDOWN_METHODS = T.let(T.unsafe(nil), Array)
|
|||||||
|
|
||||||
# Assertion wrapping an unexpected error that was raised during a run.
|
# Assertion wrapping an unexpected error that was raised during a run.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1024
|
# source://minitest//lib/minitest.rb#1054
|
||||||
class Minitest::UnexpectedError < ::Minitest::Assertion
|
class Minitest::UnexpectedError < ::Minitest::Assertion
|
||||||
include ::Minitest::Compress
|
include ::Minitest::Compress
|
||||||
|
|
||||||
# @return [UnexpectedError] a new instance of UnexpectedError
|
# @return [UnexpectedError] a new instance of UnexpectedError
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1030
|
# source://minitest//lib/minitest.rb#1060
|
||||||
def initialize(error); end
|
def initialize(error); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#1043
|
# source://minitest//lib/minitest.rb#1073
|
||||||
def backtrace; end
|
def backtrace; end
|
||||||
|
|
||||||
# TODO: figure out how to use `cause` instead
|
# TODO: figure out how to use `cause` instead
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1028
|
# source://minitest//lib/minitest.rb#1058
|
||||||
def error; end
|
def error; end
|
||||||
|
|
||||||
# TODO: figure out how to use `cause` instead
|
# TODO: figure out how to use `cause` instead
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1028
|
# source://minitest//lib/minitest.rb#1058
|
||||||
def error=(_arg0); end
|
def error=(_arg0); end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#1049
|
# source://minitest//lib/minitest.rb#1079
|
||||||
def message; end
|
def message; end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#1055
|
# source://minitest//lib/minitest.rb#1085
|
||||||
def result_label; end
|
def result_label; end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://minitest//lib/minitest.rb#1047
|
# source://minitest//lib/minitest.rb#1077
|
||||||
Minitest::UnexpectedError::BASE_RE = T.let(T.unsafe(nil), Regexp)
|
Minitest::UnexpectedError::BASE_RE = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# Assertion raised on warning when running in -Werror mode.
|
# Assertion raised on warning when running in -Werror mode.
|
||||||
#
|
#
|
||||||
# source://minitest//lib/minitest.rb#1063
|
# source://minitest//lib/minitest.rb#1093
|
||||||
class Minitest::UnexpectedWarning < ::Minitest::Assertion
|
class Minitest::UnexpectedWarning < ::Minitest::Assertion
|
||||||
# source://minitest//lib/minitest.rb#1064
|
# source://minitest//lib/minitest.rb#1094
|
||||||
def result_label; end
|
def result_label; end
|
||||||
end
|
end
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user