Sha256: 7d32794de8a60f84ef67e6b5c1815c745f8dd06e6a948a8d2a0ef411caf14333
Contents?: true
Size: 980 Bytes
Versions: 2
Compression:
Stored size: 980 Bytes
Contents
require 'pathname' module OrigenTesters module SmartestBasedTester class Base class VariablesFile include OrigenTesters::Generator attr_reader :flow_control_variables, :runtime_control_variables attr_accessor :filename, :id def initialize(options = {}) @flow_control_variables = [] @runtime_control_variables = [] end def subdirectory 'testflow/mfh.testflow.setup' end def clean_flow_control_variables flow_control_variables.uniq.sort do |x, y| x = x[0] if x.is_a?(Array) y = y[0] if y.is_a?(Array) x <=> y end end def clean_runtime_control_variables runtime_control_variables.uniq.sort do |x, y| x = x[0] if x.is_a?(Array) y = y[0] if y.is_a?(Array) x <=> y end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
origen_testers-0.13.2 | lib/origen_testers/smartest_based_tester/base/variables_file.rb |
origen_testers-0.10.0 | lib/origen_testers/smartest_based_tester/base/variables_file.rb |