Home | History | Annotate | Download | only in port

Lines Matching defs:Port

30 """Abstract base class of Port-specific entrypoints for the layout tests
31 test infrastructure (the Port and Driver classes)."""
56 from webkitpy.layout_tests.port import apache_http_server
57 from webkitpy.layout_tests.port import config as port_config
58 from webkitpy.layout_tests.port import http_lock
59 from webkitpy.layout_tests.port import http_server
60 from webkitpy.layout_tests.port import test_files
61 from webkitpy.layout_tests.port import websocket_server
83 class Port(object):
84 """Abstract class for Port-specific hooks for the layout_test package."""
151 port."""
161 in for this port."""
162 raise NotImplementedError('Port.baseline_path')
167 raise NotImplementedError('Port.baseline_search_path')
172 raise NotImplementedError('Port.check_build')
175 """If the port needs to do some runtime checks to ensure that the
184 raise NotImplementedError('Port.check_image_diff')
210 While this is a generic routine, we include it in the Port
227 If it is omitted, the port default tolerance value is used.
230 raise NotImplementedError('Port.diff_image')
238 While this is a generic routine, we include it in the Port
259 will be DumpRenderTree, but if a port uses a binary with a different
279 (port.join() of the two gives you the full path to the file,
396 port = None
402 port = 8000
408 if (port and not relative_path.startswith("local/")):
410 port += 443
414 return "%s://127.0.0.1:%u/%s" % (protocol, port, relative_path)
506 """Return the name of the port (e.g., 'mac', 'chromium-win-xp')."""
516 This is used to help identify the exact port when parsing test
521 """Returns whether the port uses accelerated graphics ('gpu') or not
529 """Returns the actual name of the port, not the delegate's."""
559 if the port does not use expectations files."""
560 raise NotImplementedError('Port.path_to_test_expectations_file')
588 """Perform port-specific work at the beginning of a test run."""
592 """Perform port-specific work at the beginning of a server launch.
607 raise NotImplementedError('Port.create_driver')
610 """If a port needs to reconfigure graphics settings or do other
639 it isn't, or it isn't available. If a port overrides start_helper()
664 """Returns the current TestConfiguration for the port."""
681 """Returns the test expectations for this port.
692 temporarily override the "upstream" expectations until the port can
803 raise NotImplementedError('Port.path_to_apache')
809 raise NotImplementedError('Port.path_to_apache_config_file')
813 raise NotImplementedError('Port._path_to_driver')
817 raise NotImplementedError('Port.path_to_webcore_library')
825 raise NotImplementedError('Port._path_to_helper')
832 raise NotImplementedError('Port.path_to_image_diff')
838 raise NotImplementedError('Port._path_to_lighttpd')
844 raise NotImplementedError('Port._path_to_lighttpd_modules')
850 raise NotImplementedError('Port._path_to_lighttpd_php')
857 raise NotImplementedError('Port._path_to_wdiff')
864 raise NotImplementedError('Port._shut_down_http_server')
920 def __init__(self, port, worker_number):
926 port - reference back to the port object.
974 def __init__(self, port=None, os=None, version=None, architecture=None,
976 self.os = os or port.operating_system()
977 self.version = version or port.version()
978 self.architecture = architecture or port.architecture()
979 self.build_type = build_type or port._options.configuration.lower()
980 self.graphics_type = graphics_type or port.graphics_type()
1000 """Returns a sequence of the TestConfigurations the port supports."""