Sha256: 668ba22075e81f672f2e54c217a9a120be0198b5985df9520d626459df618232
Contents?: true
Size: 881 Bytes
Versions: 25
Compression:
Stored size: 881 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 # These map to user flags and can only be integers flow_control_variables.uniq.sort 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
25 entries across 25 versions & 1 rubygems