OLD | NEW |
(Empty) | |
| 1 Check that SVGTextContentElement methods' parameters are correctly validated |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS svgText.getSubStringLength() threw exception TypeError: Not enough argument
s. |
| 7 PASS svgText.getSubStringLength(2) threw exception TypeError: Not enough argumen
ts. |
| 8 PASS svgText.getStartPositionOfChar() threw exception TypeError: Not enough argu
ments. |
| 9 PASS svgText.getEndPositionOfChar() threw exception TypeError: Not enough argume
nts. |
| 10 PASS svgText.getExtentOfChar() threw exception TypeError: Not enough arguments. |
| 11 PASS svgText.getRotationOfChar() threw exception TypeError: Not enough arguments
. |
| 12 PASS svgText.getCharNumAtPosition() threw exception TypeError: Not enough argume
nts. |
| 13 PASS svgText.selectSubString() threw exception TypeError: Not enough arguments. |
| 14 PASS svgText.selectSubString(2) threw exception TypeError: Not enough arguments. |
| 15 PASS svgText.getSubStringLength(999, 2) threw exception IndexSizeError: Index or
size was negative, or greater than the allowed value.. |
| 16 PASS svgText.getStartPositionOfChar(999) threw exception IndexSizeError: Index o
r size was negative, or greater than the allowed value.. |
| 17 PASS svgText.getEndPositionOfChar(999) threw exception IndexSizeError: Index or
size was negative, or greater than the allowed value.. |
| 18 PASS svgText.getExtentOfChar(999) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. |
| 19 PASS svgText.getRotationOfChar(999) threw exception IndexSizeError: Index or siz
e was negative, or greater than the allowed value.. |
| 20 PASS svgText.selectSubString(999, 2) threw exception IndexSizeError: Index or si
ze was negative, or greater than the allowed value.. |
| 21 PASS svgText.getSubStringLength(-4294967294, 2) is svgText.getSubStringLength(2,
2) |
| 22 PASS actualTestPoint.x is expectedTestPoint.x |
| 23 PASS actualTestPoint.y is expectedTestPoint.y |
| 24 PASS actualTestPoint.x is expectedTestPoint.x |
| 25 PASS actualTestPoint.y is expectedTestPoint.y |
| 26 PASS actualTestRect.x is expectedTestRect.x |
| 27 PASS actualTestRect.y is expectedTestRect.y |
| 28 PASS actualTestRect.width is expectedTestRect.width |
| 29 PASS actualTestRect.height is expectedTestRect.height |
| 30 PASS svgText.getRotationOfChar(-4294967294) is svgText.getRotationOfChar(2) |
| 31 PASS svgText.selectSubString(-4294967294, 2) did not throw exception. |
| 32 PASS svgText.getSubStringLength(-1, 2) threw exception IndexSizeError: Index or
size was negative, or greater than the allowed value.. |
| 33 PASS svgText.getStartPositionOfChar(-1) threw exception IndexSizeError: Index or
size was negative, or greater than the allowed value.. |
| 34 PASS svgText.getEndPositionOfChar(-1) threw exception IndexSizeError: Index or s
ize was negative, or greater than the allowed value.. |
| 35 PASS svgText.getExtentOfChar(-1) threw exception IndexSizeError: Index or size w
as negative, or greater than the allowed value.. |
| 36 PASS svgText.getRotationOfChar(-1) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. |
| 37 PASS svgText.selectSubString(-1, 2) threw exception IndexSizeError: Index or siz
e was negative, or greater than the allowed value.. |
| 38 PASS svgText.getSubStringLength(2, 999) is svgText.getSubStringLength(2, 5) |
| 39 PASS svgText.getSubStringLength(2, -1) is svgText.getSubStringLength(2, 5) |
| 40 PASS svgText.getSubStringLength(2, 2) is svgText.getSubStringLength(2, -42949672
94) |
| 41 PASS svgText.selectSubString(2, 999) did not throw exception. |
| 42 PASS svgText.selectSubString(2, -1) did not throw exception. |
| 43 PASS svgText.selectSubString(2, -4294967294) did not throw exception. |
| 44 PASS successfullyParsed is true |
| 45 |
| 46 TEST COMPLETE |
| 47 abcdefg |
OLD | NEW |