blob: 5151ddd4025e56d77564c8c81f58eeccacc0c2ce [file] [log] [blame]
This test checks behavior of invalid arguments to Canvas::drawImage.
PASS: no arguments, got exception as expected
PASS: image argument only, got exception as expected
PASS: image argument plus one number, got exception as expected
PASS: image argument plus 2 numbers
PASS: image argument plus 4 numbers
PASS: image argument plus 8 numbers
PASS: image argument plus zero size
PASS: image argument plus 8 numbers, zero size
PASS: image argument plus 8 numbers, negative size of source, zero size, got exception as expected
PASS: image argument plus 8 numbers, negative size of destination, zero size, got exception as expected
PASS: image argument plus 8 numbers, negative size of source and destination, zero size, got exception as expected
PASS: null image, got exception as expected
PASS: null image, got exception as expected
PASS: null image, got exception as expected
PASS: null image, got exception as expected
PASS: imageRect does not contain sourceRect on the left side, got exception as expected
PASS: imageRect does not contain sourceRect on the right side, got exception as expected
PASS: imageRect does not contain sourceRect on top, got exception as expected
PASS: imageRect does not contain sourceRect on bottom, got exception as expected
PASS: sourceRect is bigger than imageSource on every side, got exception as expected
PASS: negative size of source, imageRect does not contain sourceRect on the left side, got exception as expected
PASS: negative size of source, imageRect does not contain sourceRect on the right side, got exception as expected
PASS: negative size of source, imageRect does not contain sourceRect on top, got exception as expected
PASS: negative size of source, imageRect does not contain sourceRect on bottom, got exception as expected
PASS: negative size of source, imageRect does not contain sourceRect on every side, got exception as expected
Test complete.