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.21.0 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.20.0 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.19.3 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.19.2 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.19.0 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.18.0 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.17.0 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.16.1 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.16.0 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.15.0 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.14.0 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.13.1 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.13.0 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.12.0 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.11.1 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.11.0 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.9.9 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.9.8 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.9.7 lib/origen_testers/igxl_based_tester/parser/test_instances.rb
origen_testers-0.9.6 lib/origen_testers/igxl_based_tester/parser/test_instances.rb