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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/blink_finder_unittest.py

Issue 2496063002: Rename WebKitFinder -> BlinkFinder. (Closed)
Patch Set: Created 4 years, 1 month 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/common/blink_finder_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/webkit_finder_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/blink_finder_unittest.py
similarity index 63%
rename from third_party/WebKit/Tools/Scripts/webkitpy/common/webkit_finder_unittest.py
rename to third_party/WebKit/Tools/Scripts/webkitpy/common/blink_finder_unittest.py
index 278b7ce82203b700cacfdb22fa2079d9c9072b35..92a36563ca0b255759285910751ed1b1b21a5f41 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/webkit_finder_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/blink_finder_unittest.py
@@ -4,35 +4,35 @@
import unittest
-from webkitpy.common.webkit_finder import WebKitFinder
+from webkitpy.common.blink_finder import BlinkFinder
from webkitpy.common.system.filesystem_mock import MockFileSystem
-class TestWebKitFinder(unittest.TestCase):
+class TestBlinkFinder(unittest.TestCase):
- # TODO(qyearsley): Add tests for other methods in WebKitFinder.
+ # TODO(qyearsley): Add tests for other methods in BlinkFinder.
# Including tests for cases when the separator character is backslash.
def test_layout_test_name(self):
- finder = WebKitFinder(MockFileSystem())
+ finder = BlinkFinder(MockFileSystem())
self.assertEqual(
finder.layout_test_name('third_party/WebKit/LayoutTests/test/name.html'),
'test/name.html')
def test_layout_test_name_not_in_layout_tests_dir(self):
- finder = WebKitFinder(MockFileSystem())
+ finder = BlinkFinder(MockFileSystem())
self.assertIsNone(finder.layout_test_name('some/other/path/file.html'))
- def test_webkit_base(self):
- finder = WebKitFinder(MockFileSystem())
- self.assertEqual(finder.webkit_base(), '/mock-checkout/third_party/WebKit')
+ def test_blink_base(self):
+ finder = BlinkFinder(MockFileSystem())
+ self.assertEqual(finder.blink_base(), '/mock-checkout/third_party/WebKit')
def test_chromium_base(self):
- finder = WebKitFinder(MockFileSystem())
+ finder = BlinkFinder(MockFileSystem())
self.assertEqual(finder.chromium_base(), '/mock-checkout')
def test_path_from_chromium_base(self):
- finder = WebKitFinder(MockFileSystem())
+ finder = BlinkFinder(MockFileSystem())
self.assertEqual(
finder.path_from_chromium_base('foo', 'bar.baz'),
'/mock-checkout/foo/bar.baz')

Powered by Google App Engine
This is Rietveld 408576698