Commit graph

4 commits

Author SHA1 Message Date
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
Benjamin Otte
72bf1a5367 Update my copyright notices to preferred version
No more copyright headers containing my name.
2010-06-08 22:23:12 +02:00
Chris Wilson
181403fb53 test/clear-source: Free source after use. 2010-03-23 09:38:59 +00:00
Benjamin Otte
038829eb84 [test] Add new test checking is_clear is handled properly
This test does various operations with a clear source surface with
various content types.
The idea is to make sure optimizations done when surface->is_clear ==
TRUE only happen in the proper cases.
2010-01-22 23:01:49 +00:00