Commit graph

4 commits

Author SHA1 Message Date
Benjamin Otte
897eaa3e97 test: Add a non-error surface check
In that check, we call functions that require a specific surface type
with surfaces of a different type and check that they don't crash and
set the correct error.
2010-07-05 22:11:23 +02:00
Benjamin Otte
986ddf5652 test: add image surface functions to api-special-cases test 2010-07-05 22:03:42 +02:00
Benjamin Otte
72878d70ea test: Add a new test variant to api-special-cases test
This variant tests a (hopefully) inert error surface.
2010-07-05 21:01:56 +02:00
Benjamin Otte
cf0245c120 tests: Add a testcase that checks APIs work consistently
In particular, it checks that finished and surfaces in an error state do
not do bad things, like cause crashes.
So far this test only checks surface APIs, but it should be extended to
cover all APIs.

Please update this test when new APIs get added.

Motivated by https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/600622
2010-07-05 18:38:28 +02:00