Sha256: ce49ee0f43a39210f686a145c37af4d857bf88b75de7c219464ec25a49134fda
Contents?: true
Size: 1.1 KB
Versions: 101
Compression:
Stored size: 1.1 KB
Contents
module OrigenTesters module IGXLBasedTester class Base class TestInstances # Custom Test Instance library class CustomTil # Returns the test_instances object for the current flow attr_reader :test_instances attr_reader :definitions def initialize(test_instances, definitions) @test_instances = test_instances @definitions = definitions end def method_missing(method, *args, &block) if definitions[method] name = args.shift ti = platform::CustomTestInstance.new name, methods: definitions[method].dup, attrs: (args.first || {}), type: method, library: self test_instances.add(nil, ti) ti else super end end def platform test_instances.platform end end end end end end
Version data entries
101 entries across 101 versions & 1 rubygems