third_party/blink/tools/blinkpy/web_tests/controllers/manager.py
def _copy_results_html_file(self, destination_dir, filename):
        """Copies a file from the template directory to the results directory."""
        template_dir = self._path_finder.path_from_web_tests('fast', 'harness')
        source_path = self._filesystem.join(template_dir, filename)
        destination_path = self._filesystem.join(destination_dir, filename)
        # Note that the results.html template file won't exist when
        # we're using a MockFileSystem during unit tests, so make sure
        # it exists before we try to copy it.
        if self._filesystem.exists(source_path):
            self._filesystem.copyfile(source_path, destination_path)
Copies a file from the template directory to the results directory.
Copies a file from the template directory to the results directory.
Copies a file from the template directory to the results directory .
def _copy_results_html_file(self, destination_dir, filename):
        template_dir = self._path_finder.path_from_web_tests('fast', 'harness')
        source_path = self._filesystem.join(template_dir, filename)
        destination_path = self._filesystem.join(destination_dir, filename)
        if self._filesystem.exists(source_path):
            self._filesystem.copyfile(source_path, destination_path)
def _copy_results_html_file ( self , destination_dir , filename ) : template_dir = self . _path_finder . path_from_web_tests ( 'fast' , 'harness' ) source_path = self . _filesystem . join ( template_dir , filename ) destination_path = self . _filesystem . join ( destination_dir , filename ) if self . _filesystem . exists ( source_path ) : self . _filesystem . copyfile ( source_path , destination_path )
Copies a file from the template directory to the results directory.
Copies a file from the template directory to the results directory .
"""Copies a file from the template directory to the results directory.""" # Note that the results.html template file won't exist when # we're using a MockFileSystem during unit tests, so make sure # it exists before we try to copy it.
self
destination_dir
filename