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.79.0 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.80.0 lib/avm/sources/tests/performer.rb
eac_tools-0.78.0 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.77.1 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.77.0 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.76.1 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.76.0 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.75.2 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.75.1 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.75.0 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.74.1 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.74.0 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.79.0 lib/avm/sources/tests/performer.rb
eac_tools-0.73.0 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.72.0 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.78.0 lib/avm/sources/tests/performer.rb
eac_tools-0.70.1 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.77.0 lib/avm/sources/tests/performer.rb
eac_tools-0.70.0 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.76.0 lib/avm/sources/tests/performer.rb