Sha256: 696bade46b05732d6d89dd9ceb802229781b8d06df3a2a84e3cb05c7efc44f61

Contents?: true

Size: 584 Bytes

Versions: 3

Compression:

Stored size: 584 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::Unit::TestCase
  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

3 entries across 3 versions & 1 rubygems

Version Path
newrelic_rpm-3.7.2.195 test/new_relic/metric_parser/metric_parser_test.rb
newrelic_rpm-3.7.2.192 test/new_relic/metric_parser/metric_parser_test.rb
newrelic_rpm-3.7.2.190.beta test/new_relic/metric_parser/metric_parser_test.rb