Uli Schlachter
9ec5e9fee6
xcb: Fixup some internal state in set_{drawable,size}
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-12-05 22:48:56 +01:00
Andrea Canciani
75fea162d9
test: Cleanup macros
...
The ARRAY_LENGTH macro is used by many tests, although sometimes it is
named ARRAY_SIZE. Define it just once in cairo-test.h and reuse it.
In a similar way, MAX() and MIN() are currently defined in some
specific tests, while they could be reused.
2011-03-17 17:45:57 +01:00
Andrea Canciani
2b84d82bcf
test: Silence gcc
...
api-special-cases.c:94:1: warning: "Cursor" redefined
api-special-cases.c:81:1: warning: this is the location of the previous definition
2011-03-17 16:47:44 +01:00
Benjamin Otte
9f33f8453b
configure: Disable tee backend by default
...
We don't want to enable it by default when nobody uses it.
2010-07-30 22:27:27 +02:00
Benjamin Otte
9f4d677e2a
tee: Move definitions into separate header
2010-07-30 22:27:08 +02:00
Chris Wilson
459b8ae660
Make distcheck happy.
2010-07-12 11:05:57 +01:00
Andrea Canciani
fb03eba44f
test: Add quartz functions to api-special-cases test
2010-07-08 20:06:08 +02:00
Andrea Canciani
59aab0bdc2
test: fix typo
2010-07-08 20:05:13 +02:00
Benjamin Otte
82de6336d8
test: Add note about how to fix failures to api-special-cases
2010-07-06 00:48:36 +02:00
Benjamin Otte
75f269b14e
test: Add documentation to the api-special-cases test
...
Hopefully people add other backend APIs to the testsuite.
2010-07-06 00:41:12 +02:00
Benjamin Otte
fa07070496
test: Add xcb and xlib functions to api-special-cases test
2010-07-06 00:20:36 +02:00
Benjamin Otte
c4068fe941
test: Add ps, pdf and svg to the api-special-cases test
2010-07-05 23:14:33 +02:00
Benjamin Otte
b87be76bdf
test: Add gl functions to the tests
2010-07-05 22:50:18 +02:00
Benjamin Otte
a9f30fc1f0
test: Add recording and tee surface functions to api-special-cases
2010-07-05 22:40:34 +02:00
Benjamin Otte
41abc0ca37
test: add PNG functions
2010-07-05 22:19:05 +02:00
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