Module: Minitest::Assertions Private
- Included in:
- Homebrew::Assertions
- Defined in:
- sorbet/rbi/annotations/minitest.rbi
Overview
This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.
DO NOT EDIT MANUALLY
This file was pulled from a central RBI files repository.
Please run bin/tapioca annotations
to update it.
Instance Method Summary collapse
- #assert(test, msg = nil) ⇒ true private
- #assert_empty(obj, msg = nil) ⇒ true private
- #assert_equal(exp, act, msg = nil) ⇒ true private
- #assert_in_delta(exp, act, delta = T.unsafe(nil), msg = nil) ⇒ true private
- #assert_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = nil) ⇒ true private
- #assert_includes(collection, obj, msg = nil) ⇒ true private
- #assert_instance_of(cls, obj, msg = nil) ⇒ true private
- #assert_kind_of(cls, obj, msg = nil) ⇒ true private
- #assert_match(matcher, obj, msg = nil) ⇒ MatchData private
- #assert_nil(obj, msg = nil) ⇒ true private
- #assert_operator(o1, op, o2 = T.unsafe(nil), msg = nil) ⇒ true private
- #assert_output(stdout = nil, stderr = nil, &block) ⇒ Boolean private
- #assert_path_exists(path, msg = nil) ⇒ true private
- #assert_pattern(&block) ⇒ true private
- #assert_predicate(o1, op, msg = nil) ⇒ true private
- #assert_raises(*exp, &block) ⇒ T.type_parameter(:T) private
- #assert_respond_to(obj, meth, msg = nil, include_all: false) ⇒ true private
- #assert_same(exp, act, msg = nil) ⇒ true private
- #assert_send(send_ary, m = nil) ⇒ Boolean private
- #assert_silent(&block) ⇒ Boolean private
- #assert_throws(sym, msg = nil, &block) ⇒ T.anything private
- #refute(test, msg = nil) ⇒ true private
- #refute_empty(obj, msg = nil) ⇒ true private
- #refute_equal(exp, act, msg = nil) ⇒ true private
- #refute_in_delta(exp, act, delta = T.unsafe(nil), msg = nil) ⇒ true private
- #refute_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = nil) ⇒ true private
- #refute_includes(collection, obj, msg = nil) ⇒ true private
- #refute_instance_of(cls, obj, msg = nil) ⇒ true private
- #refute_kind_of(cls, obj, msg = nil) ⇒ true private
- #refute_match(matcher, obj, msg = nil) ⇒ true private
- #refute_nil(obj, msg = nil) ⇒ true private
- #refute_operator(o1, op, o2 = T.unsafe(nil), msg = nil) ⇒ true private
- #refute_path_exists(path, msg = nil) ⇒ true private
- #refute_pattern(&block) ⇒ true private
- #refute_predicate(o1, op, msg = nil) ⇒ true private
- #refute_respond_to(obj, meth, msg = nil, include_all: false) ⇒ true private
- #refute_same(exp, act, msg = nil) ⇒ true private
Instance Method Details
#assert(test, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
9 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 9 def assert(test, msg = nil); end |
#assert_empty(obj, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
12 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 12 def assert_empty(obj, msg = nil); end |
#assert_equal(exp, act, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
15 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 15 def assert_equal(exp, act, msg = nil); end |
#assert_in_delta(exp, act, delta = T.unsafe(nil), msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
18 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 18 def assert_in_delta(exp, act, delta = T.unsafe(nil), msg = nil); end |
#assert_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
21 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 21 def assert_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = nil); end |
#assert_includes(collection, obj, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
24 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 24 def assert_includes(collection, obj, msg = nil); end |
#assert_instance_of(cls, obj, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
27 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 27 def assert_instance_of(cls, obj, msg = nil); end |
#assert_kind_of(cls, obj, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
30 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 30 def assert_kind_of(cls, obj, msg = nil); end |
#assert_match(matcher, obj, msg = nil) ⇒ MatchData
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
33 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 33 def assert_match(matcher, obj, msg = nil); end |
#assert_nil(obj, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
36 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 36 def assert_nil(obj, msg = nil); end |
#assert_operator(o1, op, o2 = T.unsafe(nil), msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
39 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 39 def assert_operator(o1, op, o2 = T.unsafe(nil), msg = nil); end |
#assert_output(stdout = nil, stderr = nil, &block) ⇒ Boolean
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
42 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 42 def assert_output(stdout = nil, stderr = nil, &block); end |
#assert_path_exists(path, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
45 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 45 def assert_path_exists(path, msg = nil); end |
#assert_pattern(&block) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
48 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 48 def assert_pattern(&block); end |
#assert_predicate(o1, op, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
51 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 51 def assert_predicate(o1, op, msg = nil); end |
#assert_raises(*exp, &block) ⇒ T.type_parameter(:T)
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
55 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 55 def assert_raises(*exp, &block); end |
#assert_respond_to(obj, meth, msg = nil, include_all: false) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
58 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 58 def assert_respond_to(obj, meth, msg = nil, include_all: false); end |
#assert_same(exp, act, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
61 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 61 def assert_same(exp, act, msg = nil); end |
#assert_send(send_ary, m = nil) ⇒ Boolean
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
64 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 64 def assert_send(send_ary, m = nil); end |
#assert_silent(&block) ⇒ Boolean
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
67 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 67 def assert_silent(&block); end |
#assert_throws(sym, msg = nil, &block) ⇒ T.anything
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
70 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 70 def assert_throws(sym, msg = nil, &block); end |
#refute(test, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
73 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 73 def refute(test, msg = nil); end |
#refute_empty(obj, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
76 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 76 def refute_empty(obj, msg = nil); end |
#refute_equal(exp, act, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
79 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 79 def refute_equal(exp, act, msg = nil); end |
#refute_in_delta(exp, act, delta = T.unsafe(nil), msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
82 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 82 def refute_in_delta(exp, act, delta = T.unsafe(nil), msg = nil); end |
#refute_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
85 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 85 def refute_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = nil); end |
#refute_includes(collection, obj, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
88 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 88 def refute_includes(collection, obj, msg = nil); end |
#refute_instance_of(cls, obj, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
91 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 91 def refute_instance_of(cls, obj, msg = nil); end |
#refute_kind_of(cls, obj, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
94 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 94 def refute_kind_of(cls, obj, msg = nil); end |
#refute_match(matcher, obj, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
97 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 97 def refute_match(matcher, obj, msg = nil); end |
#refute_nil(obj, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
100 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 100 def refute_nil(obj, msg = nil); end |
#refute_operator(o1, op, o2 = T.unsafe(nil), msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
106 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 106 def refute_operator(o1, op, o2 = T.unsafe(nil), msg = nil); end |
#refute_path_exists(path, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
109 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 109 def refute_path_exists(path, msg = nil); end |
#refute_pattern(&block) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
103 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 103 def refute_pattern(&block); end |
#refute_predicate(o1, op, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
112 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 112 def refute_predicate(o1, op, msg = nil); end |
#refute_respond_to(obj, meth, msg = nil, include_all: false) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
115 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 115 def refute_respond_to(obj, meth, msg = nil, include_all: false); end |
#refute_same(exp, act, msg = nil) ⇒ true
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
118 |
# File 'sorbet/rbi/annotations/minitest.rbi', line 118 def refute_same(exp, act, msg = nil); end |