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

Public Member Functions

def setUp (self)
 
def tearDown (self)
 
def assert_log_messages (self, messages)
 

Detailed Description

Base class for testing configure_logging().

Sub-classes should implement:

  is_verbose: The is_verbose value to pass to configure_logging().

Member Function Documentation

◆ assert_log_messages()

def webkitpy.style.checker_unittest.ConfigureLoggingTestBase.assert_log_messages (   self,
  messages 
)
Assert that the logged messages equal the given messages.

◆ setUp()

def webkitpy.style.checker_unittest.ConfigureLoggingTestBase.setUp (   self)

◆ tearDown()

def webkitpy.style.checker_unittest.ConfigureLoggingTestBase.tearDown (   self)
Reset logging to its original state.

This method ensures that the logging configuration set up
for a unit test does not affect logging in other unit tests.

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