content/test/gpu/gpu_tests/skia_gold_integration_test_base.py
def _OutputLocalDiffFiles(gold_session, image_name):
  """Logs the local diff image files from the given SkiaGoldSession.

  Args:
    gold_session: A skia_gold_session.SkiaGoldSession instance to pull files
        from.
    image_name: A string containing the name of the image/test that was
        compared.
  """
  given_file = gold_session.GetGivenImageLink(image_name)
  closest_file = gold_session.GetClosestImageLink(image_name)
  diff_file = gold_session.GetDiffImageLink(image_name)
  failure_message = 'Unable to retrieve link'
  logging.error('Generated image: %s', given_file or failure_message)
  logging.error('Closest image: %s', closest_file or failure_message)
  logging.error('Diff image: %s', diff_file or failure_message)
Logs the local diff image files from the given SkiaGoldSession.

  Args:
    gold_session: A skia_gold_session.SkiaGoldSession instance to pull files
        from.
    image_name: A string containing the name of the image/test that was
        compared.
  
Logs the local diff image files from the given SkiaGoldSession.
Logs the local diff image files from the given SkiaGoldSession .
def _OutputLocalDiffFiles(gold_session, image_name):
  given_file = gold_session.GetGivenImageLink(image_name)
  closest_file = gold_session.GetClosestImageLink(image_name)
  diff_file = gold_session.GetDiffImageLink(image_name)
  failure_message = 'Unable to retrieve link'
  logging.error('Generated image: %s', given_file or failure_message)
  logging.error('Closest image: %s', closest_file or failure_message)
  logging.error('Diff image: %s', diff_file or failure_message)
def _OutputLocalDiffFiles ( gold_session , image_name ) : given_file = gold_session . GetGivenImageLink ( image_name ) closest_file = gold_session . GetClosestImageLink ( image_name ) diff_file = gold_session . GetDiffImageLink ( image_name ) failure_message = 'Unable to retrieve link' logging . error ( 'Generated image: %s' , given_file or failure_message ) logging . error ( 'Closest image: %s' , closest_file or failure_message ) logging . error ( 'Diff image: %s' , diff_file or failure_message )
Logs the local diff image files from the given SkiaGoldSession.
Logs the local diff image files from the given SkiaGoldSession .
"""Logs the local diff image files from the given SkiaGoldSession.

  Args:
    gold_session: A skia_gold_session.SkiaGoldSession instance to pull files
        from.
    image_name: A string containing the name of the image/test that was
        compared.
  """
gold_session
A skia_gold_session.SkiaGoldSession instance to pull files
from.
A skia_gold_session . SkiaGoldSession instance to pull files from .
image_name
A string containing the name of the image/test that was
compared.
A string containing the name of the image / test that was compared .