Sha256: 1142bd5d67cdd3bea023e20071796fe4b22ebaf30513e479b03003a261b7ec9e

Contents?: true

Size: 306 Bytes

Versions: 57

Compression:

Stored size: 306 Bytes

Contents

# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2021

class MockTimer
  attr_reader :opts, :block, :running

  def initialize(*args, &blk)
    @opts = args.first
    @block = blk
    @running = false
  end

  def shutdown
    @running = false
  end

  def execute
    @running = true
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
instana-1.209.6 test/support/mock_timer.rb
instana-1.209.5 test/support/mock_timer.rb
instana-1.209.4 test/support/mock_timer.rb
instana-1.209.3 test/support/mock_timer.rb
instana-1.209.2 test/support/mock_timer.rb
instana-1.209.1 test/support/mock_timer.rb
instana-1.209.0.pre3 test/support/mock_timer.rb
instana-1.209.0.pre2 test/support/mock_timer.rb
instana-1.209.0.pre1 test/support/mock_timer.rb
instana-1.208.0 test/support/mock_timer.rb
instana-1.207.0 test/support/mock_timer.rb
instana-1.206.0 test/support/mock_timer.rb
instana-1.205.0 test/support/mock_timer.rb
instana-1.204.0 test/support/mock_timer.rb
instana-1.204.0.pre3 test/support/mock_timer.rb
instana-1.204.0.pre2 test/support/mock_timer.rb
instana-1.204.0.pre1 test/support/mock_timer.rb
instana-1.203.2 test/support/mock_timer.rb
instana-1.203.1 test/support/mock_timer.rb
instana-1.203.0 test/support/mock_timer.rb