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.94.0 lib/avm/sources/tests/performer.rb
eac_tools-0.94.0 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.93.0 lib/avm/sources/tests/performer.rb
eac_tools-0.92.0 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.92.0 lib/avm/sources/tests/performer.rb
eac_tools-0.91.0 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.90.1 lib/avm/sources/tests/performer.rb
eac_tools-0.87.1 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.90.0 lib/avm/sources/tests/performer.rb
eac_tools-0.87.0 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.89.0 lib/avm/sources/tests/performer.rb
eac_tools-0.86.12 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.88.0 lib/avm/sources/tests/performer.rb
eac_tools-0.86.11 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.87.0 lib/avm/sources/tests/performer.rb
eac_tools-0.86.8 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.86.2 lib/avm/sources/tests/performer.rb
eac_tools-0.86.7 sub/avm/lib/avm/sources/tests/performer.rb
avm-0.86.1 lib/avm/sources/tests/performer.rb
eac_tools-0.86.5 sub/avm/lib/avm/sources/tests/performer.rb