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

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

Issue 2786013003: Remove usage of TestParser from test_copier.py. (Closed)
Patch Set: Rebase Created 3 years, 9 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 238d15fc726d0c2a1523f8be321fb56993cc7463..8bc25913f6603362d3a02755fbccdd4eac531b53 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
@@ -68,9 +68,6 @@ class TestCopierTest(LoggingTestCase):
{'dest': 'README.txt', 'src': '/blink/w3c/dir/README.txt'}
],
'dirname': '/blink/w3c/dir',
- 'jstests': 0,
- 'reftests': 0,
- 'total_tests': 0,
}
])
@@ -88,9 +85,6 @@ class TestCopierTest(LoggingTestCase):
{'dest': 'README.txt', 'src': '/blink/w3c/dir/README.txt'}
],
'dirname': '/blink/w3c/dir',
- 'jstests': 0,
- 'reftests': 0,
- 'total_tests': 0,
}
])
@@ -121,22 +115,5 @@ class TestCopierTest(LoggingTestCase):
{'src': '/blink/w3c/dir1/my-ref-test.html', 'dest': 'my-ref-test.html'}
],
'dirname': '/blink/w3c/dir1',
- 'jstests': 0,
- 'reftests': 1,
- 'total_tests': 1
}
])
-
- def test_ref_test_without_ref_is_skipped(self):
- host = MockHost()
- host.filesystem = MockFileSystem(files={
- '/blink/w3c/dir1/my-ref-test.html': '<html><head><link rel="match" href="not-here.html" /></head></html>',
- '/mock-checkout/third_party/WebKit/LayoutTests/W3CImportExpectations': '',
- })
- copier = TestCopier(host, FAKE_SOURCE_REPO_DIR)
- copier.find_importable_tests()
- self.assertEqual(copier.import_list, [])
- self.assertLog([
- 'WARNING: Skipping: /blink/w3c/dir1/my-ref-test.html\n',
- 'WARNING: Reason: Ref file "/blink/w3c/dir1/not-here.html" was not found.\n'
- ])
« 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