brew/Library/Homebrew/sorbet/rbi/gems/simplecov-html@0.12.3.rbi

212 lines
6.2 KiB
Plaintext
Raw Normal View History

# typed: true
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `simplecov-html` gem.
2021-09-17 19:28:50 +01:00
# Please instead update this file by running `bin/tapioca gem simplecov-html`.
2023-12-14 15:34:15 +00:00
# source://simplecov-html//lib/simplecov-html.rb#16
2021-09-10 21:21:17 +01:00
module SimpleCov
class << self
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#174
2021-09-10 21:21:17 +01:00
def at_exit_behavior; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#170
2021-09-10 21:21:17 +01:00
def clear_result; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#86
2021-09-10 21:21:17 +01:00
def collate(result_filenames, profile = T.unsafe(nil), ignore_timeout: T.unsafe(nil), &block); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#223
2021-09-10 21:21:17 +01:00
def exit_and_report_previous_error(exit_status); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#200
2021-09-10 21:21:17 +01:00
def exit_status_from_exception; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#28
2021-09-10 21:21:17 +01:00
def external_at_exit; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#28
2021-09-10 21:21:17 +01:00
def external_at_exit=(_arg0); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#28
2021-09-10 21:21:17 +01:00
def external_at_exit?; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#131
2021-09-10 21:21:17 +01:00
def filtered(files); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#268
2021-09-10 21:21:17 +01:00
def final_result_process?; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#142
2021-09-10 21:21:17 +01:00
def grouped(files); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#162
2021-09-10 21:21:17 +01:00
def load_adapter(name); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#158
2021-09-10 21:21:17 +01:00
def load_profile(name); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#24
2021-09-10 21:21:17 +01:00
def pid; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#24
2021-09-10 21:21:17 +01:00
def pid=(_arg0); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#213
2021-09-10 21:21:17 +01:00
def previous_error?(error_exit_status); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#248
2021-09-10 21:21:17 +01:00
def process_result(result); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#233
2021-09-10 21:21:17 +01:00
def process_results_and_report_error; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#229
2021-09-10 21:21:17 +01:00
def ready_to_process_results?; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#101
2021-09-10 21:21:17 +01:00
def result; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#124
2021-09-10 21:21:17 +01:00
def result?; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#256
2021-09-10 21:21:17 +01:00
def result_exit_status(result); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#296
2021-09-10 21:21:17 +01:00
def round_coverage(coverage); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#186
2021-09-10 21:21:17 +01:00
def run_exit_tasks!; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#24
2021-09-10 21:21:17 +01:00
def running; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#24
2021-09-10 21:21:17 +01:00
def running=(_arg0); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#48
2021-09-10 21:21:17 +01:00
def start(profile = T.unsafe(nil), &block); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#276
2021-09-10 21:21:17 +01:00
def wait_for_other_processes; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#285
2021-09-10 21:21:17 +01:00
def write_last_run(result); end
private
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#399
2021-09-10 21:21:17 +01:00
def adapt_coverage_result; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#371
2021-09-10 21:21:17 +01:00
def add_not_loaded_files(result); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#302
2021-09-10 21:21:17 +01:00
def initial_setup(profile, &block); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#363
2021-09-10 21:21:17 +01:00
def lookup_corresponding_ruby_coverage_name(criterion); end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#425
2021-09-10 21:21:17 +01:00
def make_parallel_tests_available; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#434
2021-09-10 21:21:17 +01:00
def probably_running_parallel_tests?; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#388
2021-09-10 21:21:17 +01:00
def process_coverage_result; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#410
2021-09-10 21:21:17 +01:00
def remove_useless_results; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#420
2021-09-10 21:21:17 +01:00
def result_with_not_loaded_files; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#314
2021-09-10 21:21:17 +01:00
def start_coverage_measurement; end
2023-12-14 15:34:15 +00:00
# source://simplecov/0.22.0/lib/simplecov.rb#349
2021-09-10 21:21:17 +01:00
def start_coverage_with_criteria; end
end
end
2023-12-14 15:34:15 +00:00
# source://simplecov-html//lib/simplecov-html.rb#17
module SimpleCov::Formatter; end
2021-09-10 21:21:17 +01:00
2023-12-14 15:34:15 +00:00
# source://simplecov-html//lib/simplecov-html.rb#18
2021-09-10 21:21:17 +01:00
class SimpleCov::Formatter::HTMLFormatter
2023-12-14 15:34:15 +00:00
# @return [HTMLFormatter] a new instance of HTMLFormatter
#
# source://simplecov-html//lib/simplecov-html.rb#19
2021-09-10 21:21:17 +01:00
def initialize; end
2023-12-14 15:34:15 +00:00
# @return [Boolean]
#
# source://simplecov-html//lib/simplecov-html.rb#38
2021-09-10 21:21:17 +01:00
def branchable_result?; end
2023-12-14 15:34:15 +00:00
# source://simplecov-html//lib/simplecov-html.rb#23
2021-09-10 21:21:17 +01:00
def format(result); end
2023-12-14 15:34:15 +00:00
# @return [Boolean]
#
# source://simplecov-html//lib/simplecov-html.rb#45
2021-09-10 21:21:17 +01:00
def line_status?(source_file, line); end
2023-12-14 15:34:15 +00:00
# source://simplecov-html//lib/simplecov-html.rb#34
2021-09-10 21:21:17 +01:00
def output_message(result); end
private
2023-12-14 15:34:15 +00:00
# source://simplecov-html//lib/simplecov-html.rb#64
2021-09-10 21:21:17 +01:00
def asset_output_path; end
2023-12-14 15:34:15 +00:00
# source://simplecov-html//lib/simplecov-html.rb#72
2021-09-10 21:21:17 +01:00
def assets_path(name); end
2023-12-14 15:34:15 +00:00
# source://simplecov-html//lib/simplecov-html.rb#97
2021-09-10 21:21:17 +01:00
def coverage_css_class(covered_percent); end
2023-12-14 15:34:15 +00:00
# source://simplecov-html//lib/simplecov-html.rb#93
2021-09-10 21:21:17 +01:00
def covered_percent(percent); end
2023-12-14 15:34:15 +00:00
# Returns a table containing the given source files
#
# source://simplecov-html//lib/simplecov-html.rb#84
2021-09-10 21:21:17 +01:00
def formatted_file_list(title, source_files); end
2023-12-14 15:34:15 +00:00
# Returns the html for the given source_file
#
# source://simplecov-html//lib/simplecov-html.rb#77
2021-09-10 21:21:17 +01:00
def formatted_source_file(source_file); end
2023-12-14 15:34:15 +00:00
# Return a (kind of) unique id for the source file given. Uses SHA1 on path for the id
#
# source://simplecov-html//lib/simplecov-html.rb#118
2021-09-10 21:21:17 +01:00
def id(source_file); end
2023-12-14 15:34:15 +00:00
# source://simplecov-html//lib/simplecov-html.rb#130
2021-09-10 21:21:17 +01:00
def link_to_source_file(source_file); end
2023-12-14 15:34:15 +00:00
# source://simplecov-html//lib/simplecov-html.rb#60
2021-09-10 21:21:17 +01:00
def output_path; end
2023-12-14 15:34:15 +00:00
# source://simplecov-html//lib/simplecov-html.rb#126
2021-09-10 21:21:17 +01:00
def shortened_filename(source_file); end
2023-12-14 15:34:15 +00:00
# source://simplecov-html//lib/simplecov-html.rb#107
2021-09-10 21:21:17 +01:00
def strength_css_class(covered_strength); end
2023-12-14 15:34:15 +00:00
# Returns the an erb instance for the template of given name
#
# source://simplecov-html//lib/simplecov-html.rb#56
2021-09-10 21:21:17 +01:00
def template(name); end
2023-12-14 15:34:15 +00:00
# source://simplecov-html//lib/simplecov-html.rb#122
2021-09-10 21:21:17 +01:00
def timeago(time); end
end
2023-12-14 15:34:15 +00:00
# source://simplecov-html//lib/simplecov-html/version.rb#6
2021-09-10 21:21:17 +01:00
SimpleCov::Formatter::HTMLFormatter::VERSION = T.let(T.unsafe(nil), String)