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

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

Issue 2878873002: webkitpy: Rename WebKitFinder to PathFinder (Closed)
Patch Set: Created 3 years, 7 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/factory_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/factory_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/factory_unittest.py
index 51ffc076b30b61bf341a712076b0f6880bfaca6c..f1eb93e66ef8c5f6d43502be165c4a2b423bc8bc 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/factory_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/factory_unittest.py
@@ -30,7 +30,7 @@ import optparse
import unittest
from webkitpy.common.host_mock import MockHost
-from webkitpy.common.webkit_finder import WebKitFinder
+from webkitpy.common.path_finder import PathFinder
from webkitpy.layout_tests.port import android
from webkitpy.layout_tests.port import factory
from webkitpy.layout_tests.port import linux
@@ -80,10 +80,10 @@ class FactoryTest(unittest.TestCase):
def get_port(self, target=None, configuration=None, files=None):
host = MockHost()
- wkf = WebKitFinder(host.filesystem)
+ finder = PathFinder(host.filesystem)
files = files or {}
for path, contents in files.items():
- host.filesystem.write_text_file(wkf.path_from_chromium_base(path), contents)
+ host.filesystem.write_text_file(finder.path_from_chromium_base(path), contents)
options = optparse.Values({'target': target, 'configuration': configuration})
return factory.PortFactory(host).get(options=options)

Powered by Google App Engine
This is Rietveld 408576698