sorbet-struct-comparable 1.0.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +47 -51
- data/.gitignore +3 -0
- data/CHANGELOG.md +13 -0
- data/Gemfile +3 -8
- data/README.md +2 -2
- data/lib/sorbet-struct-comparable/version.rb +1 -1
- data/lib/t/struct/acts_as_comparable.rb +17 -12
- data/nix/sources.json +14 -0
- data/nix/sources.nix +174 -0
- data/run_ci.sh +6 -0
- data/shell.nix +20 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +1568 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
- data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1188 -0
- data/sorbet/rbi/gems/pry-byebug@3.9.0.rbi +461 -0
- data/sorbet/rbi/gems/{pry.rbi → pry@0.13.1.rbi} +2308 -1706
- data/sorbet/rbi/gems/{rake.rbi → rake@13.0.6.rbi} +575 -424
- data/sorbet/rbi/gems/rbi@0.0.6.rbi +1405 -0
- data/sorbet/rbi/gems/{rspec-core.rbi → rspec-core@3.10.1.rbi} +2308 -1783
- data/sorbet/rbi/gems/{rspec-expectations.rbi → rspec-expectations@3.10.1.rbi} +1149 -698
- data/sorbet/rbi/gems/{rspec-mocks.rbi → rspec-mocks@3.10.2.rbi} +1299 -936
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.1.5.rbi +1241 -0
- data/sorbet/rbi/gems/tapioca@0.5.2.rbi +949 -0
- data/sorbet/rbi/gems/thor@1.1.0.rbi +839 -0
- data/sorbet/rbi/gems/unparser@0.6.0.rbi +8 -0
- data/sorbet-struct-comparable.gemspec +1 -1
- metadata +38 -30
- data/.ruby-version +0 -1
- data/sorbet/rbi/gems/byebug.rbi +0 -1041
- data/sorbet/rbi/gems/coderay.rbi +0 -92
- data/sorbet/rbi/gems/docile.rbi +0 -32
- data/sorbet/rbi/gems/listen.rbi +0 -324
- data/sorbet/rbi/gems/method_source.rbi +0 -64
- data/sorbet/rbi/gems/pry-byebug.rbi +0 -155
- data/sorbet/rbi/gems/rspec-support.rbi +0 -280
- data/sorbet/rbi/gems/rspec.rbi +0 -15
- data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
- data/sorbet/rbi/gems/simplecov.rbi +0 -361
- data/sorbet/rbi/hidden-definitions/errors.txt +0 -5231
- data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -7739
- data/sorbet/rbi/todo.rbi +0 -6
@@ -1,1930 +1,2455 @@
|
|
1
|
-
#
|
2
|
-
#
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `rspec-core` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem rspec-core`.
|
3
4
|
|
4
5
|
# typed: true
|
5
|
-
#
|
6
|
-
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
-
#
|
8
|
-
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rspec-core/all/rspec-core.rbi
|
9
|
-
#
|
10
|
-
# rspec-core-3.9.2
|
11
6
|
|
12
7
|
module RSpec
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
8
|
+
extend ::RSpec::Support::Warnings
|
9
|
+
extend ::RSpec::Core::Warnings
|
10
|
+
|
11
|
+
class << self
|
12
|
+
def clear_examples; end
|
13
|
+
def configuration; end
|
14
|
+
def configuration=(_arg0); end
|
15
|
+
def configure; end
|
16
|
+
def const_missing(name); end
|
17
|
+
def context(*args, &example_group_block); end
|
18
|
+
def current_example; end
|
19
|
+
def current_example=(example); end
|
20
|
+
def describe(*args, &example_group_block); end
|
21
|
+
def example_group(*args, &example_group_block); end
|
22
|
+
def fcontext(*args, &example_group_block); end
|
23
|
+
def fdescribe(*args, &example_group_block); end
|
24
|
+
def reset; end
|
25
|
+
def shared_context(name, *args, &block); end
|
26
|
+
def shared_examples(name, *args, &block); end
|
27
|
+
def shared_examples_for(name, *args, &block); end
|
28
|
+
def world; end
|
29
|
+
def world=(_arg0); end
|
30
|
+
def xcontext(*args, &example_group_block); end
|
31
|
+
def xdescribe(*args, &example_group_block); end
|
32
|
+
end
|
34
33
|
end
|
34
|
+
|
35
35
|
module RSpec::Core
|
36
|
-
|
37
|
-
end
|
38
|
-
|
39
|
-
end
|
40
|
-
module RSpec::Core::Warnings
|
41
|
-
def deprecate(deprecated, data = nil); end
|
42
|
-
def warn_deprecation(message, opts = nil); end
|
43
|
-
def warn_with(message, options = nil); end
|
44
|
-
end
|
45
|
-
class RSpec::Core::Set
|
46
|
-
def <<(key); end
|
47
|
-
def clear; end
|
48
|
-
def delete(key); end
|
49
|
-
def each(&block); end
|
50
|
-
def empty?; end
|
51
|
-
def include?(key); end
|
52
|
-
def initialize(array = nil); end
|
53
|
-
def merge(values); end
|
54
|
-
include Enumerable
|
36
|
+
class << self
|
37
|
+
def path_to_executable; end
|
38
|
+
end
|
55
39
|
end
|
56
|
-
|
57
|
-
|
58
|
-
|
40
|
+
|
41
|
+
class RSpec::Core::AnonymousExampleGroup < ::RSpec::Core::ExampleGroup
|
42
|
+
class << self
|
43
|
+
def metadata; end
|
44
|
+
end
|
59
45
|
end
|
60
|
-
|
61
|
-
|
62
|
-
def add_location(file_path, line_numbers); end
|
63
|
-
def add_path_to_arrays_filter(filter_key, path, values); end
|
64
|
-
def empty?; end
|
65
|
-
def exclude(*args); end
|
66
|
-
def exclude_only(*args); end
|
67
|
-
def exclude_with_low_priority(*args); end
|
68
|
-
def exclusions; end
|
69
|
-
def file_scoped_include?(ex_metadata, ids, locations); end
|
70
|
-
def include(*args); end
|
71
|
-
def include_only(*args); end
|
72
|
-
def include_with_low_priority(*args); end
|
73
|
-
def inclusions; end
|
46
|
+
|
47
|
+
class RSpec::Core::BacktraceFormatter
|
74
48
|
def initialize; end
|
75
|
-
|
76
|
-
def
|
77
|
-
end
|
78
|
-
|
79
|
-
def
|
80
|
-
def
|
81
|
-
def
|
82
|
-
def
|
83
|
-
def
|
84
|
-
def
|
85
|
-
def
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
def
|
90
|
-
def opposite; end
|
91
|
-
def opposite=(arg0); end
|
92
|
-
def rules; end
|
93
|
-
def self.build; end
|
94
|
-
def use_only(updated); end
|
95
|
-
end
|
96
|
-
class RSpec::Core::InclusionRules < RSpec::Core::FilterRules
|
97
|
-
def add(*args); end
|
98
|
-
def add_with_low_priority(*args); end
|
99
|
-
def apply_standalone_filter(updated); end
|
100
|
-
def include_example?(example); end
|
101
|
-
def is_standalone_filter?(rules); end
|
102
|
-
def replace_filters(new_rules); end
|
103
|
-
def split_file_scoped_rules; end
|
104
|
-
def standalone?; end
|
105
|
-
end
|
106
|
-
module RSpec::Core::DSL
|
107
|
-
def self.change_global_dsl(&changes); end
|
108
|
-
def self.example_group_aliases; end
|
109
|
-
def self.expose_example_group_alias(name); end
|
110
|
-
def self.expose_example_group_alias_globally(method_name); end
|
111
|
-
def self.expose_globally!; end
|
112
|
-
def self.exposed_globally?; end
|
113
|
-
def self.remove_globally!; end
|
114
|
-
def self.top_level; end
|
115
|
-
def self.top_level=(arg0); end
|
116
|
-
end
|
117
|
-
module RSpec::Core::Formatters
|
118
|
-
def self.register(formatter_class, *notifications); end
|
119
|
-
end
|
120
|
-
module RSpec::Core::Formatters::ConsoleCodes
|
121
|
-
def config_colors_to_methods; end
|
122
|
-
def console_code_for(code_or_symbol); end
|
123
|
-
def self.config_colors_to_methods; end
|
124
|
-
def self.console_code_for(code_or_symbol); end
|
125
|
-
def self.wrap(text, code_or_symbol); end
|
126
|
-
def wrap(text, code_or_symbol); end
|
127
|
-
end
|
128
|
-
class RSpec::Core::Formatters::SnippetExtractor
|
129
|
-
def beginning_line_number; end
|
130
|
-
def expression_lines; end
|
131
|
-
def expression_node; end
|
132
|
-
def expression_outmost_node?(node); end
|
133
|
-
def initialize(source, beginning_line_number, max_line_count = nil); end
|
134
|
-
def line_range_of_expression; end
|
135
|
-
def line_range_of_location_nodes_in_expression; end
|
136
|
-
def location_nodes_at_beginning_line; end
|
137
|
-
def max_line_count; end
|
138
|
-
def self.extract_expression_lines_at(file_path, beginning_line_number, max_line_count = nil); end
|
139
|
-
def self.extract_line_at(file_path, line_number); end
|
140
|
-
def self.least_indentation_from(lines); end
|
141
|
-
def self.source_from_file(path); end
|
142
|
-
def source; end
|
143
|
-
def unclosed_tokens_in_line_range(line_range); end
|
144
|
-
end
|
145
|
-
class RSpec::Core::Formatters::SnippetExtractor::NoSuchFileError < StandardError
|
146
|
-
end
|
147
|
-
class RSpec::Core::Formatters::SnippetExtractor::NoSuchLineError < StandardError
|
49
|
+
|
50
|
+
def backtrace_line(line); end
|
51
|
+
def exclude?(line); end
|
52
|
+
def exclusion_patterns; end
|
53
|
+
def exclusion_patterns=(_arg0); end
|
54
|
+
def filter_gem(gem_name); end
|
55
|
+
def format_backtrace(backtrace, options = T.unsafe(nil)); end
|
56
|
+
def full_backtrace=(_arg0); end
|
57
|
+
def full_backtrace?; end
|
58
|
+
def inclusion_patterns; end
|
59
|
+
def inclusion_patterns=(_arg0); end
|
60
|
+
|
61
|
+
private
|
62
|
+
|
63
|
+
def matches?(patterns, line); end
|
148
64
|
end
|
149
|
-
|
65
|
+
|
66
|
+
module RSpec::Core::Bisect; end
|
67
|
+
|
68
|
+
class RSpec::Core::Bisect::BisectFailedError < ::StandardError
|
69
|
+
class << self
|
70
|
+
def for_failed_spec_run(spec_output); end
|
71
|
+
end
|
150
72
|
end
|
151
|
-
|
152
|
-
|
153
|
-
def
|
154
|
-
|
155
|
-
def
|
156
|
-
def
|
73
|
+
|
74
|
+
class RSpec::Core::Bisect::Channel
|
75
|
+
def initialize; end
|
76
|
+
|
77
|
+
def close; end
|
78
|
+
def receive; end
|
79
|
+
def send(message); end
|
157
80
|
end
|
158
|
-
|
159
|
-
|
81
|
+
|
82
|
+
class RSpec::Core::Bisect::ExampleSetDescriptor < ::Struct
|
83
|
+
def all_example_ids; end
|
84
|
+
def all_example_ids=(_); end
|
85
|
+
def failed_example_ids; end
|
86
|
+
def failed_example_ids=(_); end
|
87
|
+
|
88
|
+
class << self
|
89
|
+
def [](*_arg0); end
|
90
|
+
def inspect; end
|
91
|
+
def members; end
|
92
|
+
def new(*_arg0); end
|
93
|
+
end
|
160
94
|
end
|
161
|
-
|
162
|
-
|
95
|
+
|
96
|
+
class RSpec::Core::Bisect::Notifier
|
97
|
+
def initialize(formatter); end
|
98
|
+
|
99
|
+
def publish(event, *args); end
|
163
100
|
end
|
164
|
-
|
165
|
-
|
101
|
+
|
102
|
+
class RSpec::Core::Configuration
|
103
|
+
include ::RSpec::Core::Hooks
|
104
|
+
include ::RSpec::Core::Configuration::Readers
|
105
|
+
|
106
|
+
def initialize; end
|
107
|
+
|
108
|
+
def add_formatter(formatter, output = T.unsafe(nil)); end
|
109
|
+
def add_setting(name, opts = T.unsafe(nil)); end
|
110
|
+
def after(scope = T.unsafe(nil), *meta, &block); end
|
111
|
+
def alias_example_group_to(new_name, *args); end
|
112
|
+
def alias_example_to(name, *args); end
|
113
|
+
def alias_it_behaves_like_to(new_name, report_label = T.unsafe(nil)); end
|
114
|
+
def alias_it_should_behave_like_to(new_name, report_label = T.unsafe(nil)); end
|
115
|
+
def append_after(scope = T.unsafe(nil), *meta, &block); end
|
116
|
+
def append_before(scope = T.unsafe(nil), *meta, &block); end
|
117
|
+
def apply_derived_metadata_to(metadata); end
|
118
|
+
def around(scope = T.unsafe(nil), *meta, &block); end
|
119
|
+
def backtrace_exclusion_patterns; end
|
120
|
+
def backtrace_exclusion_patterns=(patterns); end
|
166
121
|
def backtrace_formatter; end
|
167
|
-
def
|
168
|
-
def
|
169
|
-
def
|
170
|
-
def
|
171
|
-
def
|
172
|
-
def
|
173
|
-
def
|
174
|
-
def
|
175
|
-
def
|
176
|
-
def
|
177
|
-
def
|
178
|
-
def
|
179
|
-
def
|
180
|
-
def
|
181
|
-
def
|
182
|
-
def
|
183
|
-
def
|
184
|
-
def
|
185
|
-
def
|
186
|
-
def
|
187
|
-
def
|
188
|
-
def
|
189
|
-
def
|
190
|
-
def
|
191
|
-
def
|
192
|
-
def
|
193
|
-
def
|
194
|
-
def
|
195
|
-
end
|
196
|
-
|
197
|
-
def
|
198
|
-
def
|
199
|
-
def
|
200
|
-
def
|
201
|
-
def
|
202
|
-
def
|
203
|
-
def
|
204
|
-
def
|
205
|
-
end
|
206
|
-
|
207
|
-
def
|
208
|
-
end
|
209
|
-
|
210
|
-
def
|
211
|
-
def
|
212
|
-
end
|
213
|
-
|
214
|
-
def
|
215
|
-
def
|
216
|
-
def
|
217
|
-
def
|
218
|
-
def
|
219
|
-
def
|
220
|
-
def
|
221
|
-
def
|
222
|
-
def
|
223
|
-
|
224
|
-
end
|
225
|
-
|
226
|
-
def
|
227
|
-
def
|
228
|
-
end
|
229
|
-
|
230
|
-
def
|
231
|
-
def
|
232
|
-
def
|
233
|
-
def
|
234
|
-
def
|
235
|
-
def
|
236
|
-
def
|
237
|
-
def
|
238
|
-
end
|
239
|
-
|
240
|
-
def
|
241
|
-
def
|
242
|
-
def
|
243
|
-
def
|
244
|
-
def
|
245
|
-
end
|
246
|
-
|
247
|
-
end
|
248
|
-
|
249
|
-
def
|
250
|
-
def
|
251
|
-
end
|
252
|
-
|
253
|
-
def
|
254
|
-
def
|
255
|
-
def
|
256
|
-
def
|
257
|
-
def
|
258
|
-
def
|
259
|
-
def
|
260
|
-
def
|
261
|
-
end
|
262
|
-
|
263
|
-
def example; end
|
264
|
-
def example=(_); end
|
265
|
-
def self.[](*arg0); end
|
266
|
-
def self.for(example); end
|
267
|
-
def self.inspect; end
|
268
|
-
def self.members; end
|
269
|
-
def self.new(*arg0); end
|
270
|
-
end
|
271
|
-
class RSpec::Core::Notifications::ExamplesNotification
|
272
|
-
def examples; end
|
273
|
-
def failed_examples; end
|
274
|
-
def failure_notifications; end
|
275
|
-
def format_examples(examples); end
|
276
|
-
def fully_formatted_failed_examples(colorizer = nil); end
|
277
|
-
def fully_formatted_pending_examples(colorizer = nil); end
|
278
|
-
def initialize(reporter); end
|
279
|
-
def notifications; end
|
280
|
-
def pending_examples; end
|
281
|
-
def pending_notifications; end
|
282
|
-
end
|
283
|
-
class RSpec::Core::Notifications::FailedExampleNotification < RSpec::Core::Notifications::ExampleNotification
|
284
|
-
def colorized_formatted_backtrace(colorizer = nil); end
|
285
|
-
def colorized_message_lines(colorizer = nil); end
|
286
|
-
def description; end
|
287
|
-
def exception; end
|
288
|
-
def formatted_backtrace; end
|
289
|
-
def fully_formatted(failure_number, colorizer = nil); end
|
290
|
-
def fully_formatted_lines(failure_number, colorizer = nil); end
|
291
|
-
def initialize(example, exception_presenter = nil); end
|
292
|
-
def message_lines; end
|
293
|
-
def self.new(*arg0); end
|
294
|
-
end
|
295
|
-
class RSpec::Core::Notifications::PendingExampleFixedNotification < RSpec::Core::Notifications::FailedExampleNotification
|
296
|
-
end
|
297
|
-
class RSpec::Core::Notifications::PendingExampleFailedAsExpectedNotification < RSpec::Core::Notifications::FailedExampleNotification
|
298
|
-
end
|
299
|
-
class RSpec::Core::Notifications::SkippedExampleNotification < RSpec::Core::Notifications::ExampleNotification
|
300
|
-
def fully_formatted(pending_number, colorizer = nil); end
|
301
|
-
def self.new(*arg0); end
|
302
|
-
end
|
303
|
-
class RSpec::Core::Notifications::GroupNotification < Struct
|
304
|
-
def group; end
|
305
|
-
def group=(_); end
|
306
|
-
def self.[](*arg0); end
|
307
|
-
def self.inspect; end
|
308
|
-
def self.members; end
|
309
|
-
def self.new(*arg0); end
|
310
|
-
end
|
311
|
-
class RSpec::Core::Notifications::MessageNotification < Struct
|
312
|
-
def message; end
|
313
|
-
def message=(_); end
|
314
|
-
def self.[](*arg0); end
|
315
|
-
def self.inspect; end
|
316
|
-
def self.members; end
|
317
|
-
def self.new(*arg0); end
|
318
|
-
end
|
319
|
-
class RSpec::Core::Notifications::SeedNotification < Struct
|
320
|
-
def fully_formatted; end
|
321
|
-
def seed; end
|
322
|
-
def seed=(_); end
|
323
|
-
def seed_used?; end
|
324
|
-
def self.[](*arg0); end
|
325
|
-
def self.inspect; end
|
326
|
-
def self.members; end
|
327
|
-
def self.new(*arg0); end
|
328
|
-
def used; end
|
329
|
-
def used=(_); end
|
330
|
-
end
|
331
|
-
class RSpec::Core::Notifications::SummaryNotification < Struct
|
332
|
-
def colorized_rerun_commands(colorizer = nil); end
|
333
|
-
def colorized_totals_line(colorizer = nil); end
|
334
|
-
def duplicate_rerun_locations; end
|
335
|
-
def duration; end
|
336
|
-
def duration=(_); end
|
337
|
-
def errors_outside_of_examples_count; end
|
338
|
-
def errors_outside_of_examples_count=(_); end
|
339
|
-
def example_count; end
|
340
|
-
def examples; end
|
341
|
-
def examples=(_); end
|
342
|
-
def failed_examples; end
|
343
|
-
def failed_examples=(_); end
|
344
|
-
def failure_count; end
|
345
|
-
def formatted_duration; end
|
346
|
-
def formatted_load_time; end
|
347
|
-
def fully_formatted(colorizer = nil); end
|
348
|
-
def load_time; end
|
349
|
-
def load_time=(_); end
|
350
|
-
def pending_count; end
|
351
|
-
def pending_examples; end
|
352
|
-
def pending_examples=(_); end
|
353
|
-
def rerun_argument_for(example); end
|
354
|
-
def self.[](*arg0); end
|
355
|
-
def self.inspect; end
|
356
|
-
def self.members; end
|
357
|
-
def self.new(*arg0); end
|
358
|
-
def totals_line; end
|
359
|
-
include RSpec::Core::ShellEscape
|
360
|
-
end
|
361
|
-
class RSpec::Core::Notifications::ProfileNotification
|
362
|
-
def calculate_slowest_groups; end
|
363
|
-
def duration; end
|
364
|
-
def examples; end
|
365
|
-
def initialize(duration, examples, number_of_examples, example_groups); end
|
366
|
-
def number_of_examples; end
|
367
|
-
def percentage; end
|
368
|
-
def slow_duration; end
|
369
|
-
def slowest_examples; end
|
370
|
-
def slowest_groups; end
|
371
|
-
end
|
372
|
-
class RSpec::Core::Notifications::DeprecationNotification < Struct
|
373
|
-
def call_site; end
|
374
|
-
def call_site=(_); end
|
375
|
-
def deprecated; end
|
376
|
-
def deprecated=(_); end
|
377
|
-
def message; end
|
378
|
-
def message=(_); end
|
379
|
-
def replacement; end
|
380
|
-
def replacement=(_); end
|
381
|
-
def self.[](*arg0); end
|
382
|
-
def self.from_hash(data); end
|
383
|
-
def self.inspect; end
|
384
|
-
def self.members; end
|
385
|
-
def self.new(*arg0); end
|
386
|
-
end
|
387
|
-
class RSpec::Core::Notifications::NullNotification
|
388
|
-
end
|
389
|
-
class RSpec::Core::Notifications::CustomNotification < Struct
|
390
|
-
def self.for(options = nil); end
|
391
|
-
end
|
392
|
-
class RSpec::Core::Reporter
|
393
|
-
def abort_with(msg, exit_status); end
|
394
|
-
def close; end
|
395
|
-
def close_after; end
|
396
|
-
def deprecation(hash); end
|
397
|
-
def ensure_listeners_ready; end
|
398
|
-
def example_failed(example); end
|
399
|
-
def example_finished(example); end
|
400
|
-
def example_group_finished(group); end
|
401
|
-
def example_group_started(group); end
|
402
|
-
def example_passed(example); end
|
403
|
-
def example_pending(example); end
|
404
|
-
def example_started(example); end
|
405
|
-
def examples; end
|
406
|
-
def exit_early(exit_code); end
|
407
|
-
def fail_fast_limit_met?; end
|
408
|
-
def failed_examples; end
|
409
|
-
def finish; end
|
410
|
-
def initialize(configuration); end
|
411
|
-
def message(message); end
|
412
|
-
def mute_profile_output?; end
|
413
|
-
def notify(event, notification); end
|
414
|
-
def notify_non_example_exception(exception, context_description); end
|
415
|
-
def pending_examples; end
|
416
|
-
def prepare_default(loader, output_stream, deprecation_stream); end
|
417
|
-
def publish(event, options = nil); end
|
418
|
-
def register_listener(listener, *notifications); end
|
419
|
-
def registered_listeners(notification); end
|
420
|
-
def report(expected_example_count); end
|
421
|
-
def seed_used?; end
|
422
|
-
def start(expected_example_count, time = nil); end
|
423
|
-
def stop; end
|
424
|
-
end
|
425
|
-
class RSpec::Core::NullReporter
|
426
|
-
def self.method_missing(*arg0); end
|
427
|
-
end
|
428
|
-
module RSpec::Core::Hooks
|
429
|
-
def after(*args, &block); end
|
430
|
-
def append_after(*args, &block); end
|
431
|
-
def append_before(*args, &block); end
|
432
|
-
def around(*args, &block); end
|
433
|
-
def before(*args, &block); end
|
122
|
+
def backtrace_inclusion_patterns; end
|
123
|
+
def backtrace_inclusion_patterns=(patterns); end
|
124
|
+
def before(scope = T.unsafe(nil), *meta, &block); end
|
125
|
+
def bisect_runner; end
|
126
|
+
def bisect_runner=(value); end
|
127
|
+
def bisect_runner_class; end
|
128
|
+
def color; end
|
129
|
+
def color=(_arg0); end
|
130
|
+
def color_enabled?(output = T.unsafe(nil)); end
|
131
|
+
def color_mode; end
|
132
|
+
def color_mode=(_arg0); end
|
133
|
+
def configure_example(example, example_hooks); end
|
134
|
+
def configure_expectation_framework; end
|
135
|
+
def configure_group(group); end
|
136
|
+
def configure_mock_framework; end
|
137
|
+
def default_color; end
|
138
|
+
def default_color=(_arg0); end
|
139
|
+
def default_color?; end
|
140
|
+
def default_formatter; end
|
141
|
+
def default_formatter=(value); end
|
142
|
+
def default_path; end
|
143
|
+
def default_path=(path); end
|
144
|
+
def default_path?; end
|
145
|
+
def define_derived_metadata(*filters, &block); end
|
146
|
+
def deprecation_stream; end
|
147
|
+
def deprecation_stream=(value); end
|
148
|
+
def detail_color; end
|
149
|
+
def detail_color=(_arg0); end
|
150
|
+
def detail_color?; end
|
151
|
+
def disable_monkey_patching; end
|
152
|
+
def disable_monkey_patching!; end
|
153
|
+
def disable_monkey_patching=(_arg0); end
|
154
|
+
def drb; end
|
155
|
+
def drb=(_arg0); end
|
156
|
+
def drb?; end
|
157
|
+
def drb_port; end
|
158
|
+
def drb_port=(_arg0); end
|
159
|
+
def drb_port?; end
|
160
|
+
def dry_run; end
|
161
|
+
def dry_run=(_arg0); end
|
162
|
+
def dry_run?; end
|
163
|
+
def error_exit_code; end
|
164
|
+
def error_exit_code=(_arg0); end
|
165
|
+
def error_exit_code?; end
|
166
|
+
def error_stream; end
|
167
|
+
def error_stream=(_arg0); end
|
168
|
+
def error_stream?; end
|
169
|
+
def example_status_persistence_file_path; end
|
170
|
+
def example_status_persistence_file_path=(value); end
|
171
|
+
def exclude_pattern; end
|
172
|
+
def exclude_pattern=(value); end
|
173
|
+
def exclusion_filter; end
|
174
|
+
def exclusion_filter=(filter); end
|
175
|
+
def expect_with(*frameworks); end
|
176
|
+
def expectation_framework=(framework); end
|
177
|
+
def expectation_frameworks; end
|
178
|
+
def expose_current_running_example_as(method_name); end
|
179
|
+
def expose_dsl_globally=(value); end
|
180
|
+
def expose_dsl_globally?; end
|
181
|
+
def extend(mod, *filters); end
|
182
|
+
def fail_fast; end
|
183
|
+
def fail_fast=(value); end
|
184
|
+
def fail_if_no_examples; end
|
185
|
+
def fail_if_no_examples=(_arg0); end
|
186
|
+
def fail_if_no_examples?; end
|
187
|
+
def failure_color; end
|
188
|
+
def failure_color=(_arg0); end
|
189
|
+
def failure_color?; end
|
190
|
+
def failure_exit_code; end
|
191
|
+
def failure_exit_code=(_arg0); end
|
192
|
+
def failure_exit_code?; end
|
193
|
+
def files_or_directories_to_run=(*files); end
|
194
|
+
def files_to_run; end
|
195
|
+
def files_to_run=(_arg0); end
|
196
|
+
def filter; end
|
197
|
+
def filter=(filter); end
|
198
|
+
def filter_gems_from_backtrace(*gem_names); end
|
199
|
+
def filter_manager; end
|
200
|
+
def filter_manager=(_arg0); end
|
201
|
+
def filter_run(*args); end
|
202
|
+
def filter_run_excluding(*args); end
|
203
|
+
def filter_run_including(*args); end
|
204
|
+
def filter_run_when_matching(*args); end
|
205
|
+
def fixed_color; end
|
206
|
+
def fixed_color=(_arg0); end
|
207
|
+
def fixed_color?; end
|
208
|
+
def force(hash); end
|
209
|
+
def format_docstrings(&block); end
|
210
|
+
def format_docstrings_block; end
|
211
|
+
def formatter=(formatter, output = T.unsafe(nil)); end
|
212
|
+
def formatter_loader; end
|
213
|
+
def formatters; end
|
214
|
+
def full_backtrace=(true_or_false); end
|
215
|
+
def full_backtrace?; end
|
216
|
+
def full_description; end
|
217
|
+
def full_description=(description); end
|
434
218
|
def hooks; end
|
435
|
-
def
|
436
|
-
def
|
437
|
-
end
|
438
|
-
|
439
|
-
def
|
440
|
-
def
|
441
|
-
def
|
442
|
-
def
|
443
|
-
def
|
444
|
-
def
|
445
|
-
def
|
446
|
-
def
|
447
|
-
end
|
448
|
-
|
449
|
-
def
|
450
|
-
end
|
451
|
-
|
452
|
-
def
|
219
|
+
def in_project_source_dir_regex; end
|
220
|
+
def include(mod, *filters); end
|
221
|
+
def include_context(shared_group_name, *filters); end
|
222
|
+
def inclusion_filter; end
|
223
|
+
def inclusion_filter=(filter); end
|
224
|
+
def last_run_statuses; end
|
225
|
+
def libs; end
|
226
|
+
def libs=(libs); end
|
227
|
+
def load_spec_files; end
|
228
|
+
def loaded_spec_files; end
|
229
|
+
def max_displayed_failure_line_count; end
|
230
|
+
def max_displayed_failure_line_count=(_arg0); end
|
231
|
+
def max_displayed_failure_line_count?; end
|
232
|
+
def mock_framework; end
|
233
|
+
def mock_framework=(framework); end
|
234
|
+
def mock_with(framework); end
|
235
|
+
def on_example_group_definition(&block); end
|
236
|
+
def on_example_group_definition_callbacks; end
|
237
|
+
def only_failures; end
|
238
|
+
def only_failures?; end
|
239
|
+
def only_failures_but_not_configured?; end
|
240
|
+
def order=(*args, &block); end
|
241
|
+
def ordering_manager; end
|
242
|
+
def ordering_registry(*args, &block); end
|
243
|
+
def output_stream; end
|
244
|
+
def output_stream=(value); end
|
245
|
+
def pattern; end
|
246
|
+
def pattern=(value); end
|
247
|
+
def pending_color; end
|
248
|
+
def pending_color=(_arg0); end
|
249
|
+
def pending_color?; end
|
250
|
+
def prepend(mod, *filters); end
|
251
|
+
def prepend_after(scope = T.unsafe(nil), *meta, &block); end
|
252
|
+
def prepend_before(scope = T.unsafe(nil), *meta, &block); end
|
253
|
+
def profile_examples; end
|
254
|
+
def profile_examples=(_arg0); end
|
255
|
+
def profile_examples?; end
|
256
|
+
def project_source_dirs; end
|
257
|
+
def project_source_dirs=(_arg0); end
|
258
|
+
def project_source_dirs?; end
|
259
|
+
def raise_errors_for_deprecations!; end
|
260
|
+
def raise_on_warning=(value); end
|
261
|
+
def register_ordering(*args, &block); end
|
262
|
+
def reporter; end
|
263
|
+
def requires; end
|
264
|
+
def requires=(paths); end
|
265
|
+
def reset; end
|
266
|
+
def reset_filters; end
|
267
|
+
def reset_reporter; end
|
268
|
+
def run_all_when_everything_filtered; end
|
269
|
+
def run_all_when_everything_filtered=(_arg0); end
|
270
|
+
def run_all_when_everything_filtered?; end
|
271
|
+
def seed(*args, &block); end
|
272
|
+
def seed=(*args, &block); end
|
273
|
+
def seed_used?(*args, &block); end
|
274
|
+
def shared_context_metadata_behavior; end
|
275
|
+
def shared_context_metadata_behavior=(value); end
|
276
|
+
def silence_filter_announcements; end
|
277
|
+
def silence_filter_announcements=(_arg0); end
|
278
|
+
def silence_filter_announcements?; end
|
279
|
+
def spec_files_with_failures; end
|
280
|
+
def start_time; end
|
281
|
+
def start_time=(_arg0); end
|
282
|
+
def start_time?; end
|
283
|
+
def static_config_filter_manager; end
|
284
|
+
def static_config_filter_manager=(_arg0); end
|
285
|
+
def success_color; end
|
286
|
+
def success_color=(_arg0); end
|
287
|
+
def success_color?; end
|
288
|
+
def threadsafe; end
|
289
|
+
def threadsafe=(_arg0); end
|
290
|
+
def threadsafe?; end
|
291
|
+
def treat_symbols_as_metadata_keys_with_true_values=(_value); end
|
292
|
+
def tty; end
|
293
|
+
def tty=(_arg0); end
|
294
|
+
def tty?; end
|
295
|
+
def warnings=(value); end
|
296
|
+
def warnings?; end
|
297
|
+
def when_first_matching_example_defined(*filters); end
|
298
|
+
def with_suite_hooks; end
|
299
|
+
def world; end
|
300
|
+
def world=(_arg0); end
|
301
|
+
|
302
|
+
private
|
303
|
+
|
304
|
+
def absolute_pattern?(pattern); end
|
305
|
+
def add_hook_to_existing_matching_groups(meta, scope, &block); end
|
306
|
+
def assert_no_example_groups_defined(config_option); end
|
307
|
+
def clear_values_derived_from_example_status_persistence_file_path; end
|
308
|
+
def command; end
|
309
|
+
def conditionally_disable_expectations_monkey_patching; end
|
310
|
+
def conditionally_disable_mocks_monkey_patching; end
|
311
|
+
def configure_group_with(group, module_list, application_method); end
|
312
|
+
def define_built_in_hooks; end
|
313
|
+
def define_mixed_in_module(mod, filters, mod_list, config_method, &block); end
|
314
|
+
def extract_location(path); end
|
315
|
+
def file_glob_from(path, pattern); end
|
316
|
+
def gather_directories(path); end
|
317
|
+
def get_files_to_run(paths); end
|
318
|
+
def get_matching_files(path, pattern); end
|
319
|
+
def handle_suite_hook(scope, meta); end
|
320
|
+
def load_file_handling_errors(method, file); end
|
321
|
+
def metadata_applies_to_group?(meta, group); end
|
322
|
+
def on_existing_matching_groups(meta); end
|
323
|
+
def output_to_tty?(output = T.unsafe(nil)); end
|
324
|
+
def output_wrapper; end
|
325
|
+
def paths_to_check(paths); end
|
326
|
+
def pattern_might_load_specs_from_vendored_dirs?; end
|
327
|
+
def rspec_expectations_loaded?; end
|
328
|
+
def rspec_mocks_loaded?; end
|
329
|
+
def run_suite_hooks(hook_description, hooks); end
|
330
|
+
def safe_extend(mod, host); end
|
331
|
+
def safe_include(mod, host); end
|
332
|
+
def safe_prepend(mod, host); end
|
333
|
+
def update_pattern_attr(name, value); end
|
334
|
+
def value_for(key); end
|
335
|
+
|
336
|
+
class << self
|
337
|
+
def add_read_only_setting(name, opts = T.unsafe(nil)); end
|
338
|
+
def add_setting(name, opts = T.unsafe(nil)); end
|
339
|
+
def define_alias(name, alias_name); end
|
340
|
+
def define_predicate(name); end
|
341
|
+
def define_reader(name); end
|
342
|
+
def delegate_to_ordering_manager(*methods); end
|
343
|
+
end
|
453
344
|
end
|
454
|
-
|
455
|
-
|
345
|
+
|
346
|
+
RSpec::Core::Configuration::DEFAULT_FORMATTER = T.let(T.unsafe(nil), Proc)
|
347
|
+
|
348
|
+
class RSpec::Core::Configuration::DeprecationReporterBuffer
|
349
|
+
def initialize; end
|
350
|
+
|
351
|
+
def deprecation(*args); end
|
352
|
+
def play_onto(reporter); end
|
456
353
|
end
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
class RSpec::Core::
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
def
|
468
|
-
def
|
469
|
-
def
|
470
|
-
def
|
471
|
-
def
|
472
|
-
def
|
473
|
-
def
|
474
|
-
def
|
475
|
-
def
|
476
|
-
def
|
477
|
-
def
|
478
|
-
def
|
479
|
-
def
|
480
|
-
def
|
481
|
-
end
|
482
|
-
|
483
|
-
def
|
484
|
-
def
|
485
|
-
def
|
486
|
-
def
|
487
|
-
def
|
488
|
-
def
|
489
|
-
def
|
490
|
-
def
|
491
|
-
def
|
492
|
-
def
|
354
|
+
|
355
|
+
module RSpec::Core::Configuration::ExposeCurrentExample; end
|
356
|
+
RSpec::Core::Configuration::FAILED_STATUS = T.let(T.unsafe(nil), String)
|
357
|
+
RSpec::Core::Configuration::MOCKING_ADAPTERS = T.let(T.unsafe(nil), Hash)
|
358
|
+
class RSpec::Core::Configuration::MustBeConfiguredBeforeExampleGroupsError < ::StandardError; end
|
359
|
+
RSpec::Core::Configuration::PASSED_STATUS = T.let(T.unsafe(nil), String)
|
360
|
+
RSpec::Core::Configuration::PENDING_STATUS = T.let(T.unsafe(nil), String)
|
361
|
+
RSpec::Core::Configuration::RAISE_ERROR_WARNING_NOTIFIER = T.let(T.unsafe(nil), Proc)
|
362
|
+
|
363
|
+
module RSpec::Core::Configuration::Readers
|
364
|
+
def default_color; end
|
365
|
+
def default_path; end
|
366
|
+
def deprecation_stream; end
|
367
|
+
def detail_color; end
|
368
|
+
def drb; end
|
369
|
+
def drb_port; end
|
370
|
+
def dry_run; end
|
371
|
+
def error_exit_code; end
|
372
|
+
def error_stream; end
|
373
|
+
def example_status_persistence_file_path; end
|
374
|
+
def exclude_pattern; end
|
375
|
+
def fail_fast; end
|
376
|
+
def fail_if_no_examples; end
|
377
|
+
def failure_color; end
|
378
|
+
def failure_exit_code; end
|
379
|
+
def fixed_color; end
|
380
|
+
def libs; end
|
381
|
+
def max_displayed_failure_line_count; end
|
382
|
+
def only_failures; end
|
383
|
+
def output_stream; end
|
384
|
+
def pattern; end
|
385
|
+
def pending_color; end
|
386
|
+
def project_source_dirs; end
|
387
|
+
def requires; end
|
388
|
+
def run_all_when_everything_filtered; end
|
389
|
+
def shared_context_metadata_behavior; end
|
390
|
+
def silence_filter_announcements; end
|
391
|
+
def start_time; end
|
392
|
+
def success_color; end
|
393
|
+
def threadsafe; end
|
394
|
+
def tty; end
|
493
395
|
end
|
494
|
-
|
495
|
-
|
496
|
-
|
396
|
+
|
397
|
+
RSpec::Core::Configuration::UNKNOWN_STATUS = T.let(T.unsafe(nil), String)
|
398
|
+
RSpec::Core::Configuration::VALID_STATUSES = T.let(T.unsafe(nil), Array)
|
399
|
+
|
400
|
+
class RSpec::Core::ConfigurationOptions
|
401
|
+
def initialize(args); end
|
402
|
+
|
403
|
+
def args; end
|
404
|
+
def configure(config); end
|
405
|
+
def configure_filter_manager(filter_manager); end
|
406
|
+
def options; end
|
407
|
+
|
408
|
+
private
|
409
|
+
|
410
|
+
def args_from_options_file(path); end
|
411
|
+
def command_line_options; end
|
412
|
+
def custom_options; end
|
413
|
+
def custom_options_file; end
|
414
|
+
def env_options; end
|
415
|
+
def file_options; end
|
416
|
+
def force?(key); end
|
417
|
+
def global_options; end
|
418
|
+
def global_options_file; end
|
419
|
+
def home_options_file_path; end
|
420
|
+
def load_formatters_into(config); end
|
421
|
+
def local_options; end
|
422
|
+
def local_options_file; end
|
423
|
+
def options_file_as_erb_string(path); end
|
424
|
+
def options_from(path); end
|
425
|
+
def order(keys); end
|
426
|
+
def organize_options; end
|
427
|
+
def parse_args_ignoring_files_or_dirs_to_run(args, source); end
|
428
|
+
def process_options_into(config); end
|
429
|
+
def project_options; end
|
430
|
+
def project_options_file; end
|
431
|
+
def resolve_xdg_config_home; end
|
432
|
+
def xdg_options_file_if_exists; end
|
433
|
+
def xdg_options_file_path; end
|
497
434
|
end
|
498
|
-
|
499
|
-
|
500
|
-
|
435
|
+
|
436
|
+
RSpec::Core::ConfigurationOptions::OPTIONS_ORDER = T.let(T.unsafe(nil), Array)
|
437
|
+
RSpec::Core::ConfigurationOptions::UNFORCED_OPTIONS = T.let(T.unsafe(nil), RSpec::Core::Set)
|
438
|
+
RSpec::Core::ConfigurationOptions::UNPROCESSABLE_OPTIONS = T.let(T.unsafe(nil), RSpec::Core::Set)
|
439
|
+
|
440
|
+
module RSpec::Core::DSL
|
441
|
+
class << self
|
442
|
+
def change_global_dsl(&changes); end
|
443
|
+
def example_group_aliases; end
|
444
|
+
def expose_example_group_alias(name); end
|
445
|
+
def expose_example_group_alias_globally(method_name); end
|
446
|
+
def expose_globally!; end
|
447
|
+
def exposed_globally?; end
|
448
|
+
def remove_globally!; end
|
449
|
+
def top_level; end
|
450
|
+
def top_level=(_arg0); end
|
451
|
+
end
|
501
452
|
end
|
502
|
-
|
503
|
-
|
504
|
-
|
453
|
+
|
454
|
+
class RSpec::Core::DeprecationError < ::StandardError; end
|
455
|
+
|
456
|
+
class RSpec::Core::DidYouMean
|
457
|
+
def initialize(relative_file_name); end
|
458
|
+
|
459
|
+
def call; end
|
460
|
+
def relative_file_name; end
|
461
|
+
|
462
|
+
private
|
463
|
+
|
464
|
+
def formats(probables); end
|
465
|
+
def red_font(mytext); end
|
466
|
+
def top_and_tail(rspec_format); end
|
505
467
|
end
|
506
|
-
|
507
|
-
|
508
|
-
def
|
509
|
-
|
468
|
+
|
469
|
+
class RSpec::Core::Example
|
470
|
+
def initialize(example_group_class, description, user_metadata, example_block = T.unsafe(nil)); end
|
471
|
+
|
472
|
+
def clock; end
|
473
|
+
def clock=(_arg0); end
|
474
|
+
def description; end
|
475
|
+
def display_exception; end
|
476
|
+
def display_exception=(ex); end
|
477
|
+
def duplicate_with(metadata_overrides = T.unsafe(nil)); end
|
478
|
+
def example_group; end
|
479
|
+
def example_group_instance; end
|
480
|
+
def exception; end
|
481
|
+
def execution_result; end
|
482
|
+
def fail_with_exception(reporter, exception); end
|
483
|
+
def file_path; end
|
484
|
+
def full_description; end
|
485
|
+
def id; end
|
486
|
+
def inspect; end
|
487
|
+
def inspect_output; end
|
488
|
+
def instance_exec(*args, &block); end
|
489
|
+
def location; end
|
490
|
+
def location_rerun_argument; end
|
491
|
+
def metadata; end
|
492
|
+
def pending; end
|
493
|
+
def pending?; end
|
494
|
+
def reporter; end
|
495
|
+
def rerun_argument; end
|
496
|
+
def run(example_group_instance, reporter); end
|
497
|
+
def set_aggregate_failures_exception(exception); end
|
498
|
+
def set_exception(exception); end
|
499
|
+
def skip; end
|
500
|
+
def skip_with_exception(reporter, exception); end
|
501
|
+
def skipped?; end
|
502
|
+
def to_s; end
|
503
|
+
def update_inherited_metadata(updates); end
|
504
|
+
|
505
|
+
private
|
506
|
+
|
507
|
+
def assign_generated_description; end
|
508
|
+
def finish(reporter); end
|
509
|
+
def generate_description; end
|
510
|
+
def hooks; end
|
511
|
+
def location_description; end
|
512
|
+
def mocks_need_verification?; end
|
513
|
+
def record_finished(status, reporter); end
|
514
|
+
def run_after_example; end
|
515
|
+
def run_before_example; end
|
516
|
+
def start(reporter); end
|
517
|
+
def verify_mocks; end
|
518
|
+
def with_around_and_singleton_context_hooks; end
|
519
|
+
def with_around_example_hooks; end
|
520
|
+
|
521
|
+
class << self
|
522
|
+
def delegate_to_metadata(key); end
|
523
|
+
def parse_id(id); end
|
524
|
+
end
|
510
525
|
end
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
526
|
+
|
527
|
+
RSpec::Core::Example::AllExceptionsExcludingDangerousOnesOnRubiesThatAllowIt = RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue
|
528
|
+
|
529
|
+
class RSpec::Core::Example::ExecutionResult
|
530
|
+
include ::RSpec::Core::HashImitatable
|
531
|
+
extend ::RSpec::Core::HashImitatable::ClassMethods
|
532
|
+
|
533
|
+
def ensure_timing_set(clock); end
|
534
|
+
def example_skipped?; end
|
535
|
+
def exception; end
|
536
|
+
def exception=(_arg0); end
|
537
|
+
def finished_at; end
|
538
|
+
def finished_at=(_arg0); end
|
539
|
+
def pending_exception; end
|
540
|
+
def pending_exception=(_arg0); end
|
541
|
+
def pending_fixed; end
|
542
|
+
def pending_fixed=(_arg0); end
|
543
|
+
def pending_fixed?; end
|
544
|
+
def pending_message; end
|
545
|
+
def pending_message=(_arg0); end
|
546
|
+
def record_finished(status, finished_at); end
|
547
|
+
def run_time; end
|
548
|
+
def run_time=(_arg0); end
|
549
|
+
def started_at; end
|
550
|
+
def started_at=(_arg0); end
|
551
|
+
def status; end
|
552
|
+
def status=(_arg0); end
|
553
|
+
|
554
|
+
private
|
555
|
+
|
556
|
+
def calculate_run_time(finished_at); end
|
557
|
+
def get_value(name); end
|
558
|
+
def hash_for_delegation; end
|
559
|
+
def issue_deprecation(_method_name, *_args); end
|
560
|
+
def set_value(name, value); end
|
515
561
|
end
|
516
|
-
|
517
|
-
|
518
|
-
def
|
519
|
-
|
520
|
-
def
|
562
|
+
|
563
|
+
class RSpec::Core::Example::Procsy
|
564
|
+
def initialize(example, &block); end
|
565
|
+
|
566
|
+
def <<(*a, &b); end
|
567
|
+
def ===(*a, &b); end
|
568
|
+
def >>(*a, &b); end
|
569
|
+
def [](*a, &b); end
|
570
|
+
def arity(*a, &b); end
|
571
|
+
def binding(*a, &b); end
|
572
|
+
def call(*args, &block); end
|
573
|
+
def clock(*a, &b); end
|
574
|
+
def clock=(*a, &b); end
|
575
|
+
def clone(*a, &b); end
|
576
|
+
def curry(*a, &b); end
|
577
|
+
def description(*a, &b); end
|
578
|
+
def dup(*a, &b); end
|
579
|
+
def duplicate_with(*a, &b); end
|
580
|
+
def example; end
|
581
|
+
def example_group(*a, &b); end
|
582
|
+
def example_group_instance(*a, &b); end
|
583
|
+
def exception(*a, &b); end
|
584
|
+
def executed?; end
|
585
|
+
def execution_result(*a, &b); end
|
586
|
+
def file_path(*a, &b); end
|
587
|
+
def full_description(*a, &b); end
|
588
|
+
def hash(*a, &b); end
|
589
|
+
def id(*a, &b); end
|
590
|
+
def inspect; end
|
591
|
+
def inspect_output(*a, &b); end
|
592
|
+
def lambda?(*a, &b); end
|
593
|
+
def location(*a, &b); end
|
594
|
+
def location_rerun_argument(*a, &b); end
|
595
|
+
def metadata(*a, &b); end
|
596
|
+
def parameters(*a, &b); end
|
597
|
+
def pending(*a, &b); end
|
598
|
+
def pending?(*a, &b); end
|
599
|
+
def reporter(*a, &b); end
|
600
|
+
def rerun_argument(*a, &b); end
|
601
|
+
def ruby2_keywords(*a, &b); end
|
602
|
+
def run(*args, &block); end
|
603
|
+
def skip(*a, &b); end
|
604
|
+
def skipped?(*a, &b); end
|
605
|
+
def source_location(*a, &b); end
|
606
|
+
def to_proc; end
|
607
|
+
def update_inherited_metadata(*a, &b); end
|
608
|
+
def wrap(&block); end
|
609
|
+
def yield(*a, &b); end
|
521
610
|
end
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
def
|
611
|
+
|
612
|
+
class RSpec::Core::ExampleGroup
|
613
|
+
include ::RSpec::Core::MemoizedHelpers
|
614
|
+
include ::RSpec::Core::Pending
|
615
|
+
extend ::RSpec::Core::Hooks
|
616
|
+
extend ::RSpec::Core::MemoizedHelpers::ClassMethods
|
617
|
+
extend ::RSpec::Core::SharedExampleGroup
|
618
|
+
|
619
|
+
def initialize(inspect_output = T.unsafe(nil)); end
|
620
|
+
|
621
|
+
def described_class; end
|
622
|
+
def inspect; end
|
623
|
+
|
624
|
+
private
|
625
|
+
|
626
|
+
def method_missing(name, *args); end
|
627
|
+
|
628
|
+
class << self
|
629
|
+
def add_example(example); end
|
630
|
+
def before_context_ivars; end
|
631
|
+
def children; end
|
632
|
+
def context(*args, &example_group_block); end
|
633
|
+
def currently_executing_a_context_hook?; end
|
634
|
+
def declaration_locations; end
|
635
|
+
def define_example_group_method(name, metadata = T.unsafe(nil)); end
|
636
|
+
def define_example_method(name, extra_options = T.unsafe(nil)); end
|
637
|
+
def define_nested_shared_group_method(new_name, report_label = T.unsafe(nil)); end
|
638
|
+
def delegate_to_metadata(*names); end
|
639
|
+
def descendant_filtered_examples; end
|
640
|
+
def descendants; end
|
641
|
+
def describe(*args, &example_group_block); end
|
642
|
+
def described_class; end
|
643
|
+
def description; end
|
644
|
+
def each_instance_variable_for_example(group); end
|
645
|
+
def ensure_example_groups_are_configured; end
|
646
|
+
def example(*all_args, &block); end
|
647
|
+
def example_group(*args, &example_group_block); end
|
648
|
+
def examples; end
|
649
|
+
def fcontext(*args, &example_group_block); end
|
650
|
+
def fdescribe(*args, &example_group_block); end
|
651
|
+
def fexample(*all_args, &block); end
|
652
|
+
def file_path; end
|
653
|
+
def filtered_examples; end
|
654
|
+
def find_and_eval_shared(label, name, inclusion_location, *args, &customization_block); end
|
655
|
+
def fit(*all_args, &block); end
|
656
|
+
def focus(*all_args, &block); end
|
657
|
+
def for_filtered_examples(reporter, &block); end
|
658
|
+
def fspecify(*all_args, &block); end
|
659
|
+
def id; end
|
660
|
+
def idempotently_define_singleton_method(name, &definition); end
|
661
|
+
def include_context(name, *args, &block); end
|
662
|
+
def include_examples(name, *args, &block); end
|
663
|
+
def it(*all_args, &block); end
|
664
|
+
def it_behaves_like(name, *args, &customization_block); end
|
665
|
+
def it_should_behave_like(name, *args, &customization_block); end
|
666
|
+
def location; end
|
667
|
+
def metadata; end
|
668
|
+
def next_runnable_index_for(file); end
|
669
|
+
def ordering_strategy; end
|
670
|
+
def parent_groups; end
|
671
|
+
def pending(*all_args, &block); end
|
672
|
+
def remove_example(example); end
|
673
|
+
def reset_memoized; end
|
674
|
+
def run(reporter = T.unsafe(nil)); end
|
675
|
+
def run_after_context_hooks(example_group_instance); end
|
676
|
+
def run_before_context_hooks(example_group_instance); end
|
677
|
+
def run_examples(reporter); end
|
678
|
+
def set_it_up(description, args, registration_collection, &example_group_block); end
|
679
|
+
def set_ivars(instance, ivars); end
|
680
|
+
def skip(*all_args, &block); end
|
681
|
+
def specify(*all_args, &block); end
|
682
|
+
def store_before_context_ivars(example_group_instance); end
|
683
|
+
def subclass(parent, description, args, registration_collection, &example_group_block); end
|
684
|
+
def superclass_before_context_ivars; end
|
685
|
+
def superclass_metadata; end
|
686
|
+
def top_level?; end
|
687
|
+
def top_level_description; end
|
688
|
+
def traverse_tree_until(&block); end
|
689
|
+
def update_inherited_metadata(updates); end
|
690
|
+
def with_replaced_metadata(meta); end
|
691
|
+
def xcontext(*args, &example_group_block); end
|
692
|
+
def xdescribe(*args, &example_group_block); end
|
693
|
+
def xexample(*all_args, &block); end
|
694
|
+
def xit(*all_args, &block); end
|
695
|
+
def xspecify(*all_args, &block); end
|
696
|
+
|
697
|
+
private
|
698
|
+
|
699
|
+
def method_missing(name, *args); end
|
700
|
+
end
|
531
701
|
end
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
def
|
538
|
-
|
539
|
-
def
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
def
|
544
|
-
def
|
545
|
-
end
|
546
|
-
|
547
|
-
def
|
548
|
-
def
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
def full_description; end
|
554
|
-
def self.backwards_compatibility_default_proc(&example_group_selector); end
|
555
|
-
def self.create(parent_group_metadata, user_metadata, example_group_index, *args, &block); end
|
556
|
-
def self.hash_with_backwards_compatibility_default_proc; end
|
702
|
+
|
703
|
+
RSpec::Core::ExampleGroup::INSTANCE_VARIABLE_TO_IGNORE = T.let(T.unsafe(nil), Symbol)
|
704
|
+
class RSpec::Core::ExampleGroup::WrongScopeError < ::NoMethodError; end
|
705
|
+
|
706
|
+
class RSpec::Core::ExampleStatusDumper
|
707
|
+
def initialize(examples); end
|
708
|
+
|
709
|
+
def dump; end
|
710
|
+
|
711
|
+
private
|
712
|
+
|
713
|
+
def column_widths; end
|
714
|
+
def formatted_header_rows; end
|
715
|
+
def formatted_row_from(row_values); end
|
716
|
+
def formatted_value_rows; end
|
717
|
+
def headers; end
|
718
|
+
def rows; end
|
719
|
+
|
720
|
+
class << self
|
721
|
+
def dump(examples); end
|
722
|
+
end
|
557
723
|
end
|
558
|
-
|
559
|
-
|
560
|
-
def
|
561
|
-
|
562
|
-
def
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
def
|
567
|
-
def
|
568
|
-
def
|
569
|
-
def
|
570
|
-
def
|
571
|
-
def
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
def compare_by_identity(*args, &block); end
|
577
|
-
def compare_by_identity?(*args, &block); end
|
578
|
-
def count(*args, &block); end
|
579
|
-
def cycle(*args, &block); end
|
580
|
-
def deconstruct_keys(*args, &block); end
|
581
|
-
def default(*args, &block); end
|
582
|
-
def default=(*args, &block); end
|
583
|
-
def default_proc(*args, &block); end
|
584
|
-
def default_proc=(*args, &block); end
|
585
|
-
def delete(*args, &block); end
|
586
|
-
def delete_if(*args, &block); end
|
587
|
-
def detect(*args, &block); end
|
588
|
-
def dig(*args, &block); end
|
589
|
-
def directly_supports_attribute?(name); end
|
590
|
-
def drop(*args, &block); end
|
591
|
-
def drop_while(*args, &block); end
|
592
|
-
def each(*args, &block); end
|
593
|
-
def each_cons(*args, &block); end
|
594
|
-
def each_entry(*args, &block); end
|
595
|
-
def each_key(*args, &block); end
|
596
|
-
def each_pair(*args, &block); end
|
597
|
-
def each_slice(*args, &block); end
|
598
|
-
def each_value(*args, &block); end
|
599
|
-
def each_with_index(*args, &block); end
|
600
|
-
def each_with_object(*args, &block); end
|
601
|
-
def empty?(*args, &block); end
|
602
|
-
def entries(*args, &block); end
|
603
|
-
def extra_hash_attributes; end
|
604
|
-
def fetch(*args, &block); end
|
605
|
-
def fetch_values(*args, &block); end
|
606
|
-
def filter!(*args, &block); end
|
607
|
-
def filter(*args, &block); end
|
608
|
-
def filter_map(*args, &block); end
|
609
|
-
def find(*args, &block); end
|
610
|
-
def find_all(*args, &block); end
|
611
|
-
def find_index(*args, &block); end
|
612
|
-
def first(*args, &block); end
|
613
|
-
def flat_map(*args, &block); end
|
614
|
-
def flatten(*args, &block); end
|
615
|
-
def get_value(name); end
|
616
|
-
def grep(*args, &block); end
|
617
|
-
def grep_v(*args, &block); end
|
618
|
-
def group_by(*args, &block); end
|
619
|
-
def has_key?(*args, &block); end
|
620
|
-
def has_value?(*args, &block); end
|
621
|
-
def hash_for_delegation; end
|
622
|
-
def include?(*args, &block); end
|
623
|
-
def index(*args, &block); end
|
624
|
-
def inject(*args, &block); end
|
625
|
-
def invert(*args, &block); end
|
626
|
-
def issue_deprecation(_method_name, *_args); end
|
627
|
-
def keep_if(*args, &block); end
|
628
|
-
def key(*args, &block); end
|
629
|
-
def key?(*args, &block); end
|
630
|
-
def keys(*args, &block); end
|
631
|
-
def lazy(*args, &block); end
|
632
|
-
def length(*args, &block); end
|
633
|
-
def map(*args, &block); end
|
634
|
-
def max(*args, &block); end
|
635
|
-
def max_by(*args, &block); end
|
636
|
-
def member?(*args, &block); end
|
637
|
-
def merge!(*args, &block); end
|
638
|
-
def merge(*args, &block); end
|
639
|
-
def min(*args, &block); end
|
640
|
-
def min_by(*args, &block); end
|
641
|
-
def minmax(*args, &block); end
|
642
|
-
def minmax_by(*args, &block); end
|
643
|
-
def none?(*args, &block); end
|
644
|
-
def one?(*args, &block); end
|
645
|
-
def partition(*args, &block); end
|
646
|
-
def rassoc(*args, &block); end
|
647
|
-
def reduce(*args, &block); end
|
648
|
-
def rehash(*args, &block); end
|
649
|
-
def reject!(*args, &block); end
|
650
|
-
def reject(*args, &block); end
|
651
|
-
def replace(*args, &block); end
|
652
|
-
def reverse_each(*args, &block); end
|
653
|
-
def select!(*args, &block); end
|
654
|
-
def select(*args, &block); end
|
655
|
-
def self.included(klass); end
|
656
|
-
def set_value(name, value); end
|
657
|
-
def shift(*args, &block); end
|
658
|
-
def size(*args, &block); end
|
659
|
-
def slice(*args, &block); end
|
660
|
-
def slice_after(*args, &block); end
|
661
|
-
def slice_before(*args, &block); end
|
662
|
-
def slice_when(*args, &block); end
|
663
|
-
def sort(*args, &block); end
|
664
|
-
def sort_by(*args, &block); end
|
665
|
-
def store(*args, &block); end
|
666
|
-
def sum(*args, &block); end
|
667
|
-
def take(*args, &block); end
|
668
|
-
def take_while(*args, &block); end
|
669
|
-
def tally(*args, &block); end
|
670
|
-
def to_a(*args, &block); end
|
671
|
-
def to_h; end
|
672
|
-
def to_hash(*args, &block); end
|
673
|
-
def to_proc(*args, &block); end
|
674
|
-
def to_set(*args, &block); end
|
675
|
-
def transform_keys!(*args, &block); end
|
676
|
-
def transform_keys(*args, &block); end
|
677
|
-
def transform_values!(*args, &block); end
|
678
|
-
def transform_values(*args, &block); end
|
679
|
-
def uniq(*args, &block); end
|
680
|
-
def update(*args, &block); end
|
681
|
-
def value?(*args, &block); end
|
682
|
-
def values(*args, &block); end
|
683
|
-
def values_at(*args, &block); end
|
684
|
-
def zip(*args, &block); end
|
724
|
+
|
725
|
+
class RSpec::Core::ExampleStatusMerger
|
726
|
+
def initialize(this_run, from_previous_runs); end
|
727
|
+
|
728
|
+
def merge; end
|
729
|
+
|
730
|
+
private
|
731
|
+
|
732
|
+
def delete_previous_examples_that_no_longer_exist; end
|
733
|
+
def example_must_no_longer_exist?(ex_id); end
|
734
|
+
def hash_from(example_list); end
|
735
|
+
def loaded_spec_files; end
|
736
|
+
def sort_value_from(example); end
|
737
|
+
def spec_file_from(ex_id); end
|
738
|
+
|
739
|
+
class << self
|
740
|
+
def merge(this_run, from_previous_runs); end
|
741
|
+
end
|
685
742
|
end
|
686
|
-
|
687
|
-
|
688
|
-
def
|
743
|
+
|
744
|
+
class RSpec::Core::ExampleStatusParser
|
745
|
+
def initialize(string); end
|
746
|
+
|
747
|
+
def parse; end
|
748
|
+
|
749
|
+
private
|
750
|
+
|
751
|
+
def headers; end
|
752
|
+
def parse_row(line); end
|
753
|
+
def split_line(line); end
|
754
|
+
|
755
|
+
class << self
|
756
|
+
def parse(string); end
|
757
|
+
end
|
689
758
|
end
|
690
|
-
|
691
|
-
|
692
|
-
def
|
693
|
-
|
694
|
-
def
|
695
|
-
|
696
|
-
|
697
|
-
|
759
|
+
|
760
|
+
class RSpec::Core::ExampleStatusPersister
|
761
|
+
def initialize(examples, file_name); end
|
762
|
+
|
763
|
+
def persist; end
|
764
|
+
|
765
|
+
private
|
766
|
+
|
767
|
+
def dump_statuses(unparsed_previous_runs); end
|
768
|
+
def statuses_from_this_run; end
|
769
|
+
|
770
|
+
class << self
|
771
|
+
def load_from(file_name); end
|
772
|
+
def persist(examples, file_name); end
|
773
|
+
end
|
698
774
|
end
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
def
|
704
|
-
|
705
|
-
def
|
706
|
-
def
|
707
|
-
def
|
775
|
+
|
776
|
+
RSpec::Core::ExclusionRules = RSpec::Core::FilterRules
|
777
|
+
|
778
|
+
class RSpec::Core::FilterManager
|
779
|
+
def initialize; end
|
780
|
+
|
781
|
+
def add_ids(rerun_path, scoped_ids); end
|
782
|
+
def add_location(file_path, line_numbers); end
|
783
|
+
def empty?; end
|
784
|
+
def exclude(*args); end
|
785
|
+
def exclude_only(*args); end
|
786
|
+
def exclude_with_low_priority(*args); end
|
787
|
+
def exclusions; end
|
788
|
+
def include(*args); end
|
789
|
+
def include_only(*args); end
|
790
|
+
def include_with_low_priority(*args); end
|
791
|
+
def inclusions; end
|
792
|
+
def prune(examples); end
|
793
|
+
|
794
|
+
private
|
795
|
+
|
796
|
+
def add_path_to_arrays_filter(filter_key, path, values); end
|
797
|
+
def file_scoped_include?(ex_metadata, ids, locations); end
|
798
|
+
def prune_conditionally_filtered_examples(examples); end
|
708
799
|
end
|
709
|
-
|
800
|
+
|
801
|
+
class RSpec::Core::FilterRules
|
802
|
+
def initialize(rules = T.unsafe(nil)); end
|
803
|
+
|
804
|
+
def [](key); end
|
805
|
+
def add(updated); end
|
806
|
+
def add_with_low_priority(updated); end
|
807
|
+
def clear; end
|
808
|
+
def delete(key); end
|
809
|
+
def description; end
|
810
|
+
def each_pair(&block); end
|
811
|
+
def empty?; end
|
812
|
+
def fetch(*args, &block); end
|
813
|
+
def include_example?(example); end
|
814
|
+
def opposite; end
|
815
|
+
def opposite=(_arg0); end
|
816
|
+
def rules; end
|
817
|
+
def use_only(updated); end
|
818
|
+
|
819
|
+
class << self
|
820
|
+
def build; end
|
821
|
+
end
|
710
822
|
end
|
711
|
-
|
823
|
+
|
824
|
+
RSpec::Core::FilterRules::PROC_HEX_NUMBER = T.let(T.unsafe(nil), Regexp)
|
825
|
+
RSpec::Core::FilterRules::PROJECT_DIR = T.let(T.unsafe(nil), String)
|
826
|
+
module RSpec::Core::FilterableItemRepository; end
|
827
|
+
|
828
|
+
class RSpec::Core::FilterableItemRepository::QueryOptimized < ::RSpec::Core::FilterableItemRepository::UpdateOptimized
|
829
|
+
def initialize(applies_predicate); end
|
830
|
+
|
712
831
|
def append(item, metadata); end
|
713
832
|
def delete(item, metadata); end
|
714
|
-
def
|
715
|
-
def items_and_filters; end
|
716
|
-
def items_for(request_meta); end
|
833
|
+
def items_for(metadata); end
|
717
834
|
def prepend(item, metadata); end
|
718
|
-
|
719
|
-
|
720
|
-
|
835
|
+
|
836
|
+
private
|
837
|
+
|
721
838
|
def applicable_metadata_from(metadata); end
|
722
|
-
def delete(item, metadata); end
|
723
839
|
def find_items_for(request_meta); end
|
724
840
|
def handle_mutation(metadata); end
|
725
|
-
def initialize(applies_predicate); end
|
726
|
-
def items_for(metadata); end
|
727
|
-
def prepend(item, metadata); end
|
728
841
|
def proc_keys_from(metadata); end
|
729
842
|
def reconstruct_caches; end
|
730
843
|
end
|
731
|
-
|
732
|
-
|
733
|
-
def
|
734
|
-
|
735
|
-
def
|
736
|
-
def
|
737
|
-
end
|
738
|
-
|
739
|
-
def
|
740
|
-
def initialize(argument); end
|
741
|
-
end
|
742
|
-
class RSpec::Core::Pending::PendingExampleFixedError < StandardError
|
743
|
-
end
|
744
|
-
class RSpec::Core::Formatters::Loader
|
745
|
-
def add(formatter_to_use, *paths); end
|
746
|
-
def built_in_formatter(key); end
|
747
|
-
def custom_formatter(formatter_ref); end
|
748
|
-
def default_formatter; end
|
749
|
-
def default_formatter=(arg0); end
|
750
|
-
def duplicate_formatter_exists?(new_formatter); end
|
751
|
-
def existing_formatter_implements?(notification); end
|
752
|
-
def find_formatter(formatter_to_use); end
|
753
|
-
def formatters; end
|
754
|
-
def initialize(reporter); end
|
755
|
-
def notifications_for(formatter_class); end
|
756
|
-
def open_stream(path_or_wrapper); end
|
757
|
-
def path_for(const_ref); end
|
758
|
-
def prepare_default(output_stream, deprecation_stream); end
|
759
|
-
def register(formatter, notifications); end
|
760
|
-
def reporter; end
|
761
|
-
def self.formatters; end
|
762
|
-
def setup_default(output_stream, deprecation_stream); end
|
763
|
-
def string_const?(str); end
|
764
|
-
def underscore(camel_cased_word); end
|
765
|
-
def underscore_with_fix_for_non_standard_rspec_naming(string); end
|
766
|
-
end
|
767
|
-
module RSpec::Core::Ordering
|
768
|
-
end
|
769
|
-
class RSpec::Core::Ordering::Identity
|
770
|
-
def order(items); end
|
771
|
-
end
|
772
|
-
class RSpec::Core::Ordering::Random
|
773
|
-
def initialize(configuration); end
|
774
|
-
def jenkins_hash_digest(string); end
|
775
|
-
def order(items); end
|
776
|
-
def used?; end
|
844
|
+
|
845
|
+
class RSpec::Core::FilterableItemRepository::UpdateOptimized
|
846
|
+
def initialize(applies_predicate); end
|
847
|
+
|
848
|
+
def append(item, metadata); end
|
849
|
+
def delete(item, metadata); end
|
850
|
+
def items_and_filters; end
|
851
|
+
def items_for(request_meta); end
|
852
|
+
def prepend(item, metadata); end
|
777
853
|
end
|
778
|
-
|
779
|
-
|
780
|
-
|
854
|
+
|
855
|
+
module RSpec::Core::FlatMap
|
856
|
+
private
|
857
|
+
|
858
|
+
def flat_map(array, &block); end
|
859
|
+
|
860
|
+
class << self
|
861
|
+
def flat_map(array, &block); end
|
862
|
+
end
|
781
863
|
end
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
864
|
+
|
865
|
+
module RSpec::Core::Formatters
|
866
|
+
class << self
|
867
|
+
def register(formatter_class, *notifications); end
|
868
|
+
end
|
787
869
|
end
|
788
|
-
|
789
|
-
|
790
|
-
def initialize; end
|
791
|
-
|
792
|
-
def
|
793
|
-
def
|
794
|
-
def
|
795
|
-
|
796
|
-
|
870
|
+
|
871
|
+
class RSpec::Core::Formatters::BaseBisectFormatter
|
872
|
+
def initialize(expected_failures); end
|
873
|
+
|
874
|
+
def example_failed(notification); end
|
875
|
+
def example_finished(notification); end
|
876
|
+
def start_dump(_notification); end
|
877
|
+
|
878
|
+
class << self
|
879
|
+
def inherited(formatter); end
|
880
|
+
end
|
797
881
|
end
|
798
|
-
|
799
|
-
|
800
|
-
def
|
801
|
-
|
802
|
-
def
|
803
|
-
def
|
804
|
-
def
|
805
|
-
def
|
806
|
-
def
|
807
|
-
def
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
def
|
812
|
-
def
|
813
|
-
def
|
814
|
-
def initialize(configuration = nil); end
|
815
|
-
def non_example_failure; end
|
816
|
-
def non_example_failure=(arg0); end
|
817
|
-
def num_example_groups_defined_in(file); end
|
818
|
-
def ordered_example_groups; end
|
819
|
-
def preceding_declaration_line(absolute_file_name, filter_line); end
|
820
|
-
def prepare_example_filtering; end
|
821
|
-
def record(example_group); end
|
822
|
-
def registered_example_group_files; end
|
823
|
-
def report_filter_message(message); end
|
824
|
-
def reporter; end
|
825
|
-
def reset; end
|
826
|
-
def shared_example_group_registry; end
|
827
|
-
def source_from_file(path); end
|
828
|
-
def syntax_highlighter; end
|
829
|
-
def traverse_example_group_trees_until(&block); end
|
830
|
-
def wants_to_quit; end
|
831
|
-
def wants_to_quit=(arg0); end
|
882
|
+
|
883
|
+
class RSpec::Core::Formatters::BaseFormatter
|
884
|
+
def initialize(output); end
|
885
|
+
|
886
|
+
def close(_notification); end
|
887
|
+
def example_group; end
|
888
|
+
def example_group=(_arg0); end
|
889
|
+
def example_group_started(notification); end
|
890
|
+
def output; end
|
891
|
+
def start(notification); end
|
892
|
+
|
893
|
+
private
|
894
|
+
|
895
|
+
def output_supports_sync; end
|
896
|
+
def restore_sync_output; end
|
897
|
+
def start_sync_output; end
|
832
898
|
end
|
833
|
-
|
834
|
-
|
835
|
-
def
|
836
|
-
def
|
837
|
-
def
|
838
|
-
def
|
839
|
-
def
|
899
|
+
|
900
|
+
class RSpec::Core::Formatters::BaseTextFormatter < ::RSpec::Core::Formatters::BaseFormatter
|
901
|
+
def close(_notification); end
|
902
|
+
def dump_failures(notification); end
|
903
|
+
def dump_pending(notification); end
|
904
|
+
def dump_summary(summary); end
|
905
|
+
def message(notification); end
|
906
|
+
def seed(notification); end
|
840
907
|
end
|
841
|
-
|
842
|
-
|
843
|
-
def
|
844
|
-
|
845
|
-
def
|
846
|
-
def filter_gem(gem_name); end
|
847
|
-
def format_backtrace(backtrace, options = nil); end
|
848
|
-
def full_backtrace=(arg0); end
|
849
|
-
def full_backtrace?; end
|
850
|
-
def inclusion_patterns; end
|
851
|
-
def inclusion_patterns=(arg0); end
|
852
|
-
def initialize; end
|
853
|
-
def matches?(patterns, line); end
|
908
|
+
|
909
|
+
class RSpec::Core::Formatters::BisectDRbFormatter < ::RSpec::Core::Formatters::BaseBisectFormatter
|
910
|
+
def initialize(_output); end
|
911
|
+
|
912
|
+
def notify_results(results); end
|
854
913
|
end
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
def
|
860
|
-
def
|
861
|
-
def
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
914
|
+
|
915
|
+
module RSpec::Core::Formatters::ConsoleCodes
|
916
|
+
private
|
917
|
+
|
918
|
+
def config_colors_to_methods; end
|
919
|
+
def console_code_for(code_or_symbol); end
|
920
|
+
def wrap(text, code_or_symbol); end
|
921
|
+
|
922
|
+
class << self
|
923
|
+
def config_colors_to_methods; end
|
924
|
+
def console_code_for(code_or_symbol); end
|
925
|
+
def wrap(text, code_or_symbol); end
|
926
|
+
end
|
868
927
|
end
|
928
|
+
|
929
|
+
RSpec::Core::Formatters::ConsoleCodes::VT100_CODES = T.let(T.unsafe(nil), Hash)
|
930
|
+
RSpec::Core::Formatters::ConsoleCodes::VT100_CODE_VALUES = T.let(T.unsafe(nil), Hash)
|
931
|
+
|
869
932
|
class RSpec::Core::Formatters::DeprecationFormatter
|
933
|
+
def initialize(deprecation_stream, summary_stream); end
|
934
|
+
|
870
935
|
def count; end
|
871
936
|
def deprecation(notification); end
|
872
937
|
def deprecation_message_for(data); end
|
873
938
|
def deprecation_stream; end
|
874
939
|
def deprecation_summary(_notification); end
|
875
|
-
def initialize(deprecation_stream, summary_stream); end
|
876
940
|
def output; end
|
877
941
|
def printer; end
|
878
942
|
def summary_stream; end
|
879
943
|
end
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
def
|
885
|
-
|
886
|
-
def
|
887
|
-
def
|
888
|
-
def
|
889
|
-
def
|
890
|
-
def
|
891
|
-
def
|
944
|
+
|
945
|
+
RSpec::Core::Formatters::DeprecationFormatter::DEPRECATION_STREAM_NOTICE = T.let(T.unsafe(nil), String)
|
946
|
+
|
947
|
+
class RSpec::Core::Formatters::DeprecationFormatter::DelayedPrinter
|
948
|
+
def initialize(deprecation_stream, summary_stream, deprecation_formatter); end
|
949
|
+
|
950
|
+
def deprecation_formatter; end
|
951
|
+
def deprecation_stream; end
|
952
|
+
def deprecation_summary; end
|
953
|
+
def print_deferred_deprecation_warnings; end
|
954
|
+
def print_deprecation_message(data); end
|
955
|
+
def stash_deprecation_message(deprecation_message); end
|
956
|
+
def summary_stream; end
|
957
|
+
end
|
958
|
+
|
959
|
+
RSpec::Core::Formatters::DeprecationFormatter::DelayedPrinter::TOO_MANY_USES_LIMIT = T.let(T.unsafe(nil), Integer)
|
960
|
+
|
961
|
+
class RSpec::Core::Formatters::DeprecationFormatter::FileStream
|
962
|
+
def initialize(file); end
|
963
|
+
|
964
|
+
def puts(*args); end
|
965
|
+
def summarize(summary_stream, deprecation_count); end
|
892
966
|
end
|
893
|
-
|
967
|
+
|
968
|
+
class RSpec::Core::Formatters::DeprecationFormatter::GeneratedDeprecationMessage < ::Struct
|
894
969
|
def initialize(data); end
|
895
|
-
|
896
|
-
def self.inspect; end
|
897
|
-
def self.members; end
|
898
|
-
def self.new(*arg0); end
|
970
|
+
|
899
971
|
def to_s; end
|
900
972
|
def too_many_warnings_message; end
|
901
973
|
def type; end
|
902
974
|
def type=(_); end
|
975
|
+
|
976
|
+
class << self
|
977
|
+
def [](*_arg0); end
|
978
|
+
def inspect; end
|
979
|
+
def members; end
|
980
|
+
def new(*_arg0); end
|
981
|
+
end
|
903
982
|
end
|
983
|
+
|
904
984
|
class RSpec::Core::Formatters::DeprecationFormatter::ImmediatePrinter
|
905
|
-
def deprecation_formatter; end
|
906
|
-
def deprecation_stream; end
|
907
|
-
def deprecation_summary; end
|
908
985
|
def initialize(deprecation_stream, summary_stream, deprecation_formatter); end
|
909
|
-
|
910
|
-
def summary_stream; end
|
911
|
-
end
|
912
|
-
class RSpec::Core::Formatters::DeprecationFormatter::DelayedPrinter
|
986
|
+
|
913
987
|
def deprecation_formatter; end
|
914
988
|
def deprecation_stream; end
|
915
989
|
def deprecation_summary; end
|
916
|
-
def initialize(deprecation_stream, summary_stream, deprecation_formatter); end
|
917
|
-
def print_deferred_deprecation_warnings; end
|
918
990
|
def print_deprecation_message(data); end
|
919
|
-
def stash_deprecation_message(deprecation_message); end
|
920
991
|
def summary_stream; end
|
921
992
|
end
|
993
|
+
|
994
|
+
RSpec::Core::Formatters::DeprecationFormatter::RAISE_ERROR_CONFIG_NOTICE = T.let(T.unsafe(nil), String)
|
995
|
+
|
922
996
|
class RSpec::Core::Formatters::DeprecationFormatter::RaiseErrorStream
|
923
997
|
def puts(message); end
|
924
998
|
def summarize(summary_stream, deprecation_count); end
|
925
999
|
end
|
926
|
-
|
927
|
-
|
928
|
-
def
|
929
|
-
|
930
|
-
end
|
931
|
-
|
1000
|
+
|
1001
|
+
class RSpec::Core::Formatters::DeprecationFormatter::SpecifiedDeprecationMessage < ::Struct
|
1002
|
+
def initialize(data); end
|
1003
|
+
|
1004
|
+
def to_s; end
|
1005
|
+
def too_many_warnings_message; end
|
1006
|
+
def type; end
|
1007
|
+
def type=(_); end
|
1008
|
+
|
1009
|
+
private
|
1010
|
+
|
1011
|
+
def deprecation_type_for(data); end
|
1012
|
+
def output_formatted(str); end
|
1013
|
+
|
1014
|
+
class << self
|
1015
|
+
def [](*_arg0); end
|
1016
|
+
def inspect; end
|
1017
|
+
def members; end
|
1018
|
+
def new(*_arg0); end
|
1019
|
+
end
|
932
1020
|
end
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
def autoclose?(*args, &block); end
|
938
|
-
def beep(*args, &block); end
|
939
|
-
def binmode(*args, &block); end
|
940
|
-
def binmode?(*args, &block); end
|
941
|
-
def bytes(*args, &block); end
|
942
|
-
def chars(*args, &block); end
|
943
|
-
def check_winsize_changed(*args, &block); end
|
944
|
-
def clear_screen(*args, &block); end
|
945
|
-
def close(*args, &block); end
|
946
|
-
def close_on_exec=(*args, &block); end
|
947
|
-
def close_on_exec?(*args, &block); end
|
948
|
-
def close_read(*args, &block); end
|
949
|
-
def close_write(*args, &block); end
|
950
|
-
def closed?(*args, &block); end
|
951
|
-
def codepoints(*args, &block); end
|
952
|
-
def console_mode(*args, &block); end
|
953
|
-
def console_mode=(*args, &block); end
|
954
|
-
def cooked!(*args, &block); end
|
955
|
-
def cooked(*args, &block); end
|
956
|
-
def cursor(*args, &block); end
|
957
|
-
def cursor=(*args, &block); end
|
958
|
-
def cursor_down(*args, &block); end
|
959
|
-
def cursor_left(*args, &block); end
|
960
|
-
def cursor_right(*args, &block); end
|
961
|
-
def cursor_up(*args, &block); end
|
962
|
-
def each(*args, &block); end
|
963
|
-
def each_byte(*args, &block); end
|
964
|
-
def each_char(*args, &block); end
|
965
|
-
def each_codepoint(*args, &block); end
|
966
|
-
def each_line(*args, &block); end
|
967
|
-
def echo=(*args, &block); end
|
968
|
-
def echo?(*args, &block); end
|
969
|
-
def eof(*args, &block); end
|
970
|
-
def eof?(*args, &block); end
|
971
|
-
def erase_line(*args, &block); end
|
972
|
-
def erase_screen(*args, &block); end
|
973
|
-
def external_encoding(*args, &block); end
|
974
|
-
def fcntl(*args, &block); end
|
975
|
-
def fdatasync(*args, &block); end
|
976
|
-
def fileno(*args, &block); end
|
977
|
-
def flush(*args, &block); end
|
978
|
-
def fsync(*args, &block); end
|
979
|
-
def getbyte(*args, &block); end
|
980
|
-
def getc(*args, &block); end
|
981
|
-
def getch(*args, &block); end
|
982
|
-
def getpass(*args, &block); end
|
983
|
-
def gets(*args, &block); end
|
984
|
-
def goto(*args, &block); end
|
985
|
-
def goto_column(*args, &block); end
|
986
|
-
def iflush(*args, &block); end
|
1021
|
+
|
1022
|
+
RSpec::Core::Formatters::DeprecationFormatter::TOO_MANY_WARNINGS_NOTICE = T.let(T.unsafe(nil), String)
|
1023
|
+
|
1024
|
+
class RSpec::Core::Formatters::DocumentationFormatter < ::RSpec::Core::Formatters::BaseTextFormatter
|
987
1025
|
def initialize(output); end
|
988
|
-
|
989
|
-
def
|
990
|
-
def
|
991
|
-
def
|
992
|
-
def
|
993
|
-
def
|
994
|
-
def
|
995
|
-
def
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
def
|
1000
|
-
def
|
1001
|
-
def
|
1002
|
-
def
|
1003
|
-
def
|
1004
|
-
def
|
1005
|
-
def pos=(*args, &block); end
|
1006
|
-
def pread(*args, &block); end
|
1007
|
-
def pressed?(*args, &block); end
|
1008
|
-
def print(*args, &block); end
|
1009
|
-
def printf(*args, &block); end
|
1010
|
-
def putc(*args, &block); end
|
1011
|
-
def puts(*args, &block); end
|
1012
|
-
def pwrite(*args, &block); end
|
1013
|
-
def raw!(*args, &block); end
|
1014
|
-
def raw(*args, &block); end
|
1015
|
-
def read(*args, &block); end
|
1016
|
-
def read_nonblock(*args, &block); end
|
1017
|
-
def readbyte(*args, &block); end
|
1018
|
-
def readchar(*args, &block); end
|
1019
|
-
def readline(*args, &block); end
|
1020
|
-
def readlines(*args, &block); end
|
1021
|
-
def readpartial(*args, &block); end
|
1022
|
-
def ready?(*args, &block); end
|
1023
|
-
def reopen(*args, &block); end
|
1024
|
-
def respond_to?(name, priv = nil); end
|
1025
|
-
def rewind(*args, &block); end
|
1026
|
-
def scroll_backward(*args, &block); end
|
1027
|
-
def scroll_forward(*args, &block); end
|
1028
|
-
def seek(*args, &block); end
|
1029
|
-
def set_encoding(*args, &block); end
|
1030
|
-
def set_encoding_by_bom(*args, &block); end
|
1031
|
-
def stat(*args, &block); end
|
1032
|
-
def sync(*args, &block); end
|
1033
|
-
def sync=(*args, &block); end
|
1034
|
-
def sysread(*args, &block); end
|
1035
|
-
def sysseek(*args, &block); end
|
1036
|
-
def syswrite(*args, &block); end
|
1037
|
-
def tell(*args, &block); end
|
1038
|
-
def to_i(*args, &block); end
|
1039
|
-
def to_io(*args, &block); end
|
1040
|
-
def tty?(*args, &block); end
|
1041
|
-
def ungetbyte(*args, &block); end
|
1042
|
-
def ungetc(*args, &block); end
|
1043
|
-
def wait(*args, &block); end
|
1044
|
-
def wait_readable(*args, &block); end
|
1045
|
-
def wait_writable(*args, &block); end
|
1046
|
-
def winsize(*args, &block); end
|
1047
|
-
def winsize=(*args, &block); end
|
1048
|
-
def write(*args, &block); end
|
1049
|
-
def write_nonblock(*args, &block); end
|
1026
|
+
|
1027
|
+
def example_failed(failure); end
|
1028
|
+
def example_group_finished(_notification); end
|
1029
|
+
def example_group_started(notification); end
|
1030
|
+
def example_passed(passed); end
|
1031
|
+
def example_pending(pending); end
|
1032
|
+
def example_started(_notification); end
|
1033
|
+
def message(notification); end
|
1034
|
+
|
1035
|
+
private
|
1036
|
+
|
1037
|
+
def current_indentation(offset = T.unsafe(nil)); end
|
1038
|
+
def failure_output(example); end
|
1039
|
+
def flush_messages; end
|
1040
|
+
def next_failure_index; end
|
1041
|
+
def passed_output(example); end
|
1042
|
+
def pending_output(example, message); end
|
1050
1043
|
end
|
1051
|
-
|
1052
|
-
|
1053
|
-
def
|
1054
|
-
|
1055
|
-
def
|
1056
|
-
def
|
1057
|
-
def
|
1058
|
-
def
|
1059
|
-
def
|
1060
|
-
def
|
1061
|
-
def
|
1062
|
-
def
|
1063
|
-
def
|
1064
|
-
def
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1044
|
+
|
1045
|
+
class RSpec::Core::Formatters::ExceptionPresenter
|
1046
|
+
def initialize(exception, example, options = T.unsafe(nil)); end
|
1047
|
+
|
1048
|
+
def colorized_formatted_backtrace(colorizer = T.unsafe(nil)); end
|
1049
|
+
def colorized_message_lines(colorizer = T.unsafe(nil)); end
|
1050
|
+
def description; end
|
1051
|
+
def example; end
|
1052
|
+
def exception; end
|
1053
|
+
def formatted_backtrace(exception = T.unsafe(nil)); end
|
1054
|
+
def formatted_cause(exception); end
|
1055
|
+
def fully_formatted(failure_number, colorizer = T.unsafe(nil)); end
|
1056
|
+
def fully_formatted_lines(failure_number, colorizer); end
|
1057
|
+
def message_lines; end
|
1058
|
+
|
1059
|
+
private
|
1060
|
+
|
1061
|
+
def add_shared_group_lines(lines, colorizer); end
|
1068
1062
|
def backtrace_formatter; end
|
1069
|
-
def
|
1070
|
-
def
|
1071
|
-
def
|
1072
|
-
def
|
1073
|
-
def
|
1074
|
-
def
|
1075
|
-
def
|
1076
|
-
def
|
1077
|
-
def
|
1078
|
-
def
|
1079
|
-
def
|
1080
|
-
def
|
1081
|
-
def
|
1082
|
-
def
|
1083
|
-
def
|
1084
|
-
def
|
1085
|
-
def
|
1086
|
-
def
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
def
|
1091
|
-
|
1063
|
+
def detail_formatter; end
|
1064
|
+
def encoded_description(description); end
|
1065
|
+
def encoded_string(string); end
|
1066
|
+
def encoding_of(string); end
|
1067
|
+
def exception_backtrace; end
|
1068
|
+
def exception_class_name(exception = T.unsafe(nil)); end
|
1069
|
+
def exception_lines; end
|
1070
|
+
def exception_message_string(exception); end
|
1071
|
+
def extra_detail_formatter; end
|
1072
|
+
def extra_failure_lines; end
|
1073
|
+
def failure_lines; end
|
1074
|
+
def failure_slash_error_lines; end
|
1075
|
+
def final_exception(exception, previous = T.unsafe(nil)); end
|
1076
|
+
def find_failed_line; end
|
1077
|
+
def formatted_message_and_backtrace(colorizer); end
|
1078
|
+
def indent_lines(lines, failure_number); end
|
1079
|
+
def message_color; end
|
1080
|
+
def read_failed_lines; end
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
class RSpec::Core::Formatters::ExceptionPresenter::Factory
|
1084
|
+
def initialize(example); end
|
1085
|
+
|
1086
|
+
def build; end
|
1087
|
+
|
1088
|
+
private
|
1089
|
+
|
1090
|
+
def multiple_exception_summarizer(exception, prior_detail_formatter, color); end
|
1091
|
+
def multiple_exceptions_error?(exception); end
|
1092
|
+
def options; end
|
1093
|
+
def pending_options; end
|
1094
|
+
def sub_failure_list_formatter(exception, message_color); end
|
1095
|
+
def with_multiple_error_options_as_needed(exception, options); end
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
class RSpec::Core::Formatters::ExceptionPresenter::Factory::CommonBacktraceTruncater
|
1099
|
+
def initialize(parent); end
|
1100
|
+
|
1101
|
+
def with_truncated_backtrace(child); end
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
module RSpec::Core::Formatters::ExceptionPresenter::Factory::EmptyBacktraceFormatter
|
1105
|
+
class << self
|
1106
|
+
def format_backtrace(*_arg0); end
|
1107
|
+
end
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
RSpec::Core::Formatters::ExceptionPresenter::PENDING_DETAIL_FORMATTER = T.let(T.unsafe(nil), Proc)
|
1111
|
+
|
1112
|
+
class RSpec::Core::Formatters::FailureListFormatter < ::RSpec::Core::Formatters::BaseFormatter
|
1113
|
+
def dump_profile(_profile); end
|
1114
|
+
def example_failed(failure); end
|
1115
|
+
def message(_message); end
|
1116
|
+
end
|
1117
|
+
|
1118
|
+
class RSpec::Core::Formatters::FallbackMessageFormatter
|
1119
|
+
def initialize(output); end
|
1120
|
+
|
1121
|
+
def message(notification); end
|
1122
|
+
def output; end
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
module RSpec::Core::Formatters::Helpers
|
1126
|
+
class << self
|
1127
|
+
def format_duration(duration); end
|
1128
|
+
def format_seconds(float, precision = T.unsafe(nil)); end
|
1129
|
+
def organize_ids(ids); end
|
1130
|
+
def pluralize(count, string); end
|
1131
|
+
|
1132
|
+
private
|
1133
|
+
|
1134
|
+
def strip_trailing_zeroes(string); end
|
1135
|
+
end
|
1136
|
+
end
|
1137
|
+
|
1138
|
+
RSpec::Core::Formatters::Helpers::DEFAULT_PRECISION = T.let(T.unsafe(nil), Integer)
|
1139
|
+
RSpec::Core::Formatters::Helpers::SUB_SECOND_PRECISION = T.let(T.unsafe(nil), Integer)
|
1140
|
+
|
1141
|
+
class RSpec::Core::Formatters::HtmlFormatter < ::RSpec::Core::Formatters::BaseFormatter
|
1142
|
+
def initialize(output); end
|
1143
|
+
|
1144
|
+
def dump_summary(summary); end
|
1145
|
+
def example_failed(failure); end
|
1146
|
+
def example_group_started(notification); end
|
1147
|
+
def example_passed(passed); end
|
1148
|
+
def example_pending(pending); end
|
1149
|
+
def example_started(_notification); end
|
1150
|
+
def start(notification); end
|
1151
|
+
def start_dump(_notification); end
|
1152
|
+
|
1153
|
+
private
|
1154
|
+
|
1155
|
+
def example_group_number; end
|
1156
|
+
def example_number; end
|
1157
|
+
def extra_failure_content(failure); end
|
1158
|
+
def percent_done; end
|
1159
|
+
end
|
1160
|
+
|
1161
|
+
class RSpec::Core::Formatters::HtmlPrinter
|
1162
|
+
include ::ERB::Util
|
1163
|
+
|
1164
|
+
def initialize(output); end
|
1165
|
+
|
1166
|
+
def flush; end
|
1167
|
+
def make_example_group_header_red(group_id); end
|
1168
|
+
def make_example_group_header_yellow(group_id); end
|
1169
|
+
def make_header_red; end
|
1170
|
+
def make_header_yellow; end
|
1171
|
+
def move_progress(percent_done); end
|
1172
|
+
def print_example_failed(pending_fixed, description, run_time, failure_id, exception, extra_content); end
|
1173
|
+
def print_example_group_end; end
|
1174
|
+
def print_example_group_start(group_id, description, number_of_parents); end
|
1175
|
+
def print_example_passed(description, run_time); end
|
1176
|
+
def print_example_pending(description, pending_message); end
|
1177
|
+
def print_html_start; end
|
1178
|
+
def print_summary(duration, example_count, failure_count, pending_count); end
|
1179
|
+
|
1180
|
+
private
|
1181
|
+
|
1182
|
+
def indentation_style(number_of_parents); end
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
RSpec::Core::Formatters::HtmlPrinter::GLOBAL_SCRIPTS = T.let(T.unsafe(nil), String)
|
1186
|
+
RSpec::Core::Formatters::HtmlPrinter::GLOBAL_STYLES = T.let(T.unsafe(nil), String)
|
1187
|
+
RSpec::Core::Formatters::HtmlPrinter::HTML_HEADER = T.let(T.unsafe(nil), String)
|
1188
|
+
RSpec::Core::Formatters::HtmlPrinter::REPORT_HEADER = T.let(T.unsafe(nil), String)
|
1189
|
+
|
1190
|
+
class RSpec::Core::Formatters::JsonFormatter < ::RSpec::Core::Formatters::BaseFormatter
|
1191
|
+
def initialize(output); end
|
1192
|
+
|
1193
|
+
def close(_notification); end
|
1194
|
+
def dump_profile(profile); end
|
1195
|
+
def dump_profile_slowest_example_groups(profile); end
|
1196
|
+
def dump_profile_slowest_examples(profile); end
|
1197
|
+
def dump_summary(summary); end
|
1198
|
+
def message(notification); end
|
1199
|
+
def output_hash; end
|
1200
|
+
def seed(notification); end
|
1201
|
+
def stop(notification); end
|
1202
|
+
|
1203
|
+
private
|
1204
|
+
|
1205
|
+
def format_example(example); end
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
class RSpec::Core::Formatters::Loader
|
1209
|
+
def initialize(reporter); end
|
1210
|
+
|
1211
|
+
def add(formatter_to_use, *paths); end
|
1092
1212
|
def default_formatter; end
|
1093
|
-
def default_formatter=(
|
1094
|
-
def default_path; end
|
1095
|
-
def default_path=(path); end
|
1096
|
-
def default_path?; end
|
1097
|
-
def define_built_in_hooks; end
|
1098
|
-
def define_derived_metadata(*filters, &block); end
|
1099
|
-
def define_mixed_in_module(mod, filters, mod_list, config_method, &block); end
|
1100
|
-
def deprecation_stream; end
|
1101
|
-
def deprecation_stream=(value); end
|
1102
|
-
def detail_color; end
|
1103
|
-
def detail_color=(arg0); end
|
1104
|
-
def detail_color?; end
|
1105
|
-
def disable_monkey_patching!; end
|
1106
|
-
def disable_monkey_patching; end
|
1107
|
-
def disable_monkey_patching=(arg0); end
|
1108
|
-
def drb; end
|
1109
|
-
def drb=(arg0); end
|
1110
|
-
def drb?; end
|
1111
|
-
def drb_port; end
|
1112
|
-
def drb_port=(arg0); end
|
1113
|
-
def drb_port?; end
|
1114
|
-
def dry_run; end
|
1115
|
-
def dry_run=(arg0); end
|
1116
|
-
def dry_run?; end
|
1117
|
-
def error_stream; end
|
1118
|
-
def error_stream=(arg0); end
|
1119
|
-
def error_stream?; end
|
1120
|
-
def example_status_persistence_file_path; end
|
1121
|
-
def example_status_persistence_file_path=(value); end
|
1122
|
-
def exclude_pattern; end
|
1123
|
-
def exclude_pattern=(value); end
|
1124
|
-
def exclusion_filter; end
|
1125
|
-
def exclusion_filter=(filter); end
|
1126
|
-
def expect_with(*frameworks); end
|
1127
|
-
def expectation_framework=(framework); end
|
1128
|
-
def expectation_frameworks; end
|
1129
|
-
def expose_current_running_example_as(method_name); end
|
1130
|
-
def expose_dsl_globally=(value); end
|
1131
|
-
def expose_dsl_globally?; end
|
1132
|
-
def extend(mod, *filters); end
|
1133
|
-
def extract_location(path); end
|
1134
|
-
def fail_fast; end
|
1135
|
-
def fail_fast=(value); end
|
1136
|
-
def fail_if_no_examples; end
|
1137
|
-
def fail_if_no_examples=(arg0); end
|
1138
|
-
def fail_if_no_examples?; end
|
1139
|
-
def failure_color; end
|
1140
|
-
def failure_color=(arg0); end
|
1141
|
-
def failure_color?; end
|
1142
|
-
def failure_exit_code; end
|
1143
|
-
def failure_exit_code=(arg0); end
|
1144
|
-
def failure_exit_code?; end
|
1145
|
-
def file_glob_from(path, pattern); end
|
1146
|
-
def files_or_directories_to_run=(*files); end
|
1147
|
-
def files_to_run; end
|
1148
|
-
def files_to_run=(arg0); end
|
1149
|
-
def filter; end
|
1150
|
-
def filter=(filter); end
|
1151
|
-
def filter_gems_from_backtrace(*gem_names); end
|
1152
|
-
def filter_manager; end
|
1153
|
-
def filter_manager=(arg0); end
|
1154
|
-
def filter_run(*args); end
|
1155
|
-
def filter_run_excluding(*args); end
|
1156
|
-
def filter_run_including(*args); end
|
1157
|
-
def filter_run_when_matching(*args); end
|
1158
|
-
def fixed_color; end
|
1159
|
-
def fixed_color=(arg0); end
|
1160
|
-
def fixed_color?; end
|
1161
|
-
def force(hash); end
|
1162
|
-
def format_docstrings(&block); end
|
1163
|
-
def format_docstrings_block; end
|
1164
|
-
def formatter=(formatter, output = nil); end
|
1165
|
-
def formatter_loader; end
|
1213
|
+
def default_formatter=(_arg0); end
|
1166
1214
|
def formatters; end
|
1167
|
-
def
|
1168
|
-
def full_backtrace?; end
|
1169
|
-
def full_description; end
|
1170
|
-
def full_description=(description); end
|
1171
|
-
def gather_directories(path); end
|
1172
|
-
def get_files_to_run(paths); end
|
1173
|
-
def get_matching_files(path, pattern); end
|
1174
|
-
def handle_suite_hook(scope, meta); end
|
1175
|
-
def hooks; end
|
1176
|
-
def in_project_source_dir_regex; end
|
1177
|
-
def include(mod, *filters); end
|
1178
|
-
def include_context(shared_group_name, *filters); end
|
1179
|
-
def inclusion_filter; end
|
1180
|
-
def inclusion_filter=(filter); end
|
1181
|
-
def initialize; end
|
1182
|
-
def last_run_statuses; end
|
1183
|
-
def libs; end
|
1184
|
-
def libs=(libs); end
|
1185
|
-
def load_file_handling_errors(method, file); end
|
1186
|
-
def load_spec_files; end
|
1187
|
-
def loaded_spec_files; end
|
1188
|
-
def max_displayed_failure_line_count; end
|
1189
|
-
def max_displayed_failure_line_count=(arg0); end
|
1190
|
-
def max_displayed_failure_line_count?; end
|
1191
|
-
def metadata_applies_to_group?(meta, group); end
|
1192
|
-
def mock_framework; end
|
1193
|
-
def mock_framework=(framework); end
|
1194
|
-
def mock_with(framework); end
|
1195
|
-
def on_example_group_definition(&block); end
|
1196
|
-
def on_example_group_definition_callbacks; end
|
1197
|
-
def on_existing_matching_groups(meta); end
|
1198
|
-
def only_failures; end
|
1199
|
-
def only_failures?; end
|
1200
|
-
def only_failures_but_not_configured?; end
|
1201
|
-
def order=(*args, &block); end
|
1202
|
-
def ordering_manager; end
|
1203
|
-
def ordering_registry(*args, &block); end
|
1204
|
-
def output_stream; end
|
1205
|
-
def output_stream=(value); end
|
1206
|
-
def output_to_tty?(output = nil); end
|
1207
|
-
def output_wrapper; end
|
1208
|
-
def paths_to_check(paths); end
|
1209
|
-
def pattern; end
|
1210
|
-
def pattern=(value); end
|
1211
|
-
def pattern_might_load_specs_from_vendored_dirs?; end
|
1212
|
-
def pending_color; end
|
1213
|
-
def pending_color=(arg0); end
|
1214
|
-
def pending_color?; end
|
1215
|
-
def prepend(mod, *filters); end
|
1216
|
-
def prepend_after(scope = nil, *meta, &block); end
|
1217
|
-
def prepend_before(scope = nil, *meta, &block); end
|
1218
|
-
def profile_examples; end
|
1219
|
-
def profile_examples=(arg0); end
|
1220
|
-
def profile_examples?; end
|
1221
|
-
def project_source_dirs; end
|
1222
|
-
def project_source_dirs=(arg0); end
|
1223
|
-
def project_source_dirs?; end
|
1224
|
-
def raise_errors_for_deprecations!; end
|
1225
|
-
def raise_on_warning=(value); end
|
1226
|
-
def register_ordering(*args, &block); end
|
1215
|
+
def prepare_default(output_stream, deprecation_stream); end
|
1227
1216
|
def reporter; end
|
1228
|
-
def
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
def
|
1233
|
-
def
|
1234
|
-
def
|
1235
|
-
def
|
1236
|
-
def
|
1237
|
-
def
|
1238
|
-
def
|
1239
|
-
def
|
1240
|
-
def
|
1241
|
-
def
|
1242
|
-
def
|
1243
|
-
def
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1248
|
-
def self.define_predicate_for(*names); end
|
1249
|
-
def self.define_reader(name); end
|
1250
|
-
def self.delegate_to_ordering_manager(*methods); end
|
1251
|
-
def shared_context_metadata_behavior; end
|
1252
|
-
def shared_context_metadata_behavior=(value); end
|
1253
|
-
def silence_filter_announcements; end
|
1254
|
-
def silence_filter_announcements=(arg0); end
|
1255
|
-
def silence_filter_announcements?; end
|
1256
|
-
def spec_files_with_failures; end
|
1257
|
-
def start_time; end
|
1258
|
-
def start_time=(arg0); end
|
1259
|
-
def start_time?; end
|
1260
|
-
def static_config_filter_manager; end
|
1261
|
-
def static_config_filter_manager=(arg0); end
|
1262
|
-
def success_color; end
|
1263
|
-
def success_color=(arg0); end
|
1264
|
-
def success_color?; end
|
1265
|
-
def threadsafe; end
|
1266
|
-
def threadsafe=(arg0); end
|
1267
|
-
def threadsafe?; end
|
1268
|
-
def treat_symbols_as_metadata_keys_with_true_values=(_value); end
|
1269
|
-
def tty; end
|
1270
|
-
def tty=(arg0); end
|
1271
|
-
def tty?; end
|
1272
|
-
def update_pattern_attr(name, value); end
|
1273
|
-
def value_for(key); end
|
1274
|
-
def warnings=(value); end
|
1275
|
-
def warnings?; end
|
1276
|
-
def when_first_matching_example_defined(*filters); end
|
1277
|
-
def with_suite_hooks; end
|
1278
|
-
def world; end
|
1279
|
-
def world=(arg0); end
|
1280
|
-
include RSpec::Core::Configuration::Readers
|
1281
|
-
include RSpec::Core::Hooks
|
1217
|
+
def setup_default(output_stream, deprecation_stream); end
|
1218
|
+
|
1219
|
+
private
|
1220
|
+
|
1221
|
+
def built_in_formatter(key); end
|
1222
|
+
def custom_formatter(formatter_ref); end
|
1223
|
+
def duplicate_formatter_exists?(new_formatter); end
|
1224
|
+
def existing_formatter_implements?(notification); end
|
1225
|
+
def find_formatter(formatter_to_use); end
|
1226
|
+
def notifications_for(formatter_class); end
|
1227
|
+
def open_stream(path_or_wrapper); end
|
1228
|
+
def path_for(const_ref); end
|
1229
|
+
def register(formatter, notifications); end
|
1230
|
+
def string_const?(str); end
|
1231
|
+
def underscore(camel_cased_word); end
|
1232
|
+
def underscore_with_fix_for_non_standard_rspec_naming(string); end
|
1233
|
+
|
1234
|
+
class << self
|
1235
|
+
def formatters; end
|
1236
|
+
end
|
1282
1237
|
end
|
1283
|
-
|
1284
|
-
|
1285
|
-
def
|
1286
|
-
|
1287
|
-
def
|
1288
|
-
def
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
def
|
1293
|
-
def
|
1294
|
-
def
|
1295
|
-
def
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
def
|
1300
|
-
def
|
1301
|
-
def
|
1302
|
-
def
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1306
|
-
def
|
1307
|
-
|
1308
|
-
def
|
1309
|
-
def
|
1310
|
-
def
|
1311
|
-
def
|
1312
|
-
|
1313
|
-
|
1314
|
-
|
1238
|
+
|
1239
|
+
class RSpec::Core::Formatters::ProfileFormatter
|
1240
|
+
def initialize(output); end
|
1241
|
+
|
1242
|
+
def dump_profile(profile); end
|
1243
|
+
def output; end
|
1244
|
+
|
1245
|
+
private
|
1246
|
+
|
1247
|
+
def bold(text); end
|
1248
|
+
def dump_profile_slowest_example_groups(profile); end
|
1249
|
+
def dump_profile_slowest_examples(profile); end
|
1250
|
+
def format_caller(caller_info); end
|
1251
|
+
end
|
1252
|
+
|
1253
|
+
class RSpec::Core::Formatters::ProgressFormatter < ::RSpec::Core::Formatters::BaseTextFormatter
|
1254
|
+
def example_failed(_notification); end
|
1255
|
+
def example_passed(_notification); end
|
1256
|
+
def example_pending(_notification); end
|
1257
|
+
def start_dump(_notification); end
|
1258
|
+
end
|
1259
|
+
|
1260
|
+
class RSpec::Core::Formatters::SnippetExtractor
|
1261
|
+
def initialize(source, beginning_line_number, max_line_count = T.unsafe(nil)); end
|
1262
|
+
|
1263
|
+
def beginning_line_number; end
|
1264
|
+
def expression_lines; end
|
1265
|
+
def max_line_count; end
|
1266
|
+
def source; end
|
1267
|
+
|
1268
|
+
private
|
1269
|
+
|
1270
|
+
def expression_node; end
|
1271
|
+
def expression_outmost_node?(node); end
|
1272
|
+
def line_range_of_expression; end
|
1273
|
+
def line_range_of_location_nodes_in_expression; end
|
1274
|
+
def location_nodes_at_beginning_line; end
|
1275
|
+
def unclosed_tokens_in_line_range(line_range); end
|
1276
|
+
|
1277
|
+
class << self
|
1278
|
+
def extract_expression_lines_at(file_path, beginning_line_number, max_line_count = T.unsafe(nil)); end
|
1279
|
+
def extract_line_at(file_path, line_number); end
|
1280
|
+
def least_indentation_from(lines); end
|
1281
|
+
def source_from_file(path); end
|
1282
|
+
end
|
1283
|
+
end
|
1284
|
+
|
1285
|
+
class RSpec::Core::Formatters::SnippetExtractor::NoExpressionAtLineError < ::StandardError; end
|
1286
|
+
class RSpec::Core::Formatters::SnippetExtractor::NoSuchFileError < ::StandardError; end
|
1287
|
+
class RSpec::Core::Formatters::SnippetExtractor::NoSuchLineError < ::StandardError; end
|
1288
|
+
|
1289
|
+
class RSpec::Core::Formatters::SyntaxHighlighter
|
1290
|
+
def initialize(configuration); end
|
1291
|
+
|
1292
|
+
def highlight(lines); end
|
1293
|
+
|
1294
|
+
private
|
1295
|
+
|
1296
|
+
def color_enabled_implementation; end
|
1297
|
+
def implementation; end
|
1298
|
+
|
1299
|
+
class << self
|
1300
|
+
def attempt_to_add_rspec_terms_to_coderay_keywords; end
|
1301
|
+
end
|
1302
|
+
end
|
1303
|
+
|
1304
|
+
module RSpec::Core::Formatters::SyntaxHighlighter::CodeRayImplementation
|
1305
|
+
class << self
|
1306
|
+
def highlight_syntax(lines); end
|
1307
|
+
end
|
1308
|
+
end
|
1309
|
+
|
1310
|
+
RSpec::Core::Formatters::SyntaxHighlighter::CodeRayImplementation::RESET_CODE = T.let(T.unsafe(nil), String)
|
1311
|
+
|
1312
|
+
module RSpec::Core::Formatters::SyntaxHighlighter::NoSyntaxHighlightingImplementation
|
1313
|
+
class << self
|
1314
|
+
def highlight_syntax(lines); end
|
1315
|
+
end
|
1316
|
+
end
|
1317
|
+
|
1318
|
+
RSpec::Core::Formatters::SyntaxHighlighter::WindowsImplementation = RSpec::Core::Formatters::SyntaxHighlighter::NoSyntaxHighlightingImplementation
|
1319
|
+
|
1320
|
+
module RSpec::Core::HashImitatable
|
1321
|
+
mixes_in_class_methods ::RSpec::Core::HashImitatable::ClassMethods
|
1322
|
+
|
1323
|
+
def <(*args, &block); end
|
1324
|
+
def <=(*args, &block); end
|
1325
|
+
def >(*args, &block); end
|
1326
|
+
def >=(*args, &block); end
|
1327
|
+
def [](key); end
|
1328
|
+
def []=(key, value); end
|
1329
|
+
def all?(*args, &block); end
|
1330
|
+
def any?(*args, &block); end
|
1331
|
+
def assoc(*args, &block); end
|
1332
|
+
def chain(*args, &block); end
|
1333
|
+
def chunk(*args, &block); end
|
1334
|
+
def chunk_while(*args, &block); end
|
1335
|
+
def clear(*args, &block); end
|
1336
|
+
def collect(*args, &block); end
|
1337
|
+
def collect_concat(*args, &block); end
|
1338
|
+
def compact(*args, &block); end
|
1339
|
+
def compact!(*args, &block); end
|
1340
|
+
def compare_by_identity(*args, &block); end
|
1341
|
+
def compare_by_identity?(*args, &block); end
|
1342
|
+
def count(*args, &block); end
|
1343
|
+
def cycle(*args, &block); end
|
1344
|
+
def deconstruct_keys(*args, &block); end
|
1345
|
+
def default(*args, &block); end
|
1346
|
+
def default=(*args, &block); end
|
1347
|
+
def default_proc(*args, &block); end
|
1348
|
+
def default_proc=(*args, &block); end
|
1349
|
+
def delete(*args, &block); end
|
1350
|
+
def delete_if(*args, &block); end
|
1351
|
+
def detect(*args, &block); end
|
1352
|
+
def dig(*args, &block); end
|
1353
|
+
def drop(*args, &block); end
|
1354
|
+
def drop_while(*args, &block); end
|
1355
|
+
def each(*args, &block); end
|
1356
|
+
def each_cons(*args, &block); end
|
1357
|
+
def each_entry(*args, &block); end
|
1358
|
+
def each_key(*args, &block); end
|
1359
|
+
def each_pair(*args, &block); end
|
1360
|
+
def each_slice(*args, &block); end
|
1361
|
+
def each_value(*args, &block); end
|
1362
|
+
def each_with_index(*args, &block); end
|
1363
|
+
def each_with_object(*args, &block); end
|
1364
|
+
def empty?(*args, &block); end
|
1365
|
+
def entries(*args, &block); end
|
1366
|
+
def fetch(*args, &block); end
|
1367
|
+
def fetch_values(*args, &block); end
|
1368
|
+
def filter(*args, &block); end
|
1369
|
+
def filter!(*args, &block); end
|
1370
|
+
def filter_map(*args, &block); end
|
1371
|
+
def find(*args, &block); end
|
1372
|
+
def find_all(*args, &block); end
|
1373
|
+
def find_index(*args, &block); end
|
1374
|
+
def first(*args, &block); end
|
1375
|
+
def flat_map(*args, &block); end
|
1376
|
+
def flatten(*args, &block); end
|
1377
|
+
def grep(*args, &block); end
|
1378
|
+
def grep_v(*args, &block); end
|
1379
|
+
def group_by(*args, &block); end
|
1380
|
+
def has_key?(*args, &block); end
|
1381
|
+
def has_value?(*args, &block); end
|
1382
|
+
def include?(*args, &block); end
|
1383
|
+
def index(*args, &block); end
|
1384
|
+
def inject(*args, &block); end
|
1385
|
+
def invert(*args, &block); end
|
1386
|
+
def keep_if(*args, &block); end
|
1387
|
+
def key(*args, &block); end
|
1388
|
+
def key?(*args, &block); end
|
1389
|
+
def keys(*args, &block); end
|
1390
|
+
def lazy(*args, &block); end
|
1391
|
+
def length(*args, &block); end
|
1392
|
+
def map(*args, &block); end
|
1393
|
+
def max(*args, &block); end
|
1394
|
+
def max_by(*args, &block); end
|
1395
|
+
def member?(*args, &block); end
|
1396
|
+
def merge(*args, &block); end
|
1397
|
+
def merge!(*args, &block); end
|
1398
|
+
def min(*args, &block); end
|
1399
|
+
def min_by(*args, &block); end
|
1400
|
+
def minmax(*args, &block); end
|
1401
|
+
def minmax_by(*args, &block); end
|
1402
|
+
def none?(*args, &block); end
|
1403
|
+
def one?(*args, &block); end
|
1404
|
+
def partition(*args, &block); end
|
1405
|
+
def rassoc(*args, &block); end
|
1406
|
+
def reduce(*args, &block); end
|
1407
|
+
def rehash(*args, &block); end
|
1408
|
+
def reject(*args, &block); end
|
1409
|
+
def reject!(*args, &block); end
|
1410
|
+
def replace(*args, &block); end
|
1411
|
+
def reverse_each(*args, &block); end
|
1412
|
+
def select(*args, &block); end
|
1413
|
+
def select!(*args, &block); end
|
1414
|
+
def shift(*args, &block); end
|
1415
|
+
def size(*args, &block); end
|
1416
|
+
def slice(*args, &block); end
|
1417
|
+
def slice_after(*args, &block); end
|
1418
|
+
def slice_before(*args, &block); end
|
1419
|
+
def slice_when(*args, &block); end
|
1420
|
+
def sort(*args, &block); end
|
1421
|
+
def sort_by(*args, &block); end
|
1422
|
+
def store(*args, &block); end
|
1423
|
+
def sum(*args, &block); end
|
1424
|
+
def take(*args, &block); end
|
1425
|
+
def take_while(*args, &block); end
|
1426
|
+
def tally(*args, &block); end
|
1427
|
+
def to_a(*args, &block); end
|
1428
|
+
def to_h; end
|
1429
|
+
def to_hash(*args, &block); end
|
1430
|
+
def to_proc(*args, &block); end
|
1431
|
+
def to_set(*args, &block); end
|
1432
|
+
def transform_keys(*args, &block); end
|
1433
|
+
def transform_keys!(*args, &block); end
|
1434
|
+
def transform_values(*args, &block); end
|
1435
|
+
def transform_values!(*args, &block); end
|
1436
|
+
def uniq(*args, &block); end
|
1437
|
+
def update(*args, &block); end
|
1438
|
+
def value?(*args, &block); end
|
1439
|
+
def values(*args, &block); end
|
1440
|
+
def values_at(*args, &block); end
|
1441
|
+
def zip(*args, &block); end
|
1442
|
+
|
1443
|
+
private
|
1444
|
+
|
1445
|
+
def directly_supports_attribute?(name); end
|
1446
|
+
def extra_hash_attributes; end
|
1447
|
+
def get_value(name); end
|
1448
|
+
def hash_for_delegation; end
|
1449
|
+
def issue_deprecation(_method_name, *_args); end
|
1450
|
+
def set_value(name, value); end
|
1451
|
+
|
1452
|
+
class << self
|
1453
|
+
def included(klass); end
|
1454
|
+
end
|
1315
1455
|
end
|
1316
|
-
|
1456
|
+
|
1457
|
+
module RSpec::Core::HashImitatable::ClassMethods
|
1458
|
+
def attr_accessor(*names); end
|
1459
|
+
def hash_attribute_names; end
|
1317
1460
|
end
|
1318
|
-
|
1319
|
-
|
1320
|
-
def
|
1321
|
-
def
|
1461
|
+
|
1462
|
+
module RSpec::Core::Hooks
|
1463
|
+
def after(*args, &block); end
|
1464
|
+
def append_after(*args, &block); end
|
1465
|
+
def append_before(*args, &block); end
|
1466
|
+
def around(*args, &block); end
|
1467
|
+
def before(*args, &block); end
|
1468
|
+
def hooks; end
|
1469
|
+
def prepend_after(*args, &block); end
|
1470
|
+
def prepend_before(*args, &block); end
|
1322
1471
|
end
|
1323
|
-
|
1472
|
+
|
1473
|
+
class RSpec::Core::Hooks::AfterContextHook < ::RSpec::Core::Hooks::Hook
|
1474
|
+
def run(example); end
|
1324
1475
|
end
|
1325
|
-
|
1326
|
-
|
1327
|
-
def
|
1328
|
-
def initialize(original_args); end
|
1329
|
-
def original_args; end
|
1330
|
-
def parse(source = nil); end
|
1331
|
-
def parser(options); end
|
1332
|
-
def self.parse(args, source = nil); end
|
1333
|
-
def set_fail_fast(options, value); end
|
1476
|
+
|
1477
|
+
class RSpec::Core::Hooks::AfterHook < ::RSpec::Core::Hooks::Hook
|
1478
|
+
def run(example); end
|
1334
1479
|
end
|
1335
|
-
|
1336
|
-
|
1337
|
-
def
|
1338
|
-
def
|
1339
|
-
def configure(config); end
|
1340
|
-
def configure_filter_manager(filter_manager); end
|
1341
|
-
def custom_options; end
|
1342
|
-
def custom_options_file; end
|
1343
|
-
def env_options; end
|
1344
|
-
def file_options; end
|
1345
|
-
def force?(key); end
|
1346
|
-
def global_options; end
|
1347
|
-
def global_options_file; end
|
1348
|
-
def home_options_file_path; end
|
1349
|
-
def initialize(args); end
|
1350
|
-
def load_formatters_into(config); end
|
1351
|
-
def local_options; end
|
1352
|
-
def local_options_file; end
|
1353
|
-
def options; end
|
1354
|
-
def options_file_as_erb_string(path); end
|
1355
|
-
def options_from(path); end
|
1356
|
-
def order(keys); end
|
1357
|
-
def organize_options; end
|
1358
|
-
def parse_args_ignoring_files_or_dirs_to_run(args, source); end
|
1359
|
-
def process_options_into(config); end
|
1360
|
-
def project_options; end
|
1361
|
-
def project_options_file; end
|
1362
|
-
def resolve_xdg_config_home; end
|
1363
|
-
def xdg_options_file_if_exists; end
|
1364
|
-
def xdg_options_file_path; end
|
1480
|
+
|
1481
|
+
class RSpec::Core::Hooks::AroundHook < ::RSpec::Core::Hooks::Hook
|
1482
|
+
def execute_with(example, procsy); end
|
1483
|
+
def hook_description; end
|
1365
1484
|
end
|
1366
|
-
|
1367
|
-
|
1368
|
-
def
|
1369
|
-
|
1485
|
+
|
1486
|
+
class RSpec::Core::Hooks::BeforeHook < ::RSpec::Core::Hooks::Hook
|
1487
|
+
def run(example); end
|
1488
|
+
end
|
1489
|
+
|
1490
|
+
class RSpec::Core::Hooks::Hook < ::Struct
|
1491
|
+
def block; end
|
1492
|
+
def block=(_); end
|
1370
1493
|
def options; end
|
1371
|
-
def
|
1372
|
-
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
def
|
1383
|
-
|
1384
|
-
def
|
1385
|
-
def
|
1494
|
+
def options=(_); end
|
1495
|
+
|
1496
|
+
class << self
|
1497
|
+
def [](*_arg0); end
|
1498
|
+
def inspect; end
|
1499
|
+
def members; end
|
1500
|
+
def new(*_arg0); end
|
1501
|
+
end
|
1502
|
+
end
|
1503
|
+
|
1504
|
+
class RSpec::Core::Hooks::HookCollections
|
1505
|
+
def initialize(owner, filterable_item_repo_class); end
|
1506
|
+
|
1507
|
+
def register(prepend_or_append, position, *args, &block); end
|
1508
|
+
def register_global_singleton_context_hooks(example, globals); end
|
1509
|
+
def register_globals(host, globals); end
|
1510
|
+
def run(position, scope, example_or_group); end
|
1511
|
+
|
1512
|
+
protected
|
1513
|
+
|
1514
|
+
def all_hooks_for(position, scope); end
|
1515
|
+
def matching_hooks_for(position, scope, example_or_group); end
|
1516
|
+
def processable_hooks_for(position, scope, host); end
|
1517
|
+
def run_owned_hooks_for(position, scope, example_or_group); end
|
1518
|
+
|
1519
|
+
private
|
1520
|
+
|
1521
|
+
def ensure_hooks_initialized_for(position, scope); end
|
1522
|
+
def extract_scope_from(args); end
|
1523
|
+
def hooks_for(position, scope); end
|
1524
|
+
def known_scope?(scope); end
|
1525
|
+
def normalized_scope_for(scope); end
|
1526
|
+
def owner_parent_groups; end
|
1527
|
+
def process(host, parent_groups, globals, position, scope); end
|
1528
|
+
def run_around_example_hooks_for(example); end
|
1529
|
+
def run_example_hooks_for(example, position, each_method); end
|
1530
|
+
def scope_and_options_from(*args); end
|
1531
|
+
end
|
1532
|
+
|
1533
|
+
RSpec::Core::Hooks::HookCollections::EMPTY_HOOK_ARRAY = T.let(T.unsafe(nil), Array)
|
1534
|
+
RSpec::Core::Hooks::HookCollections::HOOK_TYPES = T.let(T.unsafe(nil), Hash)
|
1535
|
+
RSpec::Core::Hooks::HookCollections::SCOPES = T.let(T.unsafe(nil), Array)
|
1536
|
+
RSpec::Core::Hooks::HookCollections::SCOPE_ALIASES = T.let(T.unsafe(nil), Hash)
|
1537
|
+
|
1538
|
+
class RSpec::Core::InclusionRules < ::RSpec::Core::FilterRules
|
1539
|
+
def add(*args); end
|
1540
|
+
def add_with_low_priority(*args); end
|
1541
|
+
def include_example?(example); end
|
1542
|
+
def split_file_scoped_rules; end
|
1543
|
+
def standalone?; end
|
1544
|
+
|
1545
|
+
private
|
1546
|
+
|
1547
|
+
def apply_standalone_filter(updated); end
|
1548
|
+
def is_standalone_filter?(rules); end
|
1549
|
+
def replace_filters(new_rules); end
|
1550
|
+
end
|
1551
|
+
|
1552
|
+
module RSpec::Core::Invocations; end
|
1553
|
+
|
1554
|
+
class RSpec::Core::Invocations::Bisect
|
1555
|
+
def call(options, err, out); end
|
1556
|
+
|
1557
|
+
private
|
1558
|
+
|
1559
|
+
def bisect_formatter_klass_for(argument); end
|
1386
1560
|
end
|
1387
|
-
|
1561
|
+
|
1562
|
+
class RSpec::Core::Invocations::DRbWithFallback
|
1563
|
+
def call(options, err, out); end
|
1388
1564
|
end
|
1565
|
+
|
1389
1566
|
class RSpec::Core::Invocations::InitializeProject
|
1390
1567
|
def call(*_args); end
|
1391
1568
|
end
|
1392
|
-
|
1393
|
-
|
1569
|
+
|
1570
|
+
class RSpec::Core::Invocations::PrintHelp < ::Struct
|
1571
|
+
def call(_options, _err, out); end
|
1572
|
+
def hidden_options; end
|
1573
|
+
def hidden_options=(_); end
|
1574
|
+
def parser; end
|
1575
|
+
def parser=(_); end
|
1576
|
+
|
1577
|
+
class << self
|
1578
|
+
def [](*_arg0); end
|
1579
|
+
def inspect; end
|
1580
|
+
def members; end
|
1581
|
+
def new(*_arg0); end
|
1582
|
+
end
|
1583
|
+
end
|
1584
|
+
|
1585
|
+
class RSpec::Core::Invocations::PrintVersion
|
1586
|
+
def call(_options, _err, out); end
|
1587
|
+
end
|
1588
|
+
|
1589
|
+
class RSpec::Core::LegacyExampleGroupHash
|
1590
|
+
include ::RSpec::Core::HashImitatable
|
1591
|
+
extend ::RSpec::Core::HashImitatable::ClassMethods
|
1592
|
+
|
1593
|
+
def initialize(metadata); end
|
1594
|
+
|
1595
|
+
def to_h; end
|
1596
|
+
|
1597
|
+
private
|
1598
|
+
|
1599
|
+
def directly_supports_attribute?(name); end
|
1600
|
+
def get_value(name); end
|
1601
|
+
def set_value(name, value); end
|
1602
|
+
end
|
1603
|
+
|
1604
|
+
module RSpec::Core::MemoizedHelpers
|
1605
|
+
def initialize(*_arg0); end
|
1606
|
+
|
1607
|
+
def is_expected; end
|
1608
|
+
def should(matcher = T.unsafe(nil), message = T.unsafe(nil)); end
|
1609
|
+
def should_not(matcher = T.unsafe(nil), message = T.unsafe(nil)); end
|
1610
|
+
def subject; end
|
1611
|
+
|
1612
|
+
private
|
1613
|
+
|
1614
|
+
def __init_memoized; end
|
1615
|
+
def __memoized; end
|
1616
|
+
|
1617
|
+
class << self
|
1618
|
+
def define_helpers_on(example_group); end
|
1619
|
+
def get_constant_or_yield(example_group, name); end
|
1620
|
+
def module_for(example_group); end
|
1621
|
+
end
|
1622
|
+
end
|
1623
|
+
|
1624
|
+
module RSpec::Core::MemoizedHelpers::ClassMethods
|
1625
|
+
def let(name, &block); end
|
1626
|
+
def let!(name, &block); end
|
1627
|
+
def subject(name = T.unsafe(nil), &block); end
|
1628
|
+
def subject!(name = T.unsafe(nil), &block); end
|
1629
|
+
end
|
1630
|
+
|
1631
|
+
class RSpec::Core::MemoizedHelpers::ContextHookMemoized
|
1632
|
+
class << self
|
1633
|
+
def fetch_or_store(key, &_block); end
|
1634
|
+
def isolate_for_context_hook(example_group_instance); end
|
1635
|
+
end
|
1636
|
+
end
|
1637
|
+
|
1638
|
+
class RSpec::Core::MemoizedHelpers::ContextHookMemoized::After < ::RSpec::Core::MemoizedHelpers::ContextHookMemoized
|
1639
|
+
class << self
|
1640
|
+
def article; end
|
1641
|
+
def hook_expression; end
|
1642
|
+
def hook_intention; end
|
1643
|
+
end
|
1644
|
+
end
|
1645
|
+
|
1646
|
+
class RSpec::Core::MemoizedHelpers::ContextHookMemoized::Before < ::RSpec::Core::MemoizedHelpers::ContextHookMemoized
|
1647
|
+
class << self
|
1648
|
+
def article; end
|
1649
|
+
def hook_expression; end
|
1650
|
+
def hook_intention; end
|
1651
|
+
end
|
1652
|
+
end
|
1653
|
+
|
1654
|
+
class RSpec::Core::MemoizedHelpers::NonThreadSafeMemoized
|
1655
|
+
def initialize; end
|
1656
|
+
|
1657
|
+
def fetch_or_store(key); end
|
1658
|
+
end
|
1659
|
+
|
1660
|
+
class RSpec::Core::MemoizedHelpers::ThreadsafeMemoized
|
1661
|
+
def initialize; end
|
1662
|
+
|
1663
|
+
def fetch_or_store(key); end
|
1664
|
+
end
|
1665
|
+
|
1666
|
+
module RSpec::Core::Metadata
|
1667
|
+
class << self
|
1668
|
+
def ascend(metadata); end
|
1669
|
+
def ascending(metadata); end
|
1670
|
+
def build_hash_from(args, warn_about_example_group_filtering = T.unsafe(nil)); end
|
1671
|
+
def deep_hash_dup(object); end
|
1672
|
+
def id_from(metadata); end
|
1673
|
+
def location_tuple_from(metadata); end
|
1674
|
+
def relative_path(line); end
|
1675
|
+
def relative_path_regex; end
|
1676
|
+
end
|
1677
|
+
end
|
1678
|
+
|
1679
|
+
class RSpec::Core::Metadata::ExampleGroupHash < ::RSpec::Core::Metadata::HashPopulator
|
1680
|
+
private
|
1681
|
+
|
1682
|
+
def described_class; end
|
1683
|
+
def full_description; end
|
1684
|
+
|
1685
|
+
class << self
|
1686
|
+
def backwards_compatibility_default_proc(&example_group_selector); end
|
1687
|
+
def create(parent_group_metadata, user_metadata, example_group_index, *args, &block); end
|
1688
|
+
def hash_with_backwards_compatibility_default_proc; end
|
1689
|
+
end
|
1690
|
+
end
|
1691
|
+
|
1692
|
+
class RSpec::Core::Metadata::ExampleHash < ::RSpec::Core::Metadata::HashPopulator
|
1693
|
+
private
|
1694
|
+
|
1695
|
+
def described_class; end
|
1696
|
+
def full_description; end
|
1697
|
+
|
1698
|
+
class << self
|
1699
|
+
def create(group_metadata, user_metadata, index_provider, description, block); end
|
1700
|
+
end
|
1701
|
+
end
|
1702
|
+
|
1703
|
+
class RSpec::Core::Metadata::HashPopulator
|
1704
|
+
def initialize(metadata, user_metadata, index_provider, description_args, block); end
|
1705
|
+
|
1706
|
+
def block; end
|
1707
|
+
def description_args; end
|
1708
|
+
def metadata; end
|
1709
|
+
def populate; end
|
1710
|
+
def user_metadata; end
|
1711
|
+
|
1712
|
+
private
|
1713
|
+
|
1714
|
+
def build_description_from(parent_description = T.unsafe(nil), my_description = T.unsafe(nil)); end
|
1715
|
+
def build_scoped_id_for(file_path); end
|
1716
|
+
def description_separator(parent_part, child_part); end
|
1717
|
+
def ensure_valid_user_keys; end
|
1718
|
+
def file_path_and_line_number_from(backtrace); end
|
1719
|
+
def populate_location_attributes; end
|
1720
|
+
end
|
1721
|
+
|
1722
|
+
RSpec::Core::Metadata::RESERVED_KEYS = T.let(T.unsafe(nil), Array)
|
1723
|
+
|
1724
|
+
module RSpec::Core::MetadataFilter
|
1725
|
+
class << self
|
1726
|
+
def apply?(predicate, filters, metadata); end
|
1727
|
+
def filter_applies?(key, filter_value, metadata); end
|
1728
|
+
def silence_metadata_example_group_deprecations; end
|
1729
|
+
|
1730
|
+
private
|
1731
|
+
|
1732
|
+
def filter_applies_to_any_value?(key, value, metadata); end
|
1733
|
+
def filters_apply?(key, value, metadata); end
|
1734
|
+
def id_filter_applies?(rerun_paths_to_scoped_ids, metadata); end
|
1735
|
+
def location_filter_applies?(locations, metadata); end
|
1736
|
+
def proc_filter_applies?(key, proc, metadata); end
|
1737
|
+
end
|
1738
|
+
end
|
1739
|
+
|
1740
|
+
class RSpec::Core::MultipleExceptionError < ::StandardError
|
1741
|
+
include ::RSpec::Core::MultipleExceptionError::InterfaceTag
|
1742
|
+
|
1743
|
+
def initialize(*exceptions); end
|
1744
|
+
|
1745
|
+
def aggregation_block_label; end
|
1746
|
+
def aggregation_metadata; end
|
1747
|
+
def all_exceptions; end
|
1748
|
+
def exception_count_description; end
|
1749
|
+
def failures; end
|
1750
|
+
def message; end
|
1751
|
+
def other_errors; end
|
1752
|
+
def summary; end
|
1753
|
+
end
|
1754
|
+
|
1755
|
+
module RSpec::Core::MultipleExceptionError::InterfaceTag
|
1756
|
+
def add(exception); end
|
1757
|
+
|
1758
|
+
class << self
|
1759
|
+
def for(ex); end
|
1760
|
+
end
|
1761
|
+
end
|
1762
|
+
|
1763
|
+
module RSpec::Core::Notifications; end
|
1764
|
+
|
1765
|
+
class RSpec::Core::Notifications::CustomNotification < ::Struct
|
1766
|
+
class << self
|
1767
|
+
def for(options = T.unsafe(nil)); end
|
1768
|
+
end
|
1394
1769
|
end
|
1395
|
-
|
1396
|
-
|
1397
|
-
def
|
1770
|
+
|
1771
|
+
class RSpec::Core::Notifications::DeprecationNotification < ::Struct
|
1772
|
+
def call_site; end
|
1773
|
+
def call_site=(_); end
|
1774
|
+
def deprecated; end
|
1775
|
+
def deprecated=(_); end
|
1776
|
+
def message; end
|
1777
|
+
def message=(_); end
|
1778
|
+
def replacement; end
|
1779
|
+
def replacement=(_); end
|
1780
|
+
|
1781
|
+
class << self
|
1782
|
+
def [](*_arg0); end
|
1783
|
+
def from_hash(data); end
|
1784
|
+
def inspect; end
|
1785
|
+
def members; end
|
1786
|
+
|
1787
|
+
private
|
1788
|
+
|
1789
|
+
def new(*_arg0); end
|
1790
|
+
end
|
1398
1791
|
end
|
1399
|
-
|
1400
|
-
|
1792
|
+
|
1793
|
+
class RSpec::Core::Notifications::ExampleNotification < ::Struct
|
1794
|
+
def example; end
|
1795
|
+
def example=(_); end
|
1796
|
+
|
1797
|
+
class << self
|
1798
|
+
def [](*_arg0); end
|
1799
|
+
def for(example); end
|
1800
|
+
def inspect; end
|
1801
|
+
def members; end
|
1802
|
+
|
1803
|
+
private
|
1804
|
+
|
1805
|
+
def new(*_arg0); end
|
1806
|
+
end
|
1401
1807
|
end
|
1402
|
-
|
1403
|
-
|
1404
|
-
def
|
1405
|
-
|
1406
|
-
def
|
1407
|
-
def
|
1408
|
-
def
|
1409
|
-
def
|
1410
|
-
def
|
1411
|
-
def
|
1808
|
+
|
1809
|
+
class RSpec::Core::Notifications::ExamplesNotification
|
1810
|
+
def initialize(reporter); end
|
1811
|
+
|
1812
|
+
def examples; end
|
1813
|
+
def failed_examples; end
|
1814
|
+
def failure_notifications; end
|
1815
|
+
def fully_formatted_failed_examples(colorizer = T.unsafe(nil)); end
|
1816
|
+
def fully_formatted_pending_examples(colorizer = T.unsafe(nil)); end
|
1817
|
+
def notifications; end
|
1818
|
+
def pending_examples; end
|
1819
|
+
def pending_notifications; end
|
1820
|
+
|
1821
|
+
private
|
1822
|
+
|
1823
|
+
def format_examples(examples); end
|
1412
1824
|
end
|
1413
|
-
|
1414
|
-
|
1415
|
-
def
|
1416
|
-
|
1825
|
+
|
1826
|
+
class RSpec::Core::Notifications::FailedExampleNotification < ::RSpec::Core::Notifications::ExampleNotification
|
1827
|
+
def initialize(example, exception_presenter = T.unsafe(nil)); end
|
1828
|
+
|
1829
|
+
def colorized_formatted_backtrace(colorizer = T.unsafe(nil)); end
|
1830
|
+
def colorized_message_lines(colorizer = T.unsafe(nil)); end
|
1417
1831
|
def description; end
|
1418
|
-
def display_exception; end
|
1419
|
-
def display_exception=(ex); end
|
1420
|
-
def duplicate_with(metadata_overrides = nil); end
|
1421
|
-
def example_group; end
|
1422
|
-
def example_group_instance; end
|
1423
1832
|
def exception; end
|
1424
|
-
def
|
1425
|
-
def
|
1426
|
-
def
|
1427
|
-
def
|
1428
|
-
def full_description; end
|
1429
|
-
def generate_description; end
|
1430
|
-
def hooks; end
|
1431
|
-
def id; end
|
1432
|
-
def initialize(example_group_class, description, user_metadata, example_block = nil); end
|
1433
|
-
def inspect; end
|
1434
|
-
def inspect_output; end
|
1435
|
-
def instance_exec(*args, &block); end
|
1436
|
-
def location; end
|
1437
|
-
def location_description; end
|
1438
|
-
def location_rerun_argument; end
|
1439
|
-
def metadata; end
|
1440
|
-
def mocks_need_verification?; end
|
1441
|
-
def pending; end
|
1442
|
-
def pending?; end
|
1443
|
-
def record_finished(status, reporter); end
|
1444
|
-
def reporter; end
|
1445
|
-
def rerun_argument; end
|
1446
|
-
def run(example_group_instance, reporter); end
|
1447
|
-
def run_after_example; end
|
1448
|
-
def run_before_example; end
|
1449
|
-
def self.delegate_to_metadata(key); end
|
1450
|
-
def self.parse_id(id); end
|
1451
|
-
def set_aggregate_failures_exception(exception); end
|
1452
|
-
def set_exception(exception); end
|
1453
|
-
def skip; end
|
1454
|
-
def skip_with_exception(reporter, exception); end
|
1455
|
-
def skipped?; end
|
1456
|
-
def start(reporter); end
|
1457
|
-
def to_s; end
|
1458
|
-
def update_inherited_metadata(updates); end
|
1459
|
-
def verify_mocks; end
|
1460
|
-
def with_around_and_singleton_context_hooks; end
|
1461
|
-
def with_around_example_hooks; end
|
1462
|
-
end
|
1463
|
-
class RSpec::Core::Example::Procsy
|
1464
|
-
def <<(*a, &b); end
|
1465
|
-
def ===(*a, &b); end
|
1466
|
-
def >>(*a, &b); end
|
1467
|
-
def [](*a, &b); end
|
1468
|
-
def arity(*a, &b); end
|
1469
|
-
def binding(*a, &b); end
|
1470
|
-
def call(*args, &block); end
|
1471
|
-
def clock(*a, &b); end
|
1472
|
-
def clock=(*a, &b); end
|
1473
|
-
def clone(*a, &b); end
|
1474
|
-
def curry(*a, &b); end
|
1475
|
-
def description(*a, &b); end
|
1476
|
-
def dup(*a, &b); end
|
1477
|
-
def duplicate_with(*a, &b); end
|
1478
|
-
def example; end
|
1479
|
-
def example_group(*a, &b); end
|
1480
|
-
def example_group_instance(*a, &b); end
|
1481
|
-
def exception(*a, &b); end
|
1482
|
-
def executed?; end
|
1483
|
-
def execution_result(*a, &b); end
|
1484
|
-
def file_path(*a, &b); end
|
1485
|
-
def full_description(*a, &b); end
|
1486
|
-
def hash(*a, &b); end
|
1487
|
-
def id(*a, &b); end
|
1488
|
-
def initialize(example, &block); end
|
1489
|
-
def inspect; end
|
1490
|
-
def inspect_output(*a, &b); end
|
1491
|
-
def lambda?(*a, &b); end
|
1492
|
-
def location(*a, &b); end
|
1493
|
-
def location_rerun_argument(*a, &b); end
|
1494
|
-
def metadata(*a, &b); end
|
1495
|
-
def parameters(*a, &b); end
|
1496
|
-
def pending(*a, &b); end
|
1497
|
-
def pending?(*a, &b); end
|
1498
|
-
def reporter(*a, &b); end
|
1499
|
-
def rerun_argument(*a, &b); end
|
1500
|
-
def ruby2_keywords(*a, &b); end
|
1501
|
-
def run(*args, &block); end
|
1502
|
-
def skip(*a, &b); end
|
1503
|
-
def skipped?(*a, &b); end
|
1504
|
-
def source_location(*a, &b); end
|
1505
|
-
def to_proc; end
|
1506
|
-
def update_inherited_metadata(*a, &b); end
|
1507
|
-
def wrap(&block); end
|
1508
|
-
def yield(*a, &b); end
|
1833
|
+
def formatted_backtrace; end
|
1834
|
+
def fully_formatted(failure_number, colorizer = T.unsafe(nil)); end
|
1835
|
+
def fully_formatted_lines(failure_number, colorizer = T.unsafe(nil)); end
|
1836
|
+
def message_lines; end
|
1509
1837
|
end
|
1510
|
-
|
1511
|
-
|
1512
|
-
def
|
1513
|
-
def
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1521
|
-
def pending_exception; end
|
1522
|
-
def pending_exception=(arg0); end
|
1523
|
-
def pending_fixed; end
|
1524
|
-
def pending_fixed=(arg0); end
|
1525
|
-
def pending_fixed?; end
|
1526
|
-
def pending_message; end
|
1527
|
-
def pending_message=(arg0); end
|
1528
|
-
def record_finished(status, finished_at); end
|
1529
|
-
def run_time; end
|
1530
|
-
def run_time=(arg0); end
|
1531
|
-
def set_value(name, value); end
|
1532
|
-
def started_at; end
|
1533
|
-
def started_at=(arg0); end
|
1534
|
-
def status; end
|
1535
|
-
def status=(arg0); end
|
1536
|
-
extend RSpec::Core::HashImitatable::ClassMethods
|
1537
|
-
include RSpec::Core::HashImitatable
|
1838
|
+
|
1839
|
+
class RSpec::Core::Notifications::GroupNotification < ::Struct
|
1840
|
+
def group; end
|
1841
|
+
def group=(_); end
|
1842
|
+
|
1843
|
+
class << self
|
1844
|
+
def [](*_arg0); end
|
1845
|
+
def inspect; end
|
1846
|
+
def members; end
|
1847
|
+
def new(*_arg0); end
|
1848
|
+
end
|
1538
1849
|
end
|
1539
|
-
|
1540
|
-
|
1541
|
-
def
|
1850
|
+
|
1851
|
+
class RSpec::Core::Notifications::MessageNotification < ::Struct
|
1852
|
+
def message; end
|
1853
|
+
def message=(_); end
|
1854
|
+
|
1855
|
+
class << self
|
1856
|
+
def [](*_arg0); end
|
1857
|
+
def inspect; end
|
1858
|
+
def members; end
|
1859
|
+
def new(*_arg0); end
|
1860
|
+
end
|
1542
1861
|
end
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
def
|
1548
|
-
|
1549
|
-
|
1862
|
+
|
1863
|
+
module RSpec::Core::Notifications::NullColorizer
|
1864
|
+
private
|
1865
|
+
|
1866
|
+
def wrap(line, _code_or_symbol); end
|
1867
|
+
|
1868
|
+
class << self
|
1869
|
+
def wrap(line, _code_or_symbol); end
|
1870
|
+
end
|
1550
1871
|
end
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1872
|
+
|
1873
|
+
class RSpec::Core::Notifications::NullNotification; end
|
1874
|
+
class RSpec::Core::Notifications::PendingExampleFailedAsExpectedNotification < ::RSpec::Core::Notifications::FailedExampleNotification; end
|
1875
|
+
class RSpec::Core::Notifications::PendingExampleFixedNotification < ::RSpec::Core::Notifications::FailedExampleNotification; end
|
1876
|
+
|
1877
|
+
class RSpec::Core::Notifications::ProfileNotification
|
1878
|
+
def initialize(duration, examples, number_of_examples, example_groups); end
|
1879
|
+
|
1880
|
+
def duration; end
|
1881
|
+
def examples; end
|
1882
|
+
def number_of_examples; end
|
1883
|
+
def percentage; end
|
1884
|
+
def slow_duration; end
|
1885
|
+
def slowest_examples; end
|
1886
|
+
def slowest_groups; end
|
1887
|
+
|
1888
|
+
private
|
1889
|
+
|
1890
|
+
def calculate_slowest_groups; end
|
1555
1891
|
end
|
1556
|
-
|
1557
|
-
|
1558
|
-
def
|
1559
|
-
def
|
1560
|
-
def
|
1892
|
+
|
1893
|
+
class RSpec::Core::Notifications::SeedNotification < ::Struct
|
1894
|
+
def fully_formatted; end
|
1895
|
+
def seed; end
|
1896
|
+
def seed=(_); end
|
1897
|
+
def seed_used?; end
|
1898
|
+
def used=(_); end
|
1899
|
+
|
1900
|
+
private
|
1901
|
+
|
1902
|
+
def used; end
|
1903
|
+
|
1904
|
+
class << self
|
1905
|
+
def [](*_arg0); end
|
1906
|
+
def inspect; end
|
1907
|
+
def members; end
|
1908
|
+
def new(*_arg0); end
|
1909
|
+
end
|
1561
1910
|
end
|
1562
|
-
|
1563
|
-
|
1564
|
-
def
|
1565
|
-
def find(lookup_contexts, name); end
|
1566
|
-
def formatted_location(block); end
|
1567
|
-
def legacy_add(context, name, *metadata_args, &block); end
|
1568
|
-
def shared_example_groups; end
|
1569
|
-
def valid_name?(candidate); end
|
1570
|
-
def warn_if_key_taken(context, key, new_block); end
|
1911
|
+
|
1912
|
+
class RSpec::Core::Notifications::SkippedExampleNotification < ::RSpec::Core::Notifications::ExampleNotification
|
1913
|
+
def fully_formatted(pending_number, colorizer = T.unsafe(nil)); end
|
1571
1914
|
end
|
1572
|
-
|
1573
|
-
|
1574
|
-
def
|
1575
|
-
def
|
1576
|
-
def
|
1577
|
-
def
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1585
|
-
def self.define_nested_shared_group_method(new_name, report_label = nil); end
|
1586
|
-
def self.delegate_to_metadata(*names); end
|
1587
|
-
def self.descendant_filtered_examples; end
|
1588
|
-
def self.descendants; end
|
1589
|
-
def self.describe(*args, &example_group_block); end
|
1590
|
-
def self.described_class; end
|
1591
|
-
def self.description; end
|
1592
|
-
def self.each_instance_variable_for_example(group); end
|
1593
|
-
def self.ensure_example_groups_are_configured; end
|
1594
|
-
def self.example(*all_args, &block); end
|
1595
|
-
def self.example_group(*args, &example_group_block); end
|
1596
|
-
def self.examples; end
|
1597
|
-
def self.fcontext(*args, &example_group_block); end
|
1598
|
-
def self.fdescribe(*args, &example_group_block); end
|
1599
|
-
def self.fexample(*all_args, &block); end
|
1600
|
-
def self.file_path; end
|
1601
|
-
def self.filtered_examples; end
|
1602
|
-
def self.find_and_eval_shared(label, name, inclusion_location, *args, &customization_block); end
|
1603
|
-
def self.fit(*all_args, &block); end
|
1604
|
-
def self.focus(*all_args, &block); end
|
1605
|
-
def self.for_filtered_examples(reporter, &block); end
|
1606
|
-
def self.fspecify(*all_args, &block); end
|
1607
|
-
def self.id; end
|
1608
|
-
def self.idempotently_define_singleton_method(name, &definition); end
|
1609
|
-
def self.include_context(name, *args, &block); end
|
1610
|
-
def self.include_examples(name, *args, &block); end
|
1611
|
-
def self.it(*all_args, &block); end
|
1612
|
-
def self.it_behaves_like(name, *args, &customization_block); end
|
1613
|
-
def self.it_should_behave_like(name, *args, &customization_block); end
|
1614
|
-
def self.location; end
|
1615
|
-
def self.metadata; end
|
1616
|
-
def self.method_missing(name, *args); end
|
1617
|
-
def self.next_runnable_index_for(file); end
|
1618
|
-
def self.ordering_strategy; end
|
1619
|
-
def self.parent_groups; end
|
1620
|
-
def self.pending(*all_args, &block); end
|
1621
|
-
def self.remove_example(example); end
|
1622
|
-
def self.reset_memoized; end
|
1623
|
-
def self.run(reporter = nil); end
|
1624
|
-
def self.run_after_context_hooks(example_group_instance); end
|
1625
|
-
def self.run_before_context_hooks(example_group_instance); end
|
1626
|
-
def self.run_examples(reporter); end
|
1627
|
-
def self.set_it_up(description, args, registration_collection, &example_group_block); end
|
1628
|
-
def self.set_ivars(instance, ivars); end
|
1629
|
-
def self.skip(*all_args, &block); end
|
1630
|
-
def self.specify(*all_args, &block); end
|
1631
|
-
def self.store_before_context_ivars(example_group_instance); end
|
1632
|
-
def self.subclass(parent, description, args, registration_collection, &example_group_block); end
|
1633
|
-
def self.superclass_before_context_ivars; end
|
1634
|
-
def self.superclass_metadata; end
|
1635
|
-
def self.top_level?; end
|
1636
|
-
def self.top_level_description; end
|
1637
|
-
def self.traverse_tree_until(&block); end
|
1638
|
-
def self.update_inherited_metadata(updates); end
|
1639
|
-
def self.with_replaced_metadata(meta); end
|
1640
|
-
def self.xcontext(*args, &example_group_block); end
|
1641
|
-
def self.xdescribe(*args, &example_group_block); end
|
1642
|
-
def self.xexample(*all_args, &block); end
|
1643
|
-
def self.xit(*all_args, &block); end
|
1644
|
-
def self.xspecify(*all_args, &block); end
|
1645
|
-
extend RSpec::Core::Hooks
|
1646
|
-
extend RSpec::Core::MemoizedHelpers::ClassMethods
|
1647
|
-
extend RSpec::Core::SharedExampleGroup
|
1648
|
-
include RSpec::Core::MemoizedHelpers
|
1649
|
-
include RSpec::Core::Pending
|
1650
|
-
end
|
1651
|
-
class RSpec::Core::ExampleGroup::WrongScopeError < NoMethodError
|
1652
|
-
end
|
1653
|
-
class RSpec::Core::AnonymousExampleGroup < RSpec::Core::ExampleGroup
|
1654
|
-
def self.metadata; end
|
1915
|
+
|
1916
|
+
class RSpec::Core::Notifications::StartNotification < ::Struct
|
1917
|
+
def count; end
|
1918
|
+
def count=(_); end
|
1919
|
+
def load_time; end
|
1920
|
+
def load_time=(_); end
|
1921
|
+
|
1922
|
+
class << self
|
1923
|
+
def [](*_arg0); end
|
1924
|
+
def inspect; end
|
1925
|
+
def members; end
|
1926
|
+
def new(*_arg0); end
|
1927
|
+
end
|
1655
1928
|
end
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
def
|
1661
|
-
def
|
1662
|
-
def
|
1663
|
-
def
|
1664
|
-
def
|
1929
|
+
|
1930
|
+
class RSpec::Core::Notifications::SummaryNotification < ::Struct
|
1931
|
+
include ::RSpec::Core::ShellEscape
|
1932
|
+
|
1933
|
+
def colorized_rerun_commands(colorizer = T.unsafe(nil)); end
|
1934
|
+
def colorized_totals_line(colorizer = T.unsafe(nil)); end
|
1935
|
+
def duration; end
|
1936
|
+
def duration=(_); end
|
1937
|
+
def errors_outside_of_examples_count; end
|
1938
|
+
def errors_outside_of_examples_count=(_); end
|
1939
|
+
def example_count; end
|
1940
|
+
def examples; end
|
1941
|
+
def examples=(_); end
|
1942
|
+
def failed_examples; end
|
1943
|
+
def failed_examples=(_); end
|
1944
|
+
def failure_count; end
|
1945
|
+
def formatted_duration; end
|
1946
|
+
def formatted_load_time; end
|
1947
|
+
def fully_formatted(colorizer = T.unsafe(nil)); end
|
1948
|
+
def load_time; end
|
1949
|
+
def load_time=(_); end
|
1950
|
+
def pending_count; end
|
1951
|
+
def pending_examples; end
|
1952
|
+
def pending_examples=(_); end
|
1953
|
+
def totals_line; end
|
1954
|
+
|
1955
|
+
private
|
1956
|
+
|
1957
|
+
def duplicate_rerun_locations; end
|
1958
|
+
def rerun_argument_for(example); end
|
1959
|
+
|
1960
|
+
class << self
|
1961
|
+
def [](*_arg0); end
|
1962
|
+
def inspect; end
|
1963
|
+
def members; end
|
1964
|
+
def new(*_arg0); end
|
1965
|
+
end
|
1665
1966
|
end
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1967
|
+
|
1968
|
+
class RSpec::Core::NullReporter
|
1969
|
+
class << self
|
1970
|
+
private
|
1971
|
+
|
1972
|
+
def method_missing(*_arg0); end
|
1973
|
+
end
|
1673
1974
|
end
|
1674
|
-
|
1675
|
-
|
1975
|
+
|
1976
|
+
module RSpec::Core::Ordering; end
|
1977
|
+
|
1978
|
+
class RSpec::Core::Ordering::ConfigurationManager
|
1979
|
+
def initialize; end
|
1980
|
+
|
1981
|
+
def force(hash); end
|
1982
|
+
def order=(type); end
|
1983
|
+
def ordering_registry; end
|
1984
|
+
def register_ordering(name, strategy = T.unsafe(nil)); end
|
1985
|
+
def seed; end
|
1986
|
+
def seed=(seed); end
|
1987
|
+
def seed_used?; end
|
1676
1988
|
end
|
1677
|
-
|
1678
|
-
|
1989
|
+
|
1990
|
+
class RSpec::Core::Ordering::Custom
|
1991
|
+
def initialize(callable); end
|
1992
|
+
|
1993
|
+
def order(list); end
|
1679
1994
|
end
|
1680
|
-
|
1681
|
-
|
1682
|
-
def
|
1683
|
-
def example_group(*a, &b); end
|
1684
|
-
def fcontext(*a, &b); end
|
1685
|
-
def fdescribe(*a, &b); end
|
1686
|
-
def shared_context(name, *args, &block); end
|
1687
|
-
def shared_examples(name, *args, &block); end
|
1688
|
-
def shared_examples_for(name, *args, &block); end
|
1689
|
-
def xcontext(*a, &b); end
|
1690
|
-
def xdescribe(*a, &b); end
|
1995
|
+
|
1996
|
+
class RSpec::Core::Ordering::Identity
|
1997
|
+
def order(items); end
|
1691
1998
|
end
|
1692
|
-
|
1693
|
-
|
1694
|
-
def
|
1695
|
-
|
1696
|
-
def
|
1697
|
-
def
|
1698
|
-
|
1699
|
-
|
1700
|
-
|
1701
|
-
def
|
1702
|
-
def included(group); end
|
1703
|
-
def let!(*args, &block); end
|
1704
|
-
def let(*args, &block); end
|
1705
|
-
def prepend_after(*args, &block); end
|
1706
|
-
def prepend_before(*args, &block); end
|
1707
|
-
def self.record(methods); end
|
1708
|
-
def subject!(*args, &block); end
|
1709
|
-
def subject(*args, &block); end
|
1999
|
+
|
2000
|
+
class RSpec::Core::Ordering::Random
|
2001
|
+
def initialize(configuration); end
|
2002
|
+
|
2003
|
+
def order(items); end
|
2004
|
+
def used?; end
|
2005
|
+
|
2006
|
+
private
|
2007
|
+
|
2008
|
+
def jenkins_hash_digest(string); end
|
1710
2009
|
end
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
def
|
1716
|
-
|
1717
|
-
def
|
1718
|
-
def
|
1719
|
-
def
|
1720
|
-
def self.inspect; end
|
1721
|
-
def self.members; end
|
1722
|
-
def self.new(*arg0); end
|
2010
|
+
|
2011
|
+
RSpec::Core::Ordering::Random::MAX_32_BIT = T.let(T.unsafe(nil), Integer)
|
2012
|
+
|
2013
|
+
class RSpec::Core::Ordering::Registry
|
2014
|
+
def initialize(configuration); end
|
2015
|
+
|
2016
|
+
def fetch(name, &fallback); end
|
2017
|
+
def register(sym, strategy); end
|
2018
|
+
def used_random_seed?; end
|
1723
2019
|
end
|
1724
|
-
|
1725
|
-
|
1726
|
-
def initialize(
|
1727
|
-
|
1728
|
-
def
|
1729
|
-
def
|
1730
|
-
def
|
2020
|
+
|
2021
|
+
class RSpec::Core::OutputWrapper
|
2022
|
+
def initialize(output); end
|
2023
|
+
|
2024
|
+
def <<(*args, &block); end
|
2025
|
+
def advise(*args, &block); end
|
2026
|
+
def autoclose=(*args, &block); end
|
2027
|
+
def autoclose?(*args, &block); end
|
2028
|
+
def binmode(*args, &block); end
|
2029
|
+
def binmode?(*args, &block); end
|
2030
|
+
def bytes(*args, &block); end
|
2031
|
+
def chars(*args, &block); end
|
2032
|
+
def close(*args, &block); end
|
2033
|
+
def close_on_exec=(*args, &block); end
|
2034
|
+
def close_on_exec?(*args, &block); end
|
2035
|
+
def close_read(*args, &block); end
|
2036
|
+
def close_write(*args, &block); end
|
2037
|
+
def closed?(*args, &block); end
|
2038
|
+
def codepoints(*args, &block); end
|
2039
|
+
def each(*args, &block); end
|
2040
|
+
def each_byte(*args, &block); end
|
2041
|
+
def each_char(*args, &block); end
|
2042
|
+
def each_codepoint(*args, &block); end
|
2043
|
+
def each_line(*args, &block); end
|
2044
|
+
def eof(*args, &block); end
|
2045
|
+
def eof?(*args, &block); end
|
2046
|
+
def external_encoding(*args, &block); end
|
2047
|
+
def fcntl(*args, &block); end
|
2048
|
+
def fdatasync(*args, &block); end
|
2049
|
+
def fileno(*args, &block); end
|
2050
|
+
def flush(*args, &block); end
|
2051
|
+
def fsync(*args, &block); end
|
2052
|
+
def getbyte(*args, &block); end
|
2053
|
+
def getc(*args, &block); end
|
2054
|
+
def gets(*args, &block); end
|
2055
|
+
def inspect(*args, &block); end
|
2056
|
+
def internal_encoding(*args, &block); end
|
2057
|
+
def ioctl(*args, &block); end
|
2058
|
+
def isatty(*args, &block); end
|
2059
|
+
def lineno(*args, &block); end
|
2060
|
+
def lineno=(*args, &block); end
|
2061
|
+
def lines(*args, &block); end
|
2062
|
+
def method_missing(name, *args, &block); end
|
2063
|
+
def output; end
|
2064
|
+
def output=(_arg0); end
|
2065
|
+
def pathconf(*args, &block); end
|
2066
|
+
def pid(*args, &block); end
|
2067
|
+
def pos(*args, &block); end
|
2068
|
+
def pos=(*args, &block); end
|
2069
|
+
def pread(*args, &block); end
|
2070
|
+
def print(*args, &block); end
|
2071
|
+
def printf(*args, &block); end
|
2072
|
+
def putc(*args, &block); end
|
2073
|
+
def puts(*args, &block); end
|
2074
|
+
def pwrite(*args, &block); end
|
2075
|
+
def read(*args, &block); end
|
2076
|
+
def read_nonblock(*args, &block); end
|
2077
|
+
def readbyte(*args, &block); end
|
2078
|
+
def readchar(*args, &block); end
|
2079
|
+
def readline(*args, &block); end
|
2080
|
+
def readlines(*args, &block); end
|
2081
|
+
def readpartial(*args, &block); end
|
2082
|
+
def reopen(*args, &block); end
|
2083
|
+
def respond_to?(name, priv = T.unsafe(nil)); end
|
2084
|
+
def rewind(*args, &block); end
|
2085
|
+
def seek(*args, &block); end
|
2086
|
+
def set_encoding(*args, &block); end
|
2087
|
+
def set_encoding_by_bom(*args, &block); end
|
2088
|
+
def stat(*args, &block); end
|
2089
|
+
def sync(*args, &block); end
|
2090
|
+
def sync=(*args, &block); end
|
2091
|
+
def sysread(*args, &block); end
|
2092
|
+
def sysseek(*args, &block); end
|
2093
|
+
def syswrite(*args, &block); end
|
2094
|
+
def tell(*args, &block); end
|
2095
|
+
def to_i(*args, &block); end
|
2096
|
+
def to_io(*args, &block); end
|
2097
|
+
def tty?(*args, &block); end
|
2098
|
+
def ungetbyte(*args, &block); end
|
2099
|
+
def ungetc(*args, &block); end
|
2100
|
+
def write(*args, &block); end
|
2101
|
+
def write_nonblock(*args, &block); end
|
1731
2102
|
end
|
1732
|
-
|
1733
|
-
|
1734
|
-
def
|
1735
|
-
|
1736
|
-
def
|
1737
|
-
def
|
1738
|
-
|
1739
|
-
|
1740
|
-
|
1741
|
-
def
|
2103
|
+
|
2104
|
+
class RSpec::Core::Parser
|
2105
|
+
def initialize(original_args); end
|
2106
|
+
|
2107
|
+
def original_args; end
|
2108
|
+
def parse(source = T.unsafe(nil)); end
|
2109
|
+
|
2110
|
+
private
|
2111
|
+
|
2112
|
+
def add_tag_filter(options, filter_type, tag_name, value = T.unsafe(nil)); end
|
2113
|
+
def configure_only_failures(options); end
|
2114
|
+
def parser(options); end
|
2115
|
+
def set_fail_fast(options, value); end
|
2116
|
+
|
2117
|
+
class << self
|
2118
|
+
def parse(args, source = T.unsafe(nil)); end
|
2119
|
+
end
|
1742
2120
|
end
|
1743
|
-
|
1744
|
-
|
1745
|
-
def
|
1746
|
-
def
|
1747
|
-
|
1748
|
-
|
1749
|
-
|
1750
|
-
|
1751
|
-
|
1752
|
-
|
2121
|
+
|
2122
|
+
module RSpec::Core::Pending
|
2123
|
+
def pending(message = T.unsafe(nil)); end
|
2124
|
+
def skip(message = T.unsafe(nil)); end
|
2125
|
+
|
2126
|
+
class << self
|
2127
|
+
def mark_fixed!(example); end
|
2128
|
+
def mark_pending!(example, message_or_bool); end
|
2129
|
+
def mark_skipped!(example, message_or_bool); end
|
2130
|
+
end
|
1753
2131
|
end
|
1754
|
-
|
1755
|
-
|
1756
|
-
|
1757
|
-
|
1758
|
-
|
1759
|
-
|
1760
|
-
def
|
2132
|
+
|
2133
|
+
RSpec::Core::Pending::NOT_YET_IMPLEMENTED = T.let(T.unsafe(nil), String)
|
2134
|
+
RSpec::Core::Pending::NO_REASON_GIVEN = T.let(T.unsafe(nil), String)
|
2135
|
+
class RSpec::Core::Pending::PendingExampleFixedError < ::StandardError; end
|
2136
|
+
|
2137
|
+
class RSpec::Core::Pending::SkipDeclaredInExample < ::StandardError
|
2138
|
+
def initialize(argument); end
|
2139
|
+
|
2140
|
+
def argument; end
|
1761
2141
|
end
|
2142
|
+
|
1762
2143
|
class RSpec::Core::Profiler
|
2144
|
+
def initialize; end
|
2145
|
+
|
1763
2146
|
def example_group_finished(notification); end
|
1764
2147
|
def example_group_started(notification); end
|
1765
2148
|
def example_groups; end
|
1766
2149
|
def example_started(notification); end
|
1767
|
-
def initialize; end
|
1768
|
-
end
|
1769
|
-
class RSpec::Core::DidYouMean
|
1770
|
-
def call; end
|
1771
|
-
def formats(probables); end
|
1772
|
-
def initialize(relative_file_name); end
|
1773
|
-
def red_font(mytext); end
|
1774
|
-
def relative_file_name; end
|
1775
|
-
def top_and_tail(rspec_format); end
|
1776
|
-
end
|
1777
|
-
class RSpec::Core::Formatters::BaseFormatter
|
1778
|
-
def close(_notification); end
|
1779
|
-
def example_group; end
|
1780
|
-
def example_group=(arg0); end
|
1781
|
-
def example_group_started(notification); end
|
1782
|
-
def initialize(output); end
|
1783
|
-
def output; end
|
1784
|
-
def output_supports_sync; end
|
1785
|
-
def restore_sync_output; end
|
1786
|
-
def start(notification); end
|
1787
|
-
def start_sync_output; end
|
1788
2150
|
end
|
1789
|
-
|
1790
|
-
|
1791
|
-
|
1792
|
-
|
1793
|
-
def
|
1794
|
-
|
1795
|
-
def
|
2151
|
+
|
2152
|
+
RSpec::Core::Profiler::NOTIFICATIONS = T.let(T.unsafe(nil), Array)
|
2153
|
+
|
2154
|
+
class RSpec::Core::Reporter
|
2155
|
+
def initialize(configuration); end
|
2156
|
+
|
2157
|
+
def abort_with(msg, exit_status); end
|
2158
|
+
def close_after; end
|
2159
|
+
def deprecation(hash); end
|
2160
|
+
def example_failed(example); end
|
2161
|
+
def example_finished(example); end
|
2162
|
+
def example_group_finished(group); end
|
2163
|
+
def example_group_started(group); end
|
2164
|
+
def example_passed(example); end
|
2165
|
+
def example_pending(example); end
|
2166
|
+
def example_started(example); end
|
2167
|
+
def examples; end
|
2168
|
+
def exit_early(exit_code); end
|
2169
|
+
def fail_fast_limit_met?; end
|
2170
|
+
def failed_examples; end
|
2171
|
+
def finish; end
|
2172
|
+
def message(message); end
|
2173
|
+
def notify(event, notification); end
|
2174
|
+
def notify_non_example_exception(exception, context_description); end
|
2175
|
+
def pending_examples; end
|
2176
|
+
def prepare_default(loader, output_stream, deprecation_stream); end
|
2177
|
+
def publish(event, options = T.unsafe(nil)); end
|
2178
|
+
def register_listener(listener, *notifications); end
|
2179
|
+
def registered_listeners(notification); end
|
2180
|
+
def report(expected_example_count); end
|
2181
|
+
def start(expected_example_count, time = T.unsafe(nil)); end
|
2182
|
+
def stop; end
|
2183
|
+
|
2184
|
+
private
|
2185
|
+
|
2186
|
+
def close; end
|
2187
|
+
def ensure_listeners_ready; end
|
2188
|
+
def mute_profile_output?; end
|
2189
|
+
def seed_used?; end
|
1796
2190
|
end
|
1797
|
-
|
1798
|
-
|
1799
|
-
|
1800
|
-
|
1801
|
-
|
1802
|
-
|
1803
|
-
def
|
1804
|
-
def
|
1805
|
-
def
|
1806
|
-
def
|
1807
|
-
def
|
1808
|
-
def
|
1809
|
-
|
1810
|
-
|
1811
|
-
|
2191
|
+
|
2192
|
+
RSpec::Core::Reporter::RSPEC_NOTIFICATIONS = T.let(T.unsafe(nil), RSpec::Core::Set)
|
2193
|
+
|
2194
|
+
module RSpec::Core::RubyProject
|
2195
|
+
private
|
2196
|
+
|
2197
|
+
def add_dir_to_load_path(dir); end
|
2198
|
+
def add_to_load_path(*dirs); end
|
2199
|
+
def ascend_until; end
|
2200
|
+
def determine_root; end
|
2201
|
+
def find_first_parent_containing(dir); end
|
2202
|
+
def root; end
|
2203
|
+
|
2204
|
+
class << self
|
2205
|
+
def add_dir_to_load_path(dir); end
|
2206
|
+
def add_to_load_path(*dirs); end
|
2207
|
+
def ascend_until; end
|
2208
|
+
def determine_root; end
|
2209
|
+
def find_first_parent_containing(dir); end
|
2210
|
+
def root; end
|
2211
|
+
end
|
1812
2212
|
end
|
1813
|
-
|
1814
|
-
|
1815
|
-
def
|
1816
|
-
|
1817
|
-
def
|
1818
|
-
def
|
1819
|
-
def
|
1820
|
-
def
|
1821
|
-
def
|
1822
|
-
def
|
1823
|
-
def
|
1824
|
-
def
|
1825
|
-
|
1826
|
-
|
1827
|
-
|
1828
|
-
def
|
1829
|
-
|
2213
|
+
|
2214
|
+
class RSpec::Core::Runner
|
2215
|
+
def initialize(options, configuration = T.unsafe(nil), world = T.unsafe(nil)); end
|
2216
|
+
|
2217
|
+
def configuration; end
|
2218
|
+
def configure(err, out); end
|
2219
|
+
def exit_code(examples_passed = T.unsafe(nil)); end
|
2220
|
+
def options; end
|
2221
|
+
def run(err, out); end
|
2222
|
+
def run_specs(example_groups); end
|
2223
|
+
def setup(err, out); end
|
2224
|
+
def world; end
|
2225
|
+
|
2226
|
+
private
|
2227
|
+
|
2228
|
+
def persist_example_statuses; end
|
2229
|
+
|
2230
|
+
class << self
|
2231
|
+
def autorun; end
|
2232
|
+
def autorun_disabled?; end
|
2233
|
+
def disable_autorun!; end
|
2234
|
+
def handle_interrupt; end
|
2235
|
+
def installed_at_exit?; end
|
2236
|
+
def invoke; end
|
2237
|
+
def perform_at_exit; end
|
2238
|
+
def run(args, err = T.unsafe(nil), out = T.unsafe(nil)); end
|
2239
|
+
def running_in_drb?; end
|
2240
|
+
def trap_interrupt; end
|
2241
|
+
end
|
1830
2242
|
end
|
1831
|
-
|
1832
|
-
|
1833
|
-
|
1834
|
-
|
1835
|
-
def
|
1836
|
-
|
1837
|
-
def
|
1838
|
-
def
|
1839
|
-
def
|
1840
|
-
def
|
1841
|
-
def
|
1842
|
-
def
|
1843
|
-
def
|
1844
|
-
def start_dump(_notification); end
|
2243
|
+
|
2244
|
+
class RSpec::Core::Set
|
2245
|
+
include ::Enumerable
|
2246
|
+
|
2247
|
+
def initialize(array = T.unsafe(nil)); end
|
2248
|
+
|
2249
|
+
def <<(key); end
|
2250
|
+
def clear; end
|
2251
|
+
def delete(key); end
|
2252
|
+
def each(&block); end
|
2253
|
+
def empty?; end
|
2254
|
+
def include?(key); end
|
2255
|
+
def merge(values); end
|
1845
2256
|
end
|
1846
|
-
|
1847
|
-
|
1848
|
-
def
|
1849
|
-
def
|
2257
|
+
|
2258
|
+
module RSpec::Core::SharedContext
|
2259
|
+
def __shared_context_recordings; end
|
2260
|
+
def after(*args, &block); end
|
2261
|
+
def append_after(*args, &block); end
|
2262
|
+
def append_before(*args, &block); end
|
2263
|
+
def around(*args, &block); end
|
2264
|
+
def before(*args, &block); end
|
2265
|
+
def context(*args, &block); end
|
2266
|
+
def describe(*args, &block); end
|
2267
|
+
def hooks(*args, &block); end
|
2268
|
+
def included(group); end
|
2269
|
+
def let(*args, &block); end
|
2270
|
+
def let!(*args, &block); end
|
2271
|
+
def prepend_after(*args, &block); end
|
2272
|
+
def prepend_before(*args, &block); end
|
2273
|
+
def subject(*args, &block); end
|
2274
|
+
def subject!(*args, &block); end
|
2275
|
+
|
2276
|
+
class << self
|
2277
|
+
def record(methods); end
|
2278
|
+
end
|
1850
2279
|
end
|
1851
|
-
|
1852
|
-
|
1853
|
-
def
|
1854
|
-
def
|
1855
|
-
def
|
2280
|
+
|
2281
|
+
class RSpec::Core::SharedContext::Recording < ::Struct
|
2282
|
+
def args; end
|
2283
|
+
def args=(_); end
|
2284
|
+
def block; end
|
2285
|
+
def block=(_); end
|
2286
|
+
def method_name; end
|
2287
|
+
def method_name=(_); end
|
2288
|
+
def playback_onto(group); end
|
2289
|
+
|
2290
|
+
class << self
|
2291
|
+
def [](*_arg0); end
|
2292
|
+
def inspect; end
|
2293
|
+
def members; end
|
2294
|
+
def new(*_arg0); end
|
2295
|
+
end
|
1856
2296
|
end
|
1857
|
-
|
1858
|
-
|
1859
|
-
def
|
1860
|
-
def
|
1861
|
-
def
|
1862
|
-
def format_caller(caller_info); end
|
1863
|
-
def initialize(output); end
|
1864
|
-
def output; end
|
2297
|
+
|
2298
|
+
module RSpec::Core::SharedExampleGroup
|
2299
|
+
def shared_context(name, *args, &block); end
|
2300
|
+
def shared_examples(name, *args, &block); end
|
2301
|
+
def shared_examples_for(name, *args, &block); end
|
1865
2302
|
end
|
1866
|
-
|
1867
|
-
|
1868
|
-
def
|
1869
|
-
def
|
1870
|
-
|
1871
|
-
|
1872
|
-
|
1873
|
-
def
|
1874
|
-
def
|
1875
|
-
def
|
1876
|
-
def
|
1877
|
-
def
|
2303
|
+
|
2304
|
+
class RSpec::Core::SharedExampleGroup::Registry
|
2305
|
+
def add(context, name, *metadata_args, &block); end
|
2306
|
+
def find(lookup_contexts, name); end
|
2307
|
+
|
2308
|
+
private
|
2309
|
+
|
2310
|
+
def ensure_block_has_source_location(_block); end
|
2311
|
+
def formatted_location(block); end
|
2312
|
+
def legacy_add(context, name, *metadata_args, &block); end
|
2313
|
+
def shared_example_groups; end
|
2314
|
+
def valid_name?(candidate); end
|
2315
|
+
def warn_if_key_taken(context, key, new_block); end
|
1878
2316
|
end
|
1879
|
-
|
2317
|
+
|
2318
|
+
module RSpec::Core::SharedExampleGroup::TopLevelDSL
|
2319
|
+
class << self
|
2320
|
+
def definitions; end
|
2321
|
+
def expose_globally!; end
|
2322
|
+
def exposed_globally?; end
|
2323
|
+
def remove_globally!; end
|
2324
|
+
end
|
1880
2325
|
end
|
1881
|
-
|
1882
|
-
|
1883
|
-
def
|
1884
|
-
|
1885
|
-
def
|
1886
|
-
def
|
1887
|
-
def
|
1888
|
-
def
|
1889
|
-
|
2326
|
+
|
2327
|
+
class RSpec::Core::SharedExampleGroupInclusionStackFrame
|
2328
|
+
def initialize(shared_group_name, inclusion_location); end
|
2329
|
+
|
2330
|
+
def description; end
|
2331
|
+
def formatted_inclusion_location; end
|
2332
|
+
def inclusion_location; end
|
2333
|
+
def shared_group_name; end
|
2334
|
+
|
2335
|
+
class << self
|
2336
|
+
def current_backtrace; end
|
2337
|
+
def shared_example_group_inclusions; end
|
2338
|
+
def with_frame(name, location); end
|
2339
|
+
end
|
1890
2340
|
end
|
1891
|
-
|
1892
|
-
|
2341
|
+
|
2342
|
+
class RSpec::Core::SharedExampleGroupModule < ::Module
|
2343
|
+
def initialize(description, definition, metadata); end
|
2344
|
+
|
2345
|
+
def definition; end
|
2346
|
+
def include_in(klass, inclusion_line, args, customization_block); end
|
2347
|
+
def included(klass); end
|
2348
|
+
def inspect; end
|
2349
|
+
def to_s; end
|
1893
2350
|
end
|
1894
|
-
|
1895
|
-
|
1896
|
-
|
2351
|
+
|
2352
|
+
module RSpec::Core::ShellEscape
|
2353
|
+
private
|
2354
|
+
|
2355
|
+
def conditionally_quote(id); end
|
2356
|
+
def escape(shell_command); end
|
2357
|
+
def quote(argument); end
|
2358
|
+
def shell_allows_unquoted_ids?; end
|
2359
|
+
|
2360
|
+
class << self
|
2361
|
+
def conditionally_quote(id); end
|
2362
|
+
def escape(shell_command); end
|
2363
|
+
def quote(argument); end
|
2364
|
+
def shell_allows_unquoted_ids?; end
|
2365
|
+
end
|
1897
2366
|
end
|
1898
|
-
|
1899
|
-
|
1900
|
-
|
1901
|
-
|
1902
|
-
def
|
2367
|
+
|
2368
|
+
RSpec::Core::ShellEscape::SHELLS_ALLOWING_UNQUOTED_IDS = T.let(T.unsafe(nil), Array)
|
2369
|
+
|
2370
|
+
class RSpec::Core::SuiteHookContext < ::RSpec::Core::Example
|
2371
|
+
def initialize(hook_description, reporter); end
|
2372
|
+
|
2373
|
+
def set_exception(exception); end
|
1903
2374
|
end
|
1904
|
-
|
1905
|
-
|
1906
|
-
|
1907
|
-
|
1908
|
-
|
1909
|
-
def start_dump(_notification); end
|
2375
|
+
|
2376
|
+
class RSpec::Core::Time
|
2377
|
+
class << self
|
2378
|
+
def now(*_arg0); end
|
2379
|
+
end
|
1910
2380
|
end
|
1911
|
-
|
1912
|
-
|
1913
|
-
|
2381
|
+
|
2382
|
+
module RSpec::Core::Version; end
|
2383
|
+
RSpec::Core::Version::STRING = T.let(T.unsafe(nil), String)
|
2384
|
+
|
2385
|
+
module RSpec::Core::Warnings
|
2386
|
+
def deprecate(deprecated, data = T.unsafe(nil)); end
|
2387
|
+
def warn_deprecation(message, opts = T.unsafe(nil)); end
|
2388
|
+
def warn_with(message, options = T.unsafe(nil)); end
|
1914
2389
|
end
|
1915
|
-
|
1916
|
-
|
1917
|
-
def
|
1918
|
-
|
2390
|
+
|
2391
|
+
class RSpec::Core::World
|
2392
|
+
def initialize(configuration = T.unsafe(nil)); end
|
2393
|
+
|
2394
|
+
def all_example_groups; end
|
2395
|
+
def all_examples; end
|
2396
|
+
def announce_exclusion_filter(announcements); end
|
2397
|
+
def announce_filters; end
|
2398
|
+
def announce_inclusion_filter(announcements); end
|
2399
|
+
def everything_filtered_message; end
|
2400
|
+
def example_count(groups = T.unsafe(nil)); end
|
2401
|
+
def example_group_counts_by_spec_file; end
|
2402
|
+
def example_groups; end
|
2403
|
+
def exclusion_filter; end
|
2404
|
+
def filter_manager; end
|
2405
|
+
def filtered_examples; end
|
2406
|
+
def inclusion_filter; end
|
2407
|
+
def non_example_failure; end
|
2408
|
+
def non_example_failure=(_arg0); end
|
2409
|
+
def num_example_groups_defined_in(file); end
|
2410
|
+
def ordered_example_groups; end
|
2411
|
+
def preceding_declaration_line(absolute_file_name, filter_line); end
|
2412
|
+
def prepare_example_filtering; end
|
2413
|
+
def record(example_group); end
|
2414
|
+
def registered_example_group_files; end
|
2415
|
+
def report_filter_message(message); end
|
2416
|
+
def reporter; end
|
2417
|
+
def reset; end
|
2418
|
+
def shared_example_group_registry; end
|
2419
|
+
def source_from_file(path); end
|
2420
|
+
def syntax_highlighter; end
|
2421
|
+
def traverse_example_group_trees_until(&block); end
|
2422
|
+
def wants_to_quit; end
|
2423
|
+
def wants_to_quit=(_arg0); end
|
2424
|
+
|
2425
|
+
private
|
2426
|
+
|
2427
|
+
def descending_declaration_line_numbers_by_file; end
|
2428
|
+
def fail_if_config_and_cli_options_invalid; end
|
1919
2429
|
end
|
1920
|
-
|
2430
|
+
|
2431
|
+
module RSpec::Core::World::Null
|
2432
|
+
class << self
|
2433
|
+
def all_example_groups; end
|
2434
|
+
def example_groups; end
|
2435
|
+
def non_example_failure; end
|
2436
|
+
def non_example_failure=(_); end
|
2437
|
+
def registered_example_group_files; end
|
2438
|
+
def traverse_example_group_trees_until; end
|
2439
|
+
end
|
1921
2440
|
end
|
1922
|
-
|
1923
|
-
|
1924
|
-
|
1925
|
-
|
1926
|
-
|
1927
|
-
|
1928
|
-
|
1929
|
-
|
2441
|
+
|
2442
|
+
module RSpec::ExampleGroups
|
2443
|
+
extend ::RSpec::Support::RecursiveConstMethods
|
2444
|
+
|
2445
|
+
class << self
|
2446
|
+
def assign_const(group); end
|
2447
|
+
def base_name_for(group); end
|
2448
|
+
def constant_scope_for(group); end
|
2449
|
+
def disambiguate(name, const_scope); end
|
2450
|
+
def remove_all_constants; end
|
2451
|
+
end
|
1930
2452
|
end
|
2453
|
+
|
2454
|
+
RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
|
2455
|
+
RSpec::SharedContext = RSpec::Core::SharedContext
|