summaryrefslogtreecommitdiff
path: root/tests/test-layout.c
Commit message (Collapse)AuthorAgeFilesLines
* Silence a few coverity warningsMatthias Clasen2015-07-171-1/+3
| | | | | | | coverity says: Using uninitialized value "index2". It didn't notice that the only time we can reach the index = index2 assignment with index2 still uninitialized is when we are never going to look at index again.
* Split out some test functionsMatthias Clasen2015-03-131-169/+7
| | | | These will be reused later.
* Don't compare fonts in the layout testMatthias Clasen2014-09-191-1/+1
| | | | | For some reason (that I haven't been able to track down), this fails in the installed tests on build.gnome.org.
* Try to fix the test on build.gnome.orgMatthias Clasen2014-09-061-4/+6
| | | | | | For some reason, the test-layout test does not show the font size when run on build.gnome.org. Try harder to make it use the Cantarell 11 font that I want it to use.
* test-layout: Better error reportingMatthias Clasen2014-09-031-8/+62
| | | | | Run diff over the output to give a meaningful error if the comparison fails.
* Add tests for PangoLayoutMatthias Clasen2014-08-301-0/+487
This tests works similar to the markup parser tests - we populate a layout with known data, and then compare a dump of its properties with expected output.