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

Unified Diff: third_party/WebKit/LayoutTests/svg/dom/path-parser-expected.txt

Issue 1413953002: Add unit test for SVG path parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop line-wrap. Created 5 years, 2 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/svg/dom/path-parser-expected.txt
diff --git a/third_party/WebKit/LayoutTests/svg/dom/path-parser-expected.txt b/third_party/WebKit/LayoutTests/svg/dom/path-parser-expected.txt
deleted file mode 100644
index dbbc2a45d6f9ecda0bf35a8e26e800c505ee9489..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/dom/path-parser-expected.txt
+++ /dev/null
@@ -1,75 +0,0 @@
-CONSOLE ERROR: Error: Invalid value for <path> attribute d="M100,200 a3,4,5,2,1,6,7"
-CONSOLE ERROR: Error: Invalid value for <path> attribute d="M100,200 a3,4,5,1,2,6,7"
-CONSOLE ERROR: Error: Invalid value for <path> attribute d="\u000BM1,2"
-CONSOLE ERROR: Error: Invalid value for <path> attribute d="xM1,2"
-CONSOLE ERROR: Error: Invalid value for <path> attribute d="M1,2\u000B"
-CONSOLE ERROR: Error: Invalid value for <path> attribute d="M1,2x"
-CONSOLE ERROR: Error: Invalid value for <path> attribute d="M1,2 L40,0#90"
-CONSOLE ERROR: Error: Invalid value for <path> attribute d="x"
-CONSOLE ERROR: Error: Invalid value for <path> attribute d="L1,2"
-This tests the SVG path parser by parsing and then re-serializing various paths.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS parsePath('M1,2') is 'M1,2'
-PASS parsePath('m1,2') is 'm1,2'
-PASS parsePath('M100,200 m3,4') is 'M100,200 m3,4'
-PASS parsePath('M100,200 L3,4') is 'M100,200 L3,4'
-PASS parsePath('M100,200 l3,4') is 'M100,200 l3,4'
-PASS parsePath('M100,200 H3') is 'M100,200 H3'
-PASS parsePath('M100,200 h3') is 'M100,200 h3'
-PASS parsePath('M100,200 V3') is 'M100,200 V3'
-PASS parsePath('M100,200 v3') is 'M100,200 v3'
-PASS parsePath('M100,200 Z') is 'M100,200 Z'
-PASS parsePath('M100,200 z') is 'M100,200 Z'
-PASS parsePath('M100,200 C3,4,5,6,7,8') is 'M100,200 C3,4,5,6,7,8'
-PASS parsePath('M100,200 c3,4,5,6,7,8') is 'M100,200 c3,4,5,6,7,8'
-PASS parsePath('M100,200 S3,4,5,6') is 'M100,200 S3,4,5,6'
-PASS parsePath('M100,200 s3,4,5,6') is 'M100,200 s3,4,5,6'
-PASS parsePath('M100,200 Q3,4,5,6') is 'M100,200 Q3,4,5,6'
-PASS parsePath('M100,200 q3,4,5,6') is 'M100,200 q3,4,5,6'
-PASS parsePath('M100,200 T3,4') is 'M100,200 T3,4'
-PASS parsePath('M100,200 t3,4') is 'M100,200 t3,4'
-PASS parsePath('M100,200 A3,4,5,0,0,6,7') is 'M100,200 A3,4,5,0,0,6,7'
-PASS parsePath('M100,200 A3,4,5,1,0,6,7') is 'M100,200 A3,4,5,1,0,6,7'
-PASS parsePath('M100,200 A3,4,5,0,1,6,7') is 'M100,200 A3,4,5,0,1,6,7'
-PASS parsePath('M100,200 A3,4,5,1,1,6,7') is 'M100,200 A3,4,5,1,1,6,7'
-PASS parsePath('M100,200 a3,4,5,0,0,6,7') is 'M100,200 a3,4,5,0,0,6,7'
-PASS parsePath('M100,200 a3,4,5,0,1,6,7') is 'M100,200 a3,4,5,0,1,6,7'
-PASS parsePath('M100,200 a3,4,5,1,0,6,7') is 'M100,200 a3,4,5,1,0,6,7'
-PASS parsePath('M100,200 a3,4,5,1,1,6,7') is 'M100,200 a3,4,5,1,1,6,7'
-PASS parsePath('M100,200 a3,4,5,006,7') is 'M100,200 a3,4,5,0,0,6,7'
-PASS parsePath('M100,200 a3,4,5,016,7') is 'M100,200 a3,4,5,0,1,6,7'
-PASS parsePath('M100,200 a3,4,5,106,7') is 'M100,200 a3,4,5,1,0,6,7'
-PASS parsePath('M100,200 a3,4,5,116,7') is 'M100,200 a3,4,5,1,1,6,7'
-PASS parsePath('M100,200 a3,4,5,2,1,6,7') is 'M100,200'
-PASS parsePath('M100,200 a3,4,5,1,2,6,7') is 'M100,200'
-PASS parsePath('M100,200 a0,4,5,0,0,10,0 a4,0,5,0,0,0,10 a0,0,5,0,0,-10,0 z') is 'M100,200 a0,4,5,0,0,10,0 a4,0,5,0,0,0,10 a0,0,5,0,0,-10,0 Z'
-PASS parsePath('M1,2,3,4') is 'M1,2 L3,4'
-PASS parsePath('m100,200,3,4') is 'm100,200 l3,4'
-PASS parsePath('M 100-200') is 'M100,-200'
-PASS parsePath('M 0.6.5') is 'M0.6,0.5'
-PASS parsePath(' M1,2') is 'M1,2'
-PASS parsePath(' M1,2') is 'M1,2'
-PASS parsePath('\tM1,2') is 'M1,2'
-PASS parsePath('\nM1,2') is 'M1,2'
-PASS parsePath('\rM1,2') is 'M1,2'
-PASS parsePath('\vM1,2') is ''
-PASS parsePath('xM1,2') is ''
-PASS parsePath('M1,2 ') is 'M1,2'
-PASS parsePath('M1,2\t') is 'M1,2'
-PASS parsePath('M1,2\n') is 'M1,2'
-PASS parsePath('M1,2\r') is 'M1,2'
-PASS parsePath('M1,2\v') is 'M1,2'
-PASS parsePath('M1,2x') is 'M1,2'
-PASS parsePath('M1,2 L40,0#90') is 'M1,2 L40,0'
-PASS parsePath('') is ''
-PASS parsePath(' ') is ''
-PASS parsePath('x') is ''
-PASS parsePath('L1,2') is ''
-PASS parsePath('M.1 .2 L.3 .4 .5 .6') is 'M0.1,0.2 L0.3,0.4 L0.5,0.6'
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Powered by Google App Engine
This is Rietveld 408576698