Sha256: f47e9eb61522165f7be79d820de86ec49042a82c9f1fb4a762451beeb2fed190

Contents?: true

Size: 539 Bytes

Versions: 106

Compression:

Stored size: 539 Bytes

Contents

module OrigenTesters
  class IGXLBasedTester
    class Parser
      class TestInstances < ::OrigenTesters::Parser::SearchableHash
        attr_accessor :parser

        def initialize(options = {})
          @parser = options[:parser]
        end

        def import(file)
          File.readlines(file).each do |line|
            l = TestInstance.new(line, parser: parser)
            self[l.name] = l if l.valid?
          end
        end

        def inspect
          "<TestInstances: #{size}>"
        end
      end
    end
  end
end

Version data entries

106 entries across 106 versions & 1 rubygems

Version Path
origen_testers-0.9.5 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.9.4 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.9.3 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.9.2 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.9.1 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.9.0 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.8.13 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.8.11 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.8.8 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.8.7 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.8.6 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.8.5 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.8.4 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.8.3 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.8.2 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.8.1 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.8.0 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.8.0.pre1 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.7.13 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.7.12 lib/origen_testers/igxl_based_tester/parser/test_instances.rb