webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | List of all members
webkitpy.style.checkers.cpp_unittest.CppStyleTest Class Reference
Inheritance diagram for webkitpy.style.checkers.cpp_unittest.CppStyleTest:
webkitpy.style.checkers.cpp_unittest.CppStyleTestBase

Public Member Functions

def test_asm_lines_ignored (self)
 
def test_get_line_width (self)
 
def test_find_next_multi_line_comment_start (self)
 
def test_find_next_multi_line_comment_end (self)
 
def test_remove_multi_line_comments_from_range (self)
 
def test_position (self)
 
def test_rfind_in_lines (self)
 
def test_close_expression (self)
 
def test_spaces_at_end_of_line (self)
 
def test_cstyle_cast (self)
 
def test_runtime_casting (self)
 
def test_runtime_selfinit (self)
 
def test_runtime_rtti (self)
 
def test_static_cast_readability (self)
 
- Public Member Functions inherited from webkitpy.style.checkers.cpp_unittest.CppStyleTestBase
def process_file_data (self, filename, file_extension, lines, error, unit_test_config={})
 
def perform_lint (self, code, filename, basic_error_rules, unit_test_config={}, lines_to_check=None)
 
def perform_single_line_lint (self, code, filename)
 
def perform_multi_line_lint (self, code, file_extension)
 
def perform_language_rules_check (self, filename, code, lines_to_check=None)
 
def perform_function_lengths_check (self, code)
 
def perform_pass_ptr_check (self, code)
 
def perform_leaky_pattern_check (self, code)
 
def perform_include_what_you_use (self, code, filename='foo.h', io=codecs)
 
def perform_header_guard_check (self, code, filename='foo.h')
 
def assert_lint (self, code, expected_message, file_name='foo.cpp')
 
def assert_lint_one_of_many_errors_re (self, code, expected_message_re, file_name='foo.cpp')
 
def assert_multi_line_lint (self, code, expected_message, file_name='foo.h')
 
def assert_multi_line_lint_re (self, code, expected_message_re, file_name='foo.h')
 
def assert_language_rules_check (self, file_name, code, expected_message, lines_to_check=None)
 
def assert_include_what_you_use (self, code, expected_message)
 
def assert_header_guard (self, code, expected_message)
 
def assert_blank_lines_check (self, lines, start_errors, end_errors)
 
def assert_positions_equal (self, position, tuple_position)
 

Additional Inherited Members

- Static Public Attributes inherited from webkitpy.style.checkers.cpp_unittest.CppStyleTestBase
int min_confidence = 1
 

Member Function Documentation

◆ test_asm_lines_ignored()

def webkitpy.style.checkers.cpp_unittest.CppStyleTest.test_asm_lines_ignored (   self)

◆ test_close_expression()

def webkitpy.style.checkers.cpp_unittest.CppStyleTest.test_close_expression (   self)

◆ test_cstyle_cast()

def webkitpy.style.checkers.cpp_unittest.CppStyleTest.test_cstyle_cast (   self)

◆ test_find_next_multi_line_comment_end()

def webkitpy.style.checkers.cpp_unittest.CppStyleTest.test_find_next_multi_line_comment_end (   self)

◆ test_find_next_multi_line_comment_start()

def webkitpy.style.checkers.cpp_unittest.CppStyleTest.test_find_next_multi_line_comment_start (   self)

◆ test_get_line_width()

def webkitpy.style.checkers.cpp_unittest.CppStyleTest.test_get_line_width (   self)

◆ test_position()

def webkitpy.style.checkers.cpp_unittest.CppStyleTest.test_position (   self)

◆ test_remove_multi_line_comments_from_range()

def webkitpy.style.checkers.cpp_unittest.CppStyleTest.test_remove_multi_line_comments_from_range (   self)

◆ test_rfind_in_lines()

def webkitpy.style.checkers.cpp_unittest.CppStyleTest.test_rfind_in_lines (   self)

◆ test_runtime_casting()

def webkitpy.style.checkers.cpp_unittest.CppStyleTest.test_runtime_casting (   self)

◆ test_runtime_rtti()

def webkitpy.style.checkers.cpp_unittest.CppStyleTest.test_runtime_rtti (   self)

◆ test_runtime_selfinit()

def webkitpy.style.checkers.cpp_unittest.CppStyleTest.test_runtime_selfinit (   self)

◆ test_spaces_at_end_of_line()

def webkitpy.style.checkers.cpp_unittest.CppStyleTest.test_spaces_at_end_of_line (   self)

◆ test_static_cast_readability()

def webkitpy.style.checkers.cpp_unittest.CppStyleTest.test_static_cast_readability (   self)

The documentation for this class was generated from the following file: