Sha256: 4d96b3eec986315c39934270dda5e1055250d6b5fc246267a6330b8ac15a5f00

Contents?: true

Size: 592 Bytes

Versions: 256

Compression:

Stored size: 592 Bytes

Contents

# frozen_string_literal: true

require 'avm/sources/tests/result'
require 'eac_ruby_utils/core_ext'

module Avm
  module Sources
    module Tests
      class Performer
        enable_simple_cache

        common_constructor(:owner)

        def non_failed_units
          units.reject(&:failed?)
        end

        def failed_units
          units.select(&:failed?)
        end

        # @return [Boolean]
        def successful?
          failed_units.none?
        end

        protected

        def units_uncached
          owner.selected_units
        end
      end
    end
  end
end

Version data entries

256 entries across 256 versions & 3 rubygems

Version Path
eac_tools-0.62.0 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.61.1 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.61.0 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.67.1 lib/avm/sources/tests/performer.rb
eac_tools-0.60.3 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.60.2 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.67.0 lib/avm/sources/tests/performer.rb
eac_tools-0.60.1 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.60.0 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.59.0 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.66.1 lib/avm/sources/tests/performer.rb
eac_tools-0.58.0 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.57.0 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.56.1 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.66.0 lib/avm/sources/tests/performer.rb
eac_tools-0.56.0 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.65.0 lib/avm/sources/tests/performer.rb
eac_tools-0.55.7 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.64.2 lib/avm/sources/tests/performer.rb
eac_tools-0.55.6 sub/avm/lib/avm/sources/tests/performer.rb