def METHOD_NAME(output):
  """Normalizes the output of gmock_output_test_.
  Args:
    output: The test output.
  Returns:
    A tuple (the normalized test output, the list of test names that have
    leaked mocks).
  """
  output = ToUnixLineEnding(output)
  output = RemoveReportHeaderAndFooter(output)
  output = NormalizeErrorMarker(output)
  output = RemoveLocations(output)
  output = RemoveMemoryAddresses(output)
  return (RemoveTestNamesOfLeakedMocks(output), GetLeakyTests(output))