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

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

Issue 2633223003: Convert CSSProperties.in to JSON5 format (Closed)
Patch Set: Fix test_converter_unittest Created 3 years, 11 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/w3c/test_converter_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_converter_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_converter_unittest.py
index eab8350ff159810b9a7c2415c56ce7268f7e60a9..bafafd81f8bee3cb3e0b738de0b3fc160607c443 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_converter_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_converter_unittest.py
@@ -197,7 +197,7 @@ CONTENT OF TEST
</html>
"""
converter = _W3CTestConverter(DUMMY_PATH, DUMMY_FILENAME, None)
- test_content = self.generate_test_content(converter.prefixed_properties, 22, test_html)
+ test_content = self.generate_test_content(converter.prefixed_properties, 4, test_html)
oc = OutputCapture()
oc.capture_output()
@@ -285,15 +285,13 @@ CONTENT OF TEST
return (test_properties, html)
def test_convert_for_webkit_with_non_utf8(self):
- files = {'/file': 'e\x87[P',
- '/mock-checkout/third_party/WebKit/Source/core/css/CSSProperties.in': '', }
+ files = {'/file': 'e\x87[P', }
host = MockSystemHost(filesystem=MockFileSystem(files=files))
convert_for_webkit('', '/file', '', host)
# This test passes if no Exception is raised
def test_convert_for_webkit_with_utf8(self):
- files = {'/file': 'foo',
- '/mock-checkout/third_party/WebKit/Source/core/css/CSSProperties.in': '', }
+ files = {'/file': 'foo', }
host = MockSystemHost(filesystem=MockFileSystem(files=files))
convert_for_webkit('', '/file', '', host)

Powered by Google App Engine
This is Rietveld 408576698