Sha256: 419e52f4220da99095c17e73cb04cc9411e21e20912fc143d17224ae1a3e6a5a

Contents?: true

Size: 574 Bytes

Versions: 11

Compression:

Stored size: 574 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.

require File.expand_path(File.join(File.dirname(__FILE__),'..', '..', 'test_helper'))
class NewRelic::MetricParser::MetricParserTest < Minitest::Test
  class ::AnApplicationClass
  end

  def test_metric_parser_does_not_instantiate_non_metric_parsing_classes
    assert NewRelic::MetricParser::MetricParser.for_metric_named('AnApplicationClass/Foo/Bar').
      is_a? NewRelic::MetricParser::MetricParser
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
newrelic_rpm-3.9.6.257 test/new_relic/metric_parser/metric_parser_test.rb
newrelic_rpm-3.9.5.251 test/new_relic/metric_parser/metric_parser_test.rb
newrelic_rpm-3.9.4.245 test/new_relic/metric_parser/metric_parser_test.rb
newrelic_rpm-3.9.3.241 test/new_relic/metric_parser/metric_parser_test.rb
newrelic_rpm-3.9.2.239 test/new_relic/metric_parser/metric_parser_test.rb
newrelic_rpm-3.9.1.236 test/new_relic/metric_parser/metric_parser_test.rb
newrelic_rpm-3.9.0.229 test/new_relic/metric_parser/metric_parser_test.rb
newrelic_rpm-3.8.1.221 test/new_relic/metric_parser/metric_parser_test.rb
newrelic_rpm-3.8.0.218 test/new_relic/metric_parser/metric_parser_test.rb
newrelic_rpm-3.7.3.204 test/new_relic/metric_parser/metric_parser_test.rb
newrelic_rpm-3.7.3.199 test/new_relic/metric_parser/metric_parser_test.rb