blob: 56dfe5eed573e65e7b819ed51e375101c200a7d4 [file] [log] [blame]
CONSOLE ERROR: line 17: Error: <polyline> attribute points: Expected number, "a".
CONSOLE ERROR: line 17: Error: <polyline> attribute points: Unexpected end of attribute. Expected number, "10".
CONSOLE ERROR: line 17: Error: <polyline> attribute points: Unexpected end of attribute. Expected number, "10,".
CONSOLE ERROR: line 17: Error: <polyline> attribute points: Expected number, "10,,".
CONSOLE ERROR: line 17: Error: <polyline> attribute points: Expected number, "10,,10".
CONSOLE ERROR: line 17: Error: <polyline> attribute points: Unexpected end of attribute. Expected number, "10,10,".
CONSOLE ERROR: line 17: Error: <polyline> attribute points: Expected number, "10,10a".
CONSOLE ERROR: line 17: Error: <polyline> attribute points: Expected number, ",10".
CONSOLE ERROR: line 17: Error: <polyline> attribute points: Expected number, ",10,".
CONSOLE ERROR: line 17: Error: <polyline> attribute points: Expected number, ",10,,".
CONSOLE ERROR: line 17: Error: <polyline> attribute points: Expected number, ",10,10".
This tests the parser for points attribute values.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Test string: ' '
PASS '' is ''
Test string: '10 10'
PASS '10 10' is '10 10'
Test string: '10,10'
PASS '10 10' is '10 10'
Test string: '10, 10'
PASS '10 10' is '10 10'
Test string: '10 10 20 20'
PASS '10 10 20 20' is '10 10 20 20'
Test string: '10, 10 20 20'
PASS '10 10 20 20' is '10 10 20 20'
Test string: '10, 10, 20 20'
PASS '10 10 20 20' is '10 10 20 20'
Test string: '10, 10, 20, 20'
PASS '10 10 20 20' is '10 10 20 20'
Test string: '10, 10 20, 20'
PASS '10 10 20 20' is '10 10 20 20'
Test string: '10 10, 20, 20'
PASS '10 10 20 20' is '10 10 20 20'
Test string: '10 10 20, 20'
PASS '10 10 20 20' is '10 10 20 20'
Test string: '10+10'
PASS '10 10' is '10 10'
Test string: '10-10'
PASS '10 -10' is '10 -10'
Test string: '10,+10'
PASS '10 10' is '10 10'
Test string: '10,-10'
PASS '10 -10' is '10 -10'
Test string: ' 10,10'
PASS '10 10' is '10 10'
Test string: '10,10 '
PASS '10 10' is '10 10'
Test string: '10, 10'
PASS '10 10' is '10 10'
Test string: '10 ,10'
PASS '10 10' is '10 10'
Test string: '10 , 10'
PASS '10 10' is '10 10'
Test string: ' 10,10'
PASS '10 10' is '10 10'
Test string: '10,10 '
PASS '10 10' is '10 10'
Test string: '10, 10'
PASS '10 10' is '10 10'
Test string: '10 ,10'
PASS '10 10' is '10 10'
Test string: '10 , 10'
PASS '10 10' is '10 10'
Strings that fail to parse, and hence parse as "".
Test string: 'a'
PASS '' is ''
Test string: '10'
PASS '' is ''
Test string: '10,'
PASS '' is ''
Test string: '10,,'
PASS '' is ''
Test string: '10,,10'
PASS '' is ''
Test string: '10,10,'
PASS '10 10' is '10 10'
Test string: '10,10a'
PASS '10 10' is '10 10'
Test string: ',10'
PASS '' is ''
Test string: ',10,'
PASS '' is ''
Test string: ',10,,'
PASS '' is ''
Test string: ',10,10'
PASS '' is ''
PASS successfullyParsed is true
TEST COMPLETE