Sha256: 974b1f06e068d4037468dfc5d5e65b6cdfb1b2520c64bd75eaa5a815285b7070
Contents?: true
Size: 1.16 KB
Versions: 52
Compression:
Stored size: 1.16 KB
Contents
module C99 class DocInterface include OrigenTesters::Doc::Generator # Options passed to Flow.create and Library.create will be passed in here, use as # desired to configure your interface def initialize(_options = {}) end def resources_filename=(*_args) end def log(_msg) end def func(name, options = {}) options = { duration: :static }.merge(options) block_loop(name, options) do |_block, i, group| ins = tests.add(name, options) if group flow.test(group, options) if i == 0 else flow.test(ins, options) end end end def block_loop(name, options) if options[:by_block] tests.group do |group| group.name = name $nvm.blocks.each_with_index do |block, i| yield block, i, group end end else yield end end def por(_options = {}) end def para(name, options = {}) options = { high_voltage: false }.merge(options) ins = tests.add(name, options) ins.dc_category = 'NVM_PARA' flow.test(ins, options) end end end
Version data entries
52 entries across 52 versions & 1 rubygems