third_party/blink/tools/blinkpy/w3c/import_notifier.py
def examine_baseline_changes(self, changed_test_baselines,
                                 gerrit_url_with_ps):
        """Examines all changed baselines to find new failures.

        Args:
            changed_test_baselines: A dictionary mapping test names to paths of
                changed baselines.
            gerrit_url_with_ps: Gerrit URL of this CL with the patchset number.
        """
        for test_name, changed_baselines in changed_test_baselines.items():
            directory = self.find_owned_directory(test_name)
            if not directory:
                _log.warning('Cannot find OWNERS of %s', test_name)
                continue

            for baseline in changed_baselines:
                if self.more_failures_in_baseline(baseline):
                    self.new_failures_by_directory[directory].append(
                        TestFailure(
                            TestFailure.BASELINE_CHANGE,
                            test_name,
                            baseline_path=baseline,
                            gerrit_url_with_ps=gerrit_url_with_ps))
Examines all changed baselines to find new failures.

        Args:
            changed_test_baselines: A dictionary mapping test names to paths of
                changed baselines.
            gerrit_url_with_ps: Gerrit URL of this CL with the patchset number.
        
Examines all changed baselines to find new failures.
Examines all changed baselines to find new failures .
def examine_baseline_changes(self, changed_test_baselines,
                                 gerrit_url_with_ps):
        for test_name, changed_baselines in changed_test_baselines.items():
            directory = self.find_owned_directory(test_name)
            if not directory:
                _log.warning('Cannot find OWNERS of %s', test_name)
                continue
            for baseline in changed_baselines:
                if self.more_failures_in_baseline(baseline):
                    self.new_failures_by_directory[directory].append(
                        TestFailure(
                            TestFailure.BASELINE_CHANGE,
                            test_name,
                            baseline_path=baseline,
                            gerrit_url_with_ps=gerrit_url_with_ps))
def examine_baseline_changes ( self , changed_test_baselines , gerrit_url_with_ps ) : for test_name , changed_baselines in changed_test_baselines . items ( ) : directory = self . find_owned_directory ( test_name ) if not directory : _log . warning ( 'Cannot find OWNERS of %s' , test_name ) continue for baseline in changed_baselines : if self . more_failures_in_baseline ( baseline ) : self . new_failures_by_directory [ directory ] . append ( TestFailure ( TestFailure . BASELINE_CHANGE , test_name , baseline_path = baseline , gerrit_url_with_ps = gerrit_url_with_ps ) )
Examines all changed baselines to find new failures.
Examines all changed baselines to find new failures .
"""Examines all changed baselines to find new failures.

        Args:
            changed_test_baselines: A dictionary mapping test names to paths of
                changed baselines.
            gerrit_url_with_ps: Gerrit URL of this CL with the patchset number.
        """
self
changed_test_baselines
A dictionary mapping test names to paths of
changed baselines.
A dictionary mapping test names to paths of changed baselines .
gerrit_url_with_ps
Gerrit URL of this CL with the patchset number.
Gerrit URL of this CL with the patchset number .