summaryrefslogtreecommitdiff
path: root/tests/test-common.h
Commit message (Collapse)AuthorAgeFilesLines
* Update test-layoutMatthias Clasen2021-11-241-0/+4
| | | | | | Use the new output serialization in test-layout to store both the input and output in the same file.
* Use serialization api in testattributesMatthias Clasen2021-11-171-6/+0
|
* Improve attribute test infrastructureMatthias Clasen2021-07-091-0/+3
| | | | | | | | | | Make attribute_from_string() parse enum attribute values in the same way as PangoMarkup, and use it in the attribute tests. Still to do: Do the same for flags. The flags parsing function isn't exported, so this needs our tests to be statically linked.
* tests: Improve markup test coverageMatthias Clasen2021-06-281-0/+4
| | | | Cover many more error cases.
* Add better attribute test infrastructureMatthias Clasen2021-06-281-0/+3
| | | | | | | Add a way to deserialize a PangoAttrList from a string, for less cumbersome tests. And use it in testattributes.
* tests: Use pango_attr_list_get_attributesMatthias Clasen2019-07-191-2/+0
|
* Some test updatesMatthias Clasen2019-07-141-0/+1
| | | | | Share the attribute printing code between all the tests, update expected output to match.
* Split out some test functionsMatthias Clasen2015-03-131-0/+22
These will be reused later.