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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/parser/resources/whitespace-helper.js

Issue 2118903003: Relocate tests from fast/svg/ to svg/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-fast-svg-tests
Patch Set: Rename some files Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 /** 1 /**
2 * Tests attribute parsing and handling of whitespace in attribute values. 2 * Tests attribute parsing and handling of whitespace in attribute values.
3 * 3 *
4 * @param type Name of the type being tested (only for test output) 4 * @param type Name of the type being tested (only for test output)
5 * @param target The element that should be tested 5 * @param target The element that should be tested
6 * @param attribute The name of the attribute that should be tested 6 * @param attribute The name of the attribute that should be tested
7 * @param expected The fallback/default value that is the expectation for invali d values 7 * @param expected The fallback/default value that is the expectation for invali d values
8 * @param whitespace An array of strings that are valid whitespace characters 8 * @param whitespace An array of strings that are valid whitespace characters
9 * @param valid An array of strings containing valid attribute values 9 * @param valid An array of strings containing valid attribute values
10 * @param invalid An array of strings containing invalid attribute values 10 * @param invalid An array of strings containing invalid attribute values
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 assert_invalid_custom(target, expected); 83 assert_invalid_custom(target, expected);
84 } 84 }
85 finally { 85 finally {
86 target.removeAttribute(attribute); 86 target.removeAttribute(attribute);
87 } 87 }
88 }, "Test " + type + " trailing garbage, value: " + escapedValueS tr); 88 }, "Test " + type + " trailing garbage, value: " + escapedValueS tr);
89 }); 89 });
90 }); 90 });
91 }); 91 });
92 } 92 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698