Sha256: 8fbd4c4d5dce4c3ee038d54c23fed5f7964ccc054c3961acb194cd57038ec777

Contents?: true

Size: 487 Bytes

Versions: 13

Compression:

Stored size: 487 Bytes

Contents

#
# testing ruote
#
# Wed Jul  1 23:27:49 JST 2009
#

module RestartBase

  def setup
    @tracer = Tracer.new
  end

  def teardown
    @engine.shutdown
    @storage.purge!
  end

  protected

  def start_new_engine

    @storage = determine_storage(
      's_logger' => [ 'ruote/log/test_logger', 'Ruote::TestLogger' ],
      :persistent => true)

    @engine = Ruote::Engine.new(Ruote::Worker.new(@storage))

    #@tracer.clear

    @engine.add_service('tracer', @tracer)
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
ruote-maestrodev-2.2.1 test/functional/restart_base.rb
ruote-2.2.0 test/functional/restart_base.rb
ruote-2.1.11 test/functional/restart_base.rb
ruote-2.1.10 test/functional/restart_base.rb
ruote-2.1.9 test/functional/restart_base.rb
ruote-2.1.8 test/functional/restart_base.rb
ruote-2.1.7 test/functional/restart_base.rb
ruote-2.1.6 test/functional/restart_base.rb
ruote-2.1.5 test/functional/restart_base.rb
ruote-2.1.4 test/functional/restart_base.rb
ruote-2.1.3 test/functional/restart_base.rb
ruote-2.1.2 test/functional/restart_base.rb
ruote-2.1.1 test/functional/restart_base.rb