third_party/blink/PRESUBMIT_test.py
def testCheckChangeOnUploadWithEmptyAffectedFileList(self, _):
        """This verifies that CheckChangeOnUpload will skip calling
        check_blink_style.py if the affected file list is empty.
        """
        diff_file_chromium1_h = ['some diff']
        diff_file_chromium2_h = ['another diff']
        diff_file_layout_test_html = ['more diff']
        mock_input_api = MockInputApi()
        mock_input_api.files = []
        # Access to a protected member _CheckStyle
        # pylint: disable=W0212
        PRESUBMIT._CheckStyle(mock_input_api, MockOutputApi())
        self.assertEqual(0, subprocess.Popen.call_count)
This verifies that CheckChangeOnUpload will skip calling
        check_blink_style.py if the affected file list is empty.
        
This verifies that CheckChangeOnUpload will skip calling
check_blink_style.py if the affected file list is empty.
This verifies that CheckChangeOnUpload will skip calling check_blink_style . py if the affected file list is empty .
def testCheckChangeOnUploadWithEmptyAffectedFileList(self, _):
        diff_file_chromium1_h = ['some diff']
        diff_file_chromium2_h = ['another diff']
        diff_file_layout_test_html = ['more diff']
        mock_input_api = MockInputApi()
        mock_input_api.files = []
        PRESUBMIT._CheckStyle(mock_input_api, MockOutputApi())
        self.assertEqual(0, subprocess.Popen.call_count)
def testCheckChangeOnUploadWithEmptyAffectedFileList ( self , _ ) : diff_file_chromium1_h = [ 'some diff' ] diff_file_chromium2_h = [ 'another diff' ] diff_file_layout_test_html = [ 'more diff' ] mock_input_api = MockInputApi ( ) mock_input_api . files = [ ] PRESUBMIT . _CheckStyle ( mock_input_api , MockOutputApi ( ) ) self . assertEqual ( 0 , subprocess . Popen . call_count )
This verifies that CheckChangeOnUpload will skip calling
check_blink_style.py if the affected file list is empty.
This verifies that CheckChangeOnUpload will skip calling check_blink_style . py if the affected file list is empty .
"""This verifies that CheckChangeOnUpload will skip calling
        check_blink_style.py if the affected file list is empty.
        """ # Access to a protected member _CheckStyle # pylint: disable=W0212
self
_