Sha256: 6b985faefd92fe9fe166aea99036b97236496077f4572e91cb56fbcbe1cff2c0

Contents?: true

Size: 808 Bytes

Versions: 6

Compression:

Stored size: 808 Bytes

Contents

module Dynflow
  module Testing
    extend Algebrick::TypeCheck

    def self.logger_adapter
      @logger_adapter ||= LoggerAdapters::Simple.new $stdout, 0
    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

6 entries across 6 versions & 1 rubygems

Version Path
dynflow-0.5.1 lib/dynflow/testing.rb
dynflow-0.5.0 lib/dynflow/testing.rb
dynflow-0.4.1 lib/dynflow/testing.rb
dynflow-0.4.0 lib/dynflow/testing.rb
dynflow-0.3.0 lib/dynflow/testing.rb
dynflow-0.2.0 lib/dynflow/testing.rb