Lines Matching full:line
128 …source_scrubbed = source_scrubbed.gsub(/\/\/(?:.+\/\*|\*(?:$|[^\/])).*$/, '') # remove line comme…
130 …source_scrubbed = source_scrubbed.gsub(/\/\/.*$/, '') # remove line comme…
131 …|\}) /x) # Treat preprocessor directives as a logical line. Match ;, {, and } …
132 ….map { |line| line.gsub(substring_unre, substring_unsubs) } # unhide the problematic characters pr…
134 lines.each_with_index do |line, _index|
136 …next unless line =~ /^((?:\s*(?:TEST_(?:CASE|RANGE|MATRIX))\s*\(.*?\)\s*)*)\s*void\s+((?:#{@option…
137 …next unless line =~ /^((?:\s*(?:TEST_(?:CASE|RANGE|MATRIX))\s*\(.*?\)\s*)*)\s*void\s+((?:#{@option…
188 # determine line numbers and create tests to run
192 source_lines[source_index..].each_with_index do |line, index|
193 next unless line =~ /\s+#{tests_and_line_numbers[i][:test]}(?:\s|\()/
205 # remove comments (block and line, in three steps to ensure correct precedence)
206 …source.gsub!(/\/\/(?:.+\/\*|\*(?:$|[^\/])).*$/, '') # remove line comments that comment out the s…
208 source.gsub!(/\/\/.*$/, '') # remove line comments (all that remain)