Lines Matching +full:- +full:- +full:exit +full:- +full:code
4 # Unity Project - A Test Framework for C
70 source = source.force_encoding('ISO-8859-1').encode('utf-8', replace: nil)
75 testfile_includes = (testfile_includes - used_mocks)
154 …args += type_and_args[i + 1].scan(/(\[|<)\s*(-?\d+.?\d*)\s*,\s*(-?\d+.?\d*)\s*,\s*(-?\d+.?\d*)\s*(…
155 exclude_end = arg_values_str[0] == '<' && arg_values_str[-1] == '>'
156 arg_values_str[1...-1].map do |arg_value_str|
168 …_arg_regex_string = /(?:(?:"(?:\\"|[^\\])*?")+|(?:'\\?.')+|(?:[^\s\]\["',]|\[[\d\S_-]+\])+)/.source
231 … @options[:has_suite_teardown] ||= (source =~ /int\s+suiteTearDown\s*\(int\s+([a-zA-Z0-9_])+\s*\)/)
466 filename = File.basename(filename).gsub(/[-\/\\.,\s]/, '_').upcase
496 when '-cexception'
499 when '-externcincludes'
505 when /--(\w+)="?(.*)"?/
518 "\n input_test_file - this is the C file you want to create a runner for",
519 ' output - this is the name of the runner file to generate',
522 ' *.yml / *.yaml - loads configuration from here in :unity or :cmock',
523 ' *.h - header files are added as #includes in runner',
525 ' -cexception - include cexception support',
526 ' -externc - add extern "C" for cpp support',
527 ' --setup_name="" - redefine setUp func name to something else',
528 ' --teardown_name="" - redefine tearDown func name to something else',
529 ' --main_name="" - redefine main func name to something else',
530 ' --test_prefix="" - redefine test prefix from default test|spec|should',
531 ' --test_reset_name="" - redefine resetTest func name to something else',
532 ' --test_verify_name="" - redefine verifyTest func name to something else',
533 ' --suite_setup="" - code to execute for setup of entire suite',
534 ' --suite_teardown="" - code to execute for teardown of entire suite',
535 ' --use_param_tests=1 - enable parameterized tests (disabled by default)',
536 ' --omit_begin_end=1 - omit calls to UnityBegin and UnityEnd (disabled by default)',
537 ' --header_file="" - path/name of test header file to generate too'].join("\n")
538 exit 1