Class: Homebrew::TestBot::TestFormulae Private
- Includes:
- Kernel
- Defined in:
- test_bot/test_formulae.rb,
test_bot/test_formulae.rbi
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Direct Known Subclasses
Constant Summary
Constants included from Kernel
Kernel::IGNORE_INTERRUPTS_MUTEX
Instance Attribute Summary collapse
- #artifact_cache ⇒ Object readonly private
- #skipped_or_failed_formulae ⇒ Object private
Attributes inherited from Test
Instance Method Summary collapse
-
#initialize(tap:, git:, dry_run:, fail_fast:, verbose:) ⇒ TestFormulae
constructor
private
A new instance of TestFormulae.
Methods included from Kernel
#disk_usage_readable, #ensure_executable!, #exec_browser, #exec_editor, #ignore_interrupts, #interactive_shell, #number_readable, #quiet_system, #redact_secrets, #redirect_stdout, #safe_system, #tap_and_name_comparison, #truncate_text_to_approximate_size, #which, #which_editor, #with_custom_locale, #with_env, #with_homebrew_path
Methods inherited from Test
Methods included from Utils::Output::Mixin
#odebug, #odeprecated, #odie, #odisabled, #ofail, #oh1, #oh1_title, #ohai, #ohai_title, #onoe, #opoo, #opoo_outside_github_actions, #pretty_duration, #pretty_installed, #pretty_outdated, #pretty_uninstalled
Constructor Details
#initialize(tap:, git:, dry_run:, fail_fast:, verbose:) ⇒ TestFormulae
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Returns a new instance of TestFormulae.
10 11 12 13 14 15 16 17 18 |
# File 'test_bot/test_formulae.rb', line 10 def initialize(tap:, git:, dry_run:, fail_fast:, verbose:) super @skipped_or_failed_formulae = [] @artifact_cache = Pathname.new("artifact-cache") # Let's keep track of the artifacts we've already downloaded # to avoid repeatedly trying to download the same thing. @downloaded_artifacts = Hash.new { |h, k| h[k] = [] } end |
Instance Attribute Details
#artifact_cache ⇒ Object (readonly)
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
8 9 10 |
# File 'test_bot/test_formulae.rb', line 8 def artifact_cache @artifact_cache end |
#skipped_or_failed_formulae ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
7 8 9 |
# File 'test_bot/test_formulae.rb', line 7 def skipped_or_failed_formulae @skipped_or_failed_formulae end |