tools/code_coverage/coverage.py
def _GetProfrawDataFileByParsingOutput(output):
  """Returns the path to the profraw data file obtained by parsing the output.

  The output of running the test target has no format, but it is guaranteed to
  have a single line containing the path to the generated profraw data file.
  NOTE: This should only be called when target os is iOS.
  """
  assert _IsIOS()

  output_by_lines = ''.join(output).splitlines()
  profraw_file_pattern = re.compile('.*Coverage data at (.*coverage\.profraw).')

  for line in output_by_lines:
    result = profraw_file_pattern.match(line)
    if result:
      return result.group(1)

  assert False, ('No profraw data file was generated, did you call '
                 'coverage_util::ConfigureCoverageReportPath() in test setup? '
                 'Please refer to base/test/test_support_ios.mm for example.')
Returns the path to the profraw data file obtained by parsing the output.

  The output of running the test target has no format, but it is guaranteed to
  have a single line containing the path to the generated profraw data file.
  NOTE: This should only be called when target os is iOS.
  
Returns the path to the profraw data file obtained by parsing the output.
The output of running the test target has no format, but it is guaranteed to
have a single line containing the path to the generated profraw data file.
NOTE: This should only be called when target os is iOS.
Returns the path to the profraw data file obtained by parsing the output . The output of running the test target has no format but it is guaranteed to have a single line containing the path to the generated profraw data file . NOTE : This should only be called when target os is iOS .
def _GetProfrawDataFileByParsingOutput(output):
  assert _IsIOS()
  output_by_lines = ''.join(output).splitlines()
  profraw_file_pattern = re.compile('.*Coverage data at (.*coverage\.profraw).')
  for line in output_by_lines:
    result = profraw_file_pattern.match(line)
    if result:
      return result.group(1)
  assert False, ('No profraw data file was generated, did you call '
                 'coverage_util::ConfigureCoverageReportPath() in test setup? '
                 'Please refer to base/test/test_support_ios.mm for example.')
def _GetProfrawDataFileByParsingOutput ( output ) : assert _IsIOS ( ) output_by_lines = '' . join ( output ) . splitlines ( ) profraw_file_pattern = re . compile ( '.*Coverage data at (.*coverage\.profraw).' ) for line in output_by_lines : result = profraw_file_pattern . match ( line ) if result : return result . group ( 1 ) assert False , ( 'No profraw data file was generated, did you call ' 'coverage_util::ConfigureCoverageReportPath() in test setup? ' 'Please refer to base/test/test_support_ios.mm for example.' )
Returns the path to the profraw data file obtained by parsing the output.
Returns the path to the profraw data file obtained by parsing the output .
"""Returns the path to the profraw data file obtained by parsing the output.

  The output of running the test target has no format, but it is guaranteed to
  have a single line containing the path to the generated profraw data file.
  NOTE: This should only be called when target os is iOS.
  """
output