Changeset 56312 in webkit


Ignore:
Timestamp:
Mar 20, 2010 5:39:05 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-03-20 Chris Jerdonek <Chris Jerdonek>

Reviewed by Adam Barth.

Renamed UnitTestLogStream to TestLogStream in webkitpy.

https://bugs.webkit.org/show_bug.cgi?id=36099

TestLogStream is more concise and more consistent with the name of
the module (logtesting rather than logunittesting) and its main
class (LogTesting rather than LogUnitTesting).

  • Scripts/webkitpy/init/logtesting.py:
    • Renamings.
  • Scripts/webkitpy/style/checker_unittest.py:
    • Renamings.
  • Scripts/webkitpy/style_references.py:
    • Renamings.
Location:
trunk/WebKitTools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r56310 r56312  
     12010-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
    1222010-03-20  Kevin Ollivier  <kevino@theolliviers.com>
    223
  • trunk/WebKitTools/Scripts/webkitpy/init/logtesting.py

    r55786 r56312  
    2828Use the LogTesting class for basic testing needs.  For more advanced
    2929needs (e.g. unit-testing methods that configure logging), see the
    30 UnitTestLogStream class.
     30TestLogStream class.
    3131
    3232"""
     
    3535
    3636
    37 class UnitTestLogStream(object):
     37class TestLogStream(object):
    3838
    3939    """Represents a file-like object for unit-testing logging.
     
    105105
    106106        Args:
    107           test_stream: A UnitTestLogStream instance.
     107          test_stream: A TestLogStream instance.
    108108          handler: The handler added to the logger.
    109109
     
    144144
    145145        """
    146         stream = UnitTestLogStream(test_case)
     146        stream = TestLogStream(test_case)
    147147        handler = logging.StreamHandler(stream)
    148148        handler.setLevel(logging_level)
  • trunk/WebKitTools/Scripts/webkitpy/style/checker_unittest.py

    r55786 r56312  
    4040import checker as style
    4141from webkitpy.style_references import LogTesting
    42 from webkitpy.style_references import UnitTestLogStream
     42from webkitpy.style_references import TestLogStream
    4343from checker import _BASE_FILTER_RULES
    4444from checker import _MAX_REPORTS_PER_CATEGORY
     
    6464
    6565    def setUp(self):
    66         log_stream = UnitTestLogStream(self)
     66        log_stream = TestLogStream(self)
    6767        # Use a logger other than the root logger or one prefixed with
    6868        # webkit so as not to conflict with test-webkitpy logging.
  • trunk/WebKitTools/Scripts/webkitpy/style_references.py

    r55786 r56312  
    4343from diff_parser import DiffParser
    4444from init.logtesting import LogTesting
    45 from init.logtesting import UnitTestLogStream
     45from init.logtesting import TestLogStream
    4646from scm import detect_scm_system
    4747
Note: See TracChangeset for help on using the changeset viewer.