third_party/blink/tools/blinkpy/web_tests/update_expectations.py
def _get_builder_results_by_path(self):
        """Returns a dictionary of results for each builder.

        Returns a dictionary where each key is a builder and value is a dictionary containing
        the distinct results for each test. E.g.

        {
            'WebKit Linux Precise': {
                  'test1.html': ['PASS', 'IMAGE'],
                  'test2.html': ['PASS'],
            },
            'WebKit Mac10.10': {
                  'test1.html': ['PASS', 'IMAGE'],
                  'test2.html': ['PASS', 'TEXT'],
            }
        }
        """
        builder_results_by_path = {}
        builders = []
        if self._include_cq_results:
            builders = self._host.builders.all_builder_names()
        else:
            builders = self._host.builders.all_continuous_builder_names()

        for builder_name in builders:
            expectations_for_builder = (
                self._expectations_factory.expectations_for_builder(builder_name)
            )

            if not expectations_for_builder:
                # This is not fatal since we may not need to check these
                # results. If we do need these results we'll log an error later
                # when trying to check against them.
                _log.warning(
                    'Downloaded results are missing results for builder "%s"',
                    builder_name)
                continue

            builder_results_by_path[builder_name] = (
                expectations_for_builder.all_results_by_path())
        return builder_results_by_path
Returns a dictionary of results for each builder.

        Returns a dictionary where each key is a builder and value is a dictionary containing
        the distinct results for each test. E.g.

        {
            'WebKit Linux Precise': {
                  'test1.html': ['PASS', 'IMAGE'],
                  'test2.html': ['PASS'],
            },
            'WebKit Mac10.10': {
                  'test1.html': ['PASS', 'IMAGE'],
                  'test2.html': ['PASS', 'TEXT'],
            }
        }
        
Returns a dictionary of results for each builder.
Returns a dictionary where each key is a builder and value is a dictionary containing
the distinct results for each test.


Returns a dictionary of results for each builder . Returns a dictionary where each key is a builder and value is a dictionary containing the distinct results for each test .
def _get_builder_results_by_path(self):
        builder_results_by_path = {}
        builders = []
        if self._include_cq_results:
            builders = self._host.builders.all_builder_names()
        else:
            builders = self._host.builders.all_continuous_builder_names()
        for builder_name in builders:
            expectations_for_builder = (
                self._expectations_factory.expectations_for_builder(builder_name)
            )
            if not expectations_for_builder:
                _log.warning(
                    'Downloaded results are missing results for builder "%s"',
                    builder_name)
                continue
            builder_results_by_path[builder_name] = (
                expectations_for_builder.all_results_by_path())
        return builder_results_by_path
def _get_builder_results_by_path ( self ) : builder_results_by_path = { } builders = [ ] if self . _include_cq_results : builders = self . _host . builders . all_builder_names ( ) else : builders = self . _host . builders . all_continuous_builder_names ( ) for builder_name in builders : expectations_for_builder = ( self . _expectations_factory . expectations_for_builder ( builder_name ) ) if not expectations_for_builder : _log . warning ( 'Downloaded results are missing results for builder "%s"' , builder_name ) continue builder_results_by_path [ builder_name ] = ( expectations_for_builder . all_results_by_path ( ) ) return builder_results_by_path
Returns a dictionary of results for each builder.
Returns a dictionary of results for each builder .
"""Returns a dictionary of results for each builder.

        Returns a dictionary where each key is a builder and value is a dictionary containing
        the distinct results for each test. E.g.

        {
            'WebKit Linux Precise': {
                  'test1.html': ['PASS', 'IMAGE'],
                  'test2.html': ['PASS'],
            },
            'WebKit Mac10.10': {
                  'test1.html': ['PASS', 'IMAGE'],
                  'test2.html': ['PASS', 'TEXT'],
            }
        }
        """ # This is not fatal since we may not need to check these # results. If we do need these results we'll log an error later # when trying to check against them.
self