tools/perf/generate_legacy_perf_dashboard_json_unittest.py
def _ConstructParseAndCheckLogfiles(self, inputfiles, graphs):
    """Uses a log processor to process the given input files.

    Args:
      inputfiles: A list of input performance results log file names.
      logfiles: List of expected output ".dat" file names.

    Returns:
      A dictionary mapping output file name to output file lines.
    """
    parser = self._ConstructDefaultProcessor()
    for inputfile in inputfiles:
      self._ProcessLog(parser, inputfile)

    logs = json.loads(parser.GenerateGraphJson())
    for graph in graphs:
      self._CheckFileExistsWithData(logs, graph)

    return logs
Uses a log processor to process the given input files.

    Args:
      inputfiles: A list of input performance results log file names.
      logfiles: List of expected output ".dat" file names.

    Returns:
      A dictionary mapping output file name to output file lines.
    
Uses a log processor to process the given input files.
Uses a log processor to process the given input files .
def _ConstructParseAndCheckLogfiles(self, inputfiles, graphs):
    parser = self._ConstructDefaultProcessor()
    for inputfile in inputfiles:
      self._ProcessLog(parser, inputfile)
    logs = json.loads(parser.GenerateGraphJson())
    for graph in graphs:
      self._CheckFileExistsWithData(logs, graph)
    return logs
def _ConstructParseAndCheckLogfiles ( self , inputfiles , graphs ) : parser = self . _ConstructDefaultProcessor ( ) for inputfile in inputfiles : self . _ProcessLog ( parser , inputfile ) logs = json . loads ( parser . GenerateGraphJson ( ) ) for graph in graphs : self . _CheckFileExistsWithData ( logs , graph ) return logs
Uses a log processor to process the given input files.
Uses a log processor to process the given input files .
"""Uses a log processor to process the given input files.

    Args:
      inputfiles: A list of input performance results log file names.
      logfiles: List of expected output ".dat" file names.

    Returns:
      A dictionary mapping output file name to output file lines.
    """
A dictionary mapping output file name to output file lines.
A dictionary mapping output file name to output file lines .
self
inputfiles
A list of input performance results log file names.
A list of input performance results log file names .
graphs
logfiles
List of expected output ".dat" file names.
List of expected output " . dat " file names .