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
avm-0.86.0 lib/avm/sources/tests/performer.rb
eac_tools-0.86.4 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.86.3 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.85.0 lib/avm/sources/tests/performer.rb
eac_tools-0.86.2 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.84.3 lib/avm/sources/tests/performer.rb
eac_tools-0.86.1 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.84.2 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.84.2 lib/avm/sources/tests/performer.rb
eac_tools-0.84.1 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.84.1 lib/avm/sources/tests/performer.rb
eac_tools-0.84.0 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.84.0 lib/avm/sources/tests/performer.rb
eac_tools-0.83.0 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.83.0 lib/avm/sources/tests/performer.rb
eac_tools-0.82.0 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.82.0 lib/avm/sources/tests/performer.rb
eac_tools-0.81.0 sub/avm/lib/avm/sources/tests/performer.rb
eac_tools-0.80.0 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.81.0 lib/avm/sources/tests/performer.rb