third_party/blink/tools/blinkpy/style/checkers/cpp_unittest.py
def assert_function_length_check_definition(self, lines, error_level):
        """Generate long function definition and check warnings are as expected.

        Args:
          lines: Number of lines to generate.
          error_level:  --v setting for cpp_style.
        """
        trigger_level = self.trigger_lines(self.min_confidence)
        self.assert_function_lengths_check(
            'void test(int x)' + self.function_body(lines),
            ('Small and focused functions are preferred: '
             'test() has %d non-comment lines '
             '(error triggered by exceeding %d lines).'
             '  [readability/fn_size] [%d]' %
             (lines, trigger_level, error_level)))
Generate long function definition and check warnings are as expected.

        Args:
          lines: Number of lines to generate.
          error_level:  --v setting for cpp_style.
        
Generate long function definition and check warnings are as expected.
Generate long function definition and check warnings are as expected .
def assert_function_length_check_definition(self, lines, error_level):
        trigger_level = self.trigger_lines(self.min_confidence)
        self.assert_function_lengths_check(
            'void test(int x)' + self.function_body(lines),
            ('Small and focused functions are preferred: '
             'test() has %d non-comment lines '
             '(error triggered by exceeding %d lines).'
             '  [readability/fn_size] [%d]' %
             (lines, trigger_level, error_level)))
def assert_function_length_check_definition ( self , lines , error_level ) : trigger_level = self . trigger_lines ( self . min_confidence ) self . assert_function_lengths_check ( 'void test(int x)' + self . function_body ( lines ) , ( 'Small and focused functions are preferred: ' 'test() has %d non-comment lines ' '(error triggered by exceeding %d lines).' '  [readability/fn_size] [%d]' % ( lines , trigger_level , error_level ) ) )
Generate long function definition and check warnings are as expected.
Generate long function definition and check warnings are as expected .
"""Generate long function definition and check warnings are as expected.

        Args:
          lines: Number of lines to generate.
          error_level:  --v setting for cpp_style.
        """
self
lines
Number of lines to generate.
Number of lines to generate .
error_level
v setting for cpp_style.
v setting for cpp_style .