webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest Class Reference
Inheritance diagram for webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest:

Public Member Functions

def dispatch (self, file_path)
 
def assert_checker_none (self, file_path)
 
def assert_checker (self, file_path, expected_class)
 
def assert_checker_changelog (self, file_path)
 
def assert_checker_cpp (self, file_path)
 
def assert_checker_js (self, file_path)
 
def assert_checker_json (self, file_path)
 
def assert_checker_python (self, file_path)
 
def assert_checker_text (self, file_path)
 
def assert_checker_xml (self, file_path)
 
def test_changelog_paths (self)
 
def test_cpp_paths (self)
 
def test_js_paths (self)
 
def test_json_paths (self)
 
def test_python_paths (self)
 
def test_text_paths (self)
 
def test_xml_paths (self)
 
def test_none_paths (self)
 

Public Attributes

 mock_handle_style_error
 

Detailed Description

Tests dispatch() method of CheckerDispatcher class.

Member Function Documentation

◆ assert_checker()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.assert_checker (   self,
  file_path,
  expected_class 
)
Assert the type of the dispatched checker.

◆ assert_checker_changelog()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.assert_checker_changelog (   self,
  file_path 
)
Assert that the dispatched checker is a ChangeLogChecker.

◆ assert_checker_cpp()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.assert_checker_cpp (   self,
  file_path 
)
Assert that the dispatched checker is a CppChecker.

◆ assert_checker_js()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.assert_checker_js (   self,
  file_path 
)
Assert that the dispatched checker is a JSChecker.

◆ assert_checker_json()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.assert_checker_json (   self,
  file_path 
)
Assert that the dispatched checker is a JSONChecker.

◆ assert_checker_none()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.assert_checker_none (   self,
  file_path 
)
Assert that the dispatched checker is None.

◆ assert_checker_python()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.assert_checker_python (   self,
  file_path 
)
Assert that the dispatched checker is a PythonChecker.

◆ assert_checker_text()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.assert_checker_text (   self,
  file_path 
)
Assert that the dispatched checker is a TextChecker.

◆ assert_checker_xml()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.assert_checker_xml (   self,
  file_path 
)
Assert that the dispatched checker is a XMLChecker.

◆ dispatch()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.dispatch (   self,
  file_path 
)
Call dispatch() with the given file path.

◆ test_changelog_paths()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.test_changelog_paths (   self)
Test paths that should be checked as ChangeLog.

◆ test_cpp_paths()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.test_cpp_paths (   self)
Test paths that should be checked as C++.

◆ test_js_paths()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.test_js_paths (   self)
Test paths that should be checked as JavaScript.

◆ test_json_paths()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.test_json_paths (   self)
Test paths that should be checked as JSON.

◆ test_none_paths()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.test_none_paths (   self)
Test paths that have no file type..

◆ test_python_paths()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.test_python_paths (   self)
Test paths that should be checked as Python.

◆ test_text_paths()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.test_text_paths (   self)
Test paths that should be checked as text.

◆ test_xml_paths()

def webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.test_xml_paths (   self)
Test paths that should be checked as XML.

Member Data Documentation

◆ mock_handle_style_error

webkitpy.style.checker_unittest.CheckerDispatcherDispatchTest.mock_handle_style_error

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