Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1029)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py

Issue 2392683003: Remove TestWebKitPort from port_testcase. (Closed)
Patch Set: Removed print; delete env var rather than setting to None Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py
index 0acc44d7b5f0a462fdf0257ee9c24195bb1bbe77..a0802a85cb086a07344b00f649027d8fbd707419 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py
@@ -79,3 +79,10 @@ class MacPortTest(port_testcase.PortTestCase):
def test_path_to_image_diff(self):
self.assertEqual(self.make_port()._path_to_image_diff(), '/mock-checkout/out/Release/image_diff')
+
+ def test_path_to_apache_config_file(self):
+ port = self.make_port()
+ port._apache_version = lambda: '2.2' # pylint: disable=protected-access
+ self.assertEqual(
+ port.path_to_apache_config_file(),
+ '/mock-checkout/third_party/WebKit/LayoutTests/http/conf/apache2-httpd-2.2.conf')

Powered by Google App Engine
This is Rietveld 408576698