summaryrefslogtreecommitdiff
path: root/tests/markups
Commit message (Collapse)AuthorAgeFilesLines
* Correctly handle font attributesbetter-ellipsizeMatthias Clasen2021-07-221-0/+1
| | | | | | | | | | pango_attr_iterator_get_attributes only returns the innermost attribute of each kind. That is correct for attributes that supersede each other, but not for font descriptions, which get merged. So, keep all font attributes in the returned list. Update affected tests.
* tests: Improve markup test coverageMatthias Clasen2021-06-2882-19/+262
| | | | Cover many more error cases.
* markup tests: Add tests for parsing accelsmarkup-parse-fixesMatthias Clasen2021-03-026-0/+57
| | | | | Add tests that test some of the corner cases handled in the previous commit.
* markup tests: Remove an _Matthias Clasen2021-03-022-2/+2
| | | | | This is in preparation for adding some tests that will check accel handling.
* Add tests for new markupMatthias Clasen2019-10-312-0/+43
|
* Some test updatesMatthias Clasen2019-07-1411-102/+102
| | | | | Share the attribute printing code between all the tests, update expected output to match.
* Add some tests with variationsMatthias Clasen2018-01-034-0/+96
|
* Test attribute iteratorsMatthias Clasen2018-01-039-0/+90
| | | | | | Add a quick test for iterating through attribute lists that piggy-backs on the markup tests - we already have attribute lists and a place for expected results here.
* Add more markup testsMatthias Clasen2015-08-222-0/+2
|
* Add a testcase for font-features in markupMatthias Clasen2015-08-142-0/+9
|
* Add some tests for markup with alphaMatthias Clasen2015-08-1414-0/+99
|
* Add tests for pango markupMatthias Clasen2014-08-2810-0/+96
This test is modeled after the GMarkup parser tests in GLib. Test file with a name ending in .markup can be dumped in tests/markups/, and tests/markup-parse can be used to generate the expected output files which should be in the same location and with the extension .markup replaced by .expected. The test is also used as an installed test.