Changeset 56312 in webkit
- Timestamp:
- Mar 20, 2010 5:39:05 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r56310 r56312 1 2010-03-20 Chris Jerdonek <cjerdonek@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 Renamed UnitTestLogStream to TestLogStream in webkitpy. 6 7 https://bugs.webkit.org/show_bug.cgi?id=36099 8 9 TestLogStream is more concise and more consistent with the name of 10 the module (logtesting rather than logunittesting) and its main 11 class (LogTesting rather than LogUnitTesting). 12 13 * Scripts/webkitpy/init/logtesting.py: 14 - Renamings. 15 16 * Scripts/webkitpy/style/checker_unittest.py: 17 - Renamings. 18 19 * Scripts/webkitpy/style_references.py: 20 - Renamings. 21 1 22 2010-03-20 Kevin Ollivier <kevino@theolliviers.com> 2 23 -
trunk/WebKitTools/Scripts/webkitpy/init/logtesting.py
r55786 r56312 28 28 Use the LogTesting class for basic testing needs. For more advanced 29 29 needs (e.g. unit-testing methods that configure logging), see the 30 UnitTestLogStream class.30 TestLogStream class. 31 31 32 32 """ … … 35 35 36 36 37 class UnitTestLogStream(object):37 class TestLogStream(object): 38 38 39 39 """Represents a file-like object for unit-testing logging. … … 105 105 106 106 Args: 107 test_stream: A UnitTestLogStream instance.107 test_stream: A TestLogStream instance. 108 108 handler: The handler added to the logger. 109 109 … … 144 144 145 145 """ 146 stream = UnitTestLogStream(test_case)146 stream = TestLogStream(test_case) 147 147 handler = logging.StreamHandler(stream) 148 148 handler.setLevel(logging_level) -
trunk/WebKitTools/Scripts/webkitpy/style/checker_unittest.py
r55786 r56312 40 40 import checker as style 41 41 from webkitpy.style_references import LogTesting 42 from webkitpy.style_references import UnitTestLogStream42 from webkitpy.style_references import TestLogStream 43 43 from checker import _BASE_FILTER_RULES 44 44 from checker import _MAX_REPORTS_PER_CATEGORY … … 64 64 65 65 def setUp(self): 66 log_stream = UnitTestLogStream(self)66 log_stream = TestLogStream(self) 67 67 # Use a logger other than the root logger or one prefixed with 68 68 # webkit so as not to conflict with test-webkitpy logging. -
trunk/WebKitTools/Scripts/webkitpy/style_references.py
r55786 r56312 43 43 from diff_parser import DiffParser 44 44 from init.logtesting import LogTesting 45 from init.logtesting import UnitTestLogStream45 from init.logtesting import TestLogStream 46 46 from scm import detect_scm_system 47 47
Note: See TracChangeset
for help on using the changeset viewer.