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

Unified Diff: third_party/WebKit/LayoutTests/transforms/translate-parsing-expected.txt

Issue 2766823003: Fix testharness result parsing, make "Harness error" count as failure. (Closed)
Patch Set: One more test with nondeterministic message order 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
Index: third_party/WebKit/LayoutTests/transforms/translate-parsing-expected.txt
diff --git a/third_party/WebKit/LayoutTests/transforms/translate-parsing-expected.txt b/third_party/WebKit/LayoutTests/transforms/translate-parsing-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7f1ab08b05a025422253a86402fef29556f2ad7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/transforms/translate-parsing-expected.txt
@@ -0,0 +1,50 @@
+This is a testharness.js-based test.
+Harness Error. harness_status.status = 1 , harness_status.message = 5 duplicate test names: ""translate: 42.5%;" should parse as "42.5%"", ""translate: 42.5% -20.5%;" should parse as "42.5% -20.5%"", ""translate: 42.5% -20.5% 5px;" should parse as "42.5% -20.5% 5px"", ""translate: calc(100% + 10px) calc(100% - 10px) calc(100px + 200px);" should parse as "calc(100% + 10px) calc(100% - 10px) calc(300px)"", ""translate: calc(100% * 0.5 + 2px) calc(100% - 10px / 2) calc(100px - 200px);" should parse as "calc(50% + 2px) calc(100% - 5px) calc(-100px)""
+PASS "translate: initial;" should parse as "initial"
+PASS "translate: initial;" should be computed to "none"
+PASS "translate: inherit;" should parse as "inherit"
+PASS "translate: none;" should parse as "none"
+PASS "translate: none;" should be computed to "none"
+PASS "translate: 10px;" should parse as "10px"
+PASS "translate: 10px;" should be computed to "10px"
+PASS "translate: 10px -2.5px;" should parse as "10px -2.5px"
+PASS "translate: 10px -2.5px;" should be computed to "10px -2.5px"
+PASS "translate: 10px -2.5px 0;" should parse as "10px -2.5px 0px"
+PASS "translate: 10px -2.5px 0;" should be computed to "10px -2.5px"
+PASS "translate: 42.5%;" should parse as "42.5%"
+PASS "translate: 42.5%;" should be computed to "42.5px"
+PASS "translate: 42.5% -20.5%;" should parse as "42.5% -20.5%"
+PASS "translate: 42.5% -20.5%;" should be computed to "42.5px -41px"
+PASS "translate: 42.5% -20.5% 5px;" should parse as "42.5% -20.5% 5px"
+PASS "translate: 42.5% -20.5% 5px;" should be computed to "42.5px -41px 5px"
+PASS "translate: 10px -2%;" should parse as "10px -2%"
+PASS "translate: 10px -2%;" should be computed to "10px -4px"
+PASS "translate: 10% -2px;" should parse as "10% -2px"
+PASS "translate: 10% -2px;" should be computed to "10px -2px"
+PASS "translate: 10% -2px 4px;" should parse as "10% -2px 4px"
+PASS "translate: 10% -2px 4px;" should be computed to "10px -2px 4px"
+PASS "translate: calc(100%) calc(20px) calc(-1px);" should be computed to "100px 20px -1px"
+PASS "translate: calc(100% + 10px) calc(100% - 10px) calc(100px + 200px);" should parse as "calc(100% + 10px) calc(100% - 10px) calc(300px)"
+PASS "translate: calc(100% + 10px) calc(100% - 10px) calc(100px + 200px);" should be computed to "110px 190px 300px"
+PASS "translate: calc(100% * 0.5 + 2px) calc(100% - 10px / 2) calc(100px - 200px);" should parse as "calc(50% + 2px) calc(100% - 5px) calc(-100px)"
+PASS "translate: calc(100% * 0.5 + 2px) calc(100% - 10px / 2) calc(100px - 200px);" should be computed to "52px 195px -100px"
+PASS "translate: 2;" should be invalid
+PASS "translate: 10deg 10px;" should be invalid
+PASS "translate: 10px 10px 10%;" should be invalid
+PASS "translate: 20smigens;" should be invalid
+PASS "translate: 10px 20px 5 6;" should be invalid
+PASS "translate: 10% 20% 30%;" should be invalid
+PASS "translate: calc(100% + 10px) calc(100% - 10px) calc(100% + 200px);" should be invalid
+PASS "translate: 42.5%;" should parse as "42.5%"
+PASS "translate: 42.5%;" should be computed to "42.5%"
+PASS "translate: 42.5% -20.5%;" should parse as "42.5% -20.5%"
+PASS "translate: 42.5% -20.5%;" should be computed to "42.5% -20.5%"
+PASS "translate: 42.5% -20.5% 5px;" should parse as "42.5% -20.5% 5px"
+PASS "translate: 42.5% -20.5% 5px;" should be computed to "42.5% -20.5% 5px"
+PASS "translate: calc(100%) calc(20px) calc(-1px);" should be computed to "100% 20px -1px"
+PASS "translate: calc(100% + 10px) calc(100% - 10px) calc(100px + 200px);" should parse as "calc(100% + 10px) calc(100% - 10px) calc(300px)"
+PASS "translate: calc(100% + 10px) calc(100% - 10px) calc(100px + 200px);" should be computed to "calc(10px + 100%) calc(-10px + 100%) 300px"
+PASS "translate: calc(100% * 0.5 + 2px) calc(100% - 10px / 2) calc(100px - 200px);" should parse as "calc(50% + 2px) calc(100% - 5px) calc(-100px)"
+PASS "translate: calc(100% * 0.5 + 2px) calc(100% - 10px / 2) calc(100px - 200px);" should be computed to "calc(2px + 50%) calc(-5px + 100%) -100px"
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698