OLD | NEW |
(Empty) | |
| 1 Series of tests to ensure correct behaviour when canvas size is extremely large. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 check whether crash or not with extremely large size. |
| 7 PASS imgdata[4] is 0 |
| 8 PASS imgdata[5] is 0 |
| 9 PASS imgdata[6] is 0 |
| 10 check whether crash after reset to the same size. |
| 11 PASS imgdata[4] is 0 |
| 12 PASS imgdata[5] is 0 |
| 13 PASS imgdata[6] is 0 |
| 14 check whether crash after resize to googol. |
| 15 PASS imgdata[4] is 0 |
| 16 PASS imgdata[5] is 0 |
| 17 PASS imgdata[6] is 0 |
| 18 check whether crash after reset to the same size. |
| 19 PASS imgdata[4] is 0 |
| 20 PASS imgdata[5] is 0 |
| 21 PASS imgdata[6] is 0 |
| 22 check again whether crash or not with extremely large size. |
| 23 PASS imgdata[4] is 0 |
| 24 PASS imgdata[5] is 0 |
| 25 PASS imgdata[6] is 0 |
| 26 after resize to normal size, canvas must be in valid state. |
| 27 PASS imgdata[4] is 0 |
| 28 PASS imgdata[5] is 0 |
| 29 PASS imgdata[6] is 255 |
| 30 PASS successfullyParsed is true |
| 31 |
| 32 TEST COMPLETE |
| 33 |
OLD | NEW |