webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Attributes | List of all members
webkitpy.port.test.TestPort Class Reference
Inheritance diagram for webkitpy.port.test.TestPort:
webkitpy.layout_tests.controllers.layout_test_finder_unittest.MockPort webkitpy.performance_tests.perftest_unittest.MockPort

Public Member Functions

def determine_full_port_name (cls, host, options, port_name)
 
def __init__ (self, host, port_name=None, kwargs)
 
def default_pixel_tests (self)
 
def baseline_search_path (self)
 
def default_child_processes (self)
 
def worker_startup_delay_secs (self)
 
def check_build (self, needs_http)
 
def check_sys_deps (self, needs_http)
 
def default_configuration (self)
 
def diff_image (self, expected_contents, actual_contents, tolerance=None)
 
def layout_tests_dir (self)
 
def perf_tests_dir (self)
 
def webkit_base (self)
 
def name (self)
 
def operating_system (self)
 
def default_results_directory (self)
 
def setup_test_run (self, device_class=None)
 
def start_http_server (self, additional_dirs=None)
 
def start_websocket_server (self)
 
def stop_http_server (self)
 
def stop_websocket_server (self)
 
def path_to_test_expectations_file (self)
 
def all_test_configurations (self)
 
def configuration_specifier_macros (self)
 
def all_baseline_variants (self)
 

Static Public Attributes

string port_name = 'test'
 
string default_port_name = 'test-mac-leopard'
 
tuple ALL_BASELINE_VARIANTS
 

Constructor & Destructor Documentation

◆ __init__()

def webkitpy.port.test.TestPort.__init__ (   self,
  host,
  port_name = None,
  kwargs 
)

Member Function Documentation

◆ all_baseline_variants()

def webkitpy.port.test.TestPort.all_baseline_variants (   self)

◆ all_test_configurations()

def webkitpy.port.test.TestPort.all_test_configurations (   self)
Returns a sequence of the TestConfigurations the port supports.

◆ baseline_search_path()

def webkitpy.port.test.TestPort.baseline_search_path (   self)

◆ check_build()

def webkitpy.port.test.TestPort.check_build (   self,
  needs_http 
)

◆ check_sys_deps()

def webkitpy.port.test.TestPort.check_sys_deps (   self,
  needs_http 
)

◆ configuration_specifier_macros()

def webkitpy.port.test.TestPort.configuration_specifier_macros (   self)
To avoid surprises when introducing new macros, these are intentionally fixed in time.

◆ default_child_processes()

def webkitpy.port.test.TestPort.default_child_processes (   self)

◆ default_configuration()

def webkitpy.port.test.TestPort.default_configuration (   self)

◆ default_pixel_tests()

def webkitpy.port.test.TestPort.default_pixel_tests (   self)

◆ default_results_directory()

def webkitpy.port.test.TestPort.default_results_directory (   self)

◆ determine_full_port_name()

def webkitpy.port.test.TestPort.determine_full_port_name (   cls,
  host,
  options,
  port_name 
)

◆ diff_image()

def webkitpy.port.test.TestPort.diff_image (   self,
  expected_contents,
  actual_contents,
  tolerance = None 
)

◆ layout_tests_dir()

def webkitpy.port.test.TestPort.layout_tests_dir (   self)

◆ name()

def webkitpy.port.test.TestPort.name (   self)

◆ operating_system()

def webkitpy.port.test.TestPort.operating_system (   self)

◆ path_to_test_expectations_file()

def webkitpy.port.test.TestPort.path_to_test_expectations_file (   self)

◆ perf_tests_dir()

def webkitpy.port.test.TestPort.perf_tests_dir (   self)

◆ setup_test_run()

def webkitpy.port.test.TestPort.setup_test_run (   self,
  device_class = None 
)

◆ start_http_server()

def webkitpy.port.test.TestPort.start_http_server (   self,
  additional_dirs = None 
)

◆ start_websocket_server()

def webkitpy.port.test.TestPort.start_websocket_server (   self)

◆ stop_http_server()

def webkitpy.port.test.TestPort.stop_http_server (   self)

◆ stop_websocket_server()

def webkitpy.port.test.TestPort.stop_websocket_server (   self)

◆ webkit_base()

def webkitpy.port.test.TestPort.webkit_base (   self)

◆ worker_startup_delay_secs()

def webkitpy.port.test.TestPort.worker_startup_delay_secs (   self)

Member Data Documentation

◆ ALL_BASELINE_VARIANTS

tuple webkitpy.port.test.TestPort.ALL_BASELINE_VARIANTS
static
Initial value:
= (
'test-linux-x86_64',
'test-mac-snowleopard', 'test-mac-leopard',
'test-win-vista', 'test-win-win7', 'test-win-xp',
)

◆ default_port_name

string webkitpy.port.test.TestPort.default_port_name = 'test-mac-leopard'
static

◆ port_name

string webkitpy.port.test.TestPort.port_name = 'test'
static

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