Sha256: 7a78eeceb2a1e05d6d03d5048a4319797b8a779a050c9493d2ac9d65b41e498b

Contents?: true

Size: 808 Bytes

Versions: 30

Compression:

Stored size: 808 Bytes

Contents

module Dynflow
  module Testing
    extend Algebrick::TypeCheck

    def self.logger_adapter
      @logger_adapter || LoggerAdapters::Simple.new($stdout, 1)
    end

    def self.logger_adapter=(adapter)
      Type! adapter, LoggerAdapters::Abstract
      @logger_adapter = adapter
    end

    def self.get_id
      @last_id ||= 0
      @last_id += 1
    end

    require 'dynflow/testing/mimic'
    require 'dynflow/testing/managed_clock'
    require 'dynflow/testing/dummy_world'
    require 'dynflow/testing/dummy_executor'
    require 'dynflow/testing/dummy_execution_plan'
    require 'dynflow/testing/dummy_step'
    require 'dynflow/testing/dummy_planned_action'
    require 'dynflow/testing/assertions'
    require 'dynflow/testing/factories'

    include Assertions
    include Factories
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
dynflow-0.8.16 lib/dynflow/testing.rb
dynflow-0.8.15 lib/dynflow/testing.rb
dynflow-0.8.14 lib/dynflow/testing.rb
dynflow-0.8.13 lib/dynflow/testing.rb
dynflow-0.8.12 lib/dynflow/testing.rb
dynflow-0.8.11 lib/dynflow/testing.rb
dynflow-0.8.10 lib/dynflow/testing.rb
dynflow-0.8.9 lib/dynflow/testing.rb
dynflow-0.8.8 lib/dynflow/testing.rb
dynflow-0.8.7 lib/dynflow/testing.rb
dynflow-0.8.6 lib/dynflow/testing.rb
dynflow-0.8.5 lib/dynflow/testing.rb
dynflow-0.8.4 lib/dynflow/testing.rb
dynflow-0.8.3 lib/dynflow/testing.rb
dynflow-0.8.2 lib/dynflow/testing.rb
dynflow-0.8.1 lib/dynflow/testing.rb
dynflow-0.8.0 lib/dynflow/testing.rb
dynflow-0.7.9 lib/dynflow/testing.rb
dynflow-0.7.8 lib/dynflow/testing.rb
dynflow-0.7.7 lib/dynflow/testing.rb