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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_copier_unittest.py

Issue 2722843002: Remove long path check in test import process. (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
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_copier.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_copier_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_copier_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_copier_unittest.py
index 7b18031c873edfeff62bf0eb06ac675e18d9cfac..9eb4865b788c83c1db2b97012be56e9cc0d2616c 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_copier_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_copier_unittest.py
@@ -142,20 +142,6 @@ class TestCopierTest(LoggingTestCase):
'WARNING: Reason: Ref file "/blink/w3c/dir1/not-here.html" was not found.\n'
])
- def test_files_with_long_path_are_skipped(self):
- host = MockHost()
- host.filesystem = MockFileSystem(files=FAKE_FILES)
- long_file_path = '%s/%s.html' % (FAKE_SOURCE_REPO_DIR, 'x' * 180)
- short_file_path = '%s/x.html' % FAKE_SOURCE_REPO_DIR
- host.filesystem.write_text_file(long_file_path, '<html></html>')
- host.filesystem.write_text_file(short_file_path, '<html></html>')
- copier = TestCopier(host, FAKE_SOURCE_REPO_DIR)
- copier.find_importable_tests()
- self.assertLog([
- 'WARNING: Skipping: %s\n' % long_file_path,
- 'WARNING: Reason: Long path. Max length 160; see http://crbug.com/609871.\n',
- ])
-
def test_should_try_to_convert_positive_cases(self):
self.assertTrue(TestCopier.should_try_to_convert({}, 'foo.css', 'LayoutTests/external/csswg-test/x'))
self.assertTrue(TestCopier.should_try_to_convert({}, 'foo.htm', 'LayoutTests/external/csswg-test/x'))
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_copier.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698