Sha256: 7c61b908e4ac68f25f6305425985056f1a9ff5181778f01ed58cda7b49c4dc75
Contents?: true
Size: 942 Bytes
Versions: 19
Compression:
Stored size: 942 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
19 entries across 19 versions & 1 rubygems