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

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

Issue 2678273004: Remove unused methods in webkitpy/layout_tests/. (Closed)
Patch Set: Created 3 years, 10 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/run_webkit_tests_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py
index 9062ff4de36e89067815851db569602604c1bf3c..74e1deb849eddf5b8fc18156a085c7f36ec269d9 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py
@@ -165,9 +165,6 @@ class StreamTestingMixin(object):
def assertContains(self, stream, string):
self.assertIn(string, stream.getvalue())
- def assertEmpty(self, stream):
- self.assertFalse(stream.getvalue())
-
def assertNotEmpty(self, stream):
self.assertTrue(stream.getvalue())
@@ -958,10 +955,6 @@ class RunTest(unittest.TestCase, StreamTestingMixin):
self.assertTrue(passing_run(['--additional-expectations', '/tmp/overrides.txt', 'failures/unexpected/mismatch.html'],
tests_included=True, host=host))
- @staticmethod
- def has_test_of_type(tests, type):
- return [test for test in tests if type in test]
-
def test_platform_directories_ignored_when_searching_for_tests(self):
tests_run = get_tests_run(['--platform', 'test-mac-mac10.10'])
self.assertNotIn('platform/test-mac-mac10.10/http/test.html', tests_run)

Powered by Google App Engine
This is Rietveld 408576698