OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/svg/SVGPathParser.h" | 5 #include "core/svg/SVGPathParser.h" |
6 | 6 |
7 #include "core/svg/SVGPathStringBuilder.h" | 7 #include "core/svg/SVGPathStringBuilder.h" |
8 #include "core/svg/SVGPathStringSource.h" | 8 #include "core/svg/SVGPathStringSource.h" |
9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 | 10 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 VALID("M1,1T2,3 4,5", "M 1 1 T 2 3 T 4 5"); | 134 VALID("M1,1T2,3 4,5", "M 1 1 T 2 3 T 4 5"); |
135 MALFORMED("M1,1a2,3,4,0,0,5,6 7", "M 1 1 a 2 3 4 0 0 5 6"); | 135 MALFORMED("M1,1a2,3,4,0,0,5,6 7", "M 1 1 a 2 3 4 0 0 5 6"); |
136 VALID("M1,1a2,3,4,0,0,5,6 7,8,9,0,0,10,11", "M 1 1 a 2 3 4 0 0 5 6 a 7 8 9 0
0 10 11"); | 136 VALID("M1,1a2,3,4,0,0,5,6 7,8,9,0,0,10,11", "M 1 1 a 2 3 4 0 0 5 6 a 7 8 9 0
0 10 11"); |
137 MALFORMED("M1,1A2,3,4,0,0,5,6 7", "M 1 1 A 2 3 4 0 0 5 6"); | 137 MALFORMED("M1,1A2,3,4,0,0,5,6 7", "M 1 1 A 2 3 4 0 0 5 6"); |
138 VALID("M1,1A2,3,4,0,0,5,6 7,8,9,0,0,10,11", "M 1 1 A 2 3 4 0 0 5 6 A 7 8 9 0
0 10 11"); | 138 VALID("M1,1A2,3,4,0,0,5,6 7,8,9,0,0,10,11", "M 1 1 A 2 3 4 0 0 5 6 A 7 8 9 0
0 10 11"); |
139 } | 139 } |
140 | 140 |
141 #undef MALFORMED | 141 #undef MALFORMED |
142 #undef VALID | 142 #undef VALID |
143 | 143 |
144 } | 144 } // namespace |
145 | 145 |
146 } // namespace blink | 146 } // namespace blink |
OLD | NEW |