Sha256: 1f62e1f17d81438e09b31e505f525a6c42e48d803edaa211a614ade1fb2b0462

Contents?: true

Size: 592 Bytes

Versions: 7

Compression:

Stored size: 592 Bytes

Contents

module NewRelic; TEST = true; end unless defined? NewRelic::TEST

NEWRELIC_PLUGIN_DIR = File.expand_path(File.join(File.dirname(__FILE__),".."))
$LOAD_PATH << File.join(NEWRELIC_PLUGIN_DIR,"test")
$LOAD_PATH << File.join(NEWRELIC_PLUGIN_DIR,"ui/helpers")
$LOAD_PATH.uniq!

require File.expand_path(File.join(NEWRELIC_PLUGIN_DIR, "..","..","..","config","environment"))

require 'test_help'
require 'mocha'
require 'test/unit'

def assert_between(floor, ceiling, value, message = nil)
  assert floor <= value && value <= ceiling,
  message || "expected #{floor} <= #{value} <= #{ceiling}"
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
newrelic_rpm-2.9.9 test/test_helper.rb
newrelic_rpm-2.9.8 test/test_helper.rb
newrelic_rpm-2.9.6 test/test_helper.rb
newrelic_rpm-2.9.5 test/test_helper.rb
newrelic_rpm-2.9.2 test/test_helper.rb
newrelic_rpm-2.9.3 test/test_helper.rb
newrelic_rpm-2.9.4 test/test_helper.rb