Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2010-04-11 Chris Jerdonek <cjerdonek@webkit.org>
Reviewed by Shinichiro Hamaji. Refactored check-webkit-style so that the StyleChecker class has no dependencies on patch-related concepts. https://bugs.webkit.org/show_bug.cgi?id=37065 This patch is an intermediate step towards making the StyleChecker class a generalized file processor that can do arbitary operations on the files corresponding to a list of paths. This patch also simplifies the unit-testing of patch-checking code. * Scripts/check-webkit-style: - Updated to use the new PatchChecker class. * Scripts/webkitpy/style/checker.py: - Refactored the StyleChecker.check_patch() method into the check() method of a new PatchChecker class. * Scripts/webkitpy/style/checker_unittest.py: - Refactored the unit tests as necessary, changing the StyleCheckerCheckPatchTest class to a PatchCheckerTest class. Canonical link: https://commits.webkit.org/48755@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@57467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
4 changed files
with
83 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters