summaryrefslogtreecommitdiff
path: root/tests/markups
Commit message (Collapse)AuthorAgeFilesLines
* tests: Reuse attribute serialization codeMatthias Clasen2021-11-1723-167/+167
| | | | Update affected test outputs.
* markup: Change <sup> and <sub>Matthias Clasen2021-08-311-4/+4
| | | | | | | | Use the new baseline-shift and font-scale attributes to reimplement <sup> and <sub>. Now they take font metrics into account and nest properly.
* Add a test for text_transform in markuptext-transform-3Matthias Clasen2021-08-202-0/+20
|
* Correct an error messagefix-gravity-errorMatthias Clasen2021-08-171-1/+1
| | | | | | Update affected tests Fixes: #598
* markup: Allow specifying size as percentagemarkup-sizesMatthias Clasen2021-08-082-0/+19
| | | | | | | Accept values like 200%, in addition to other ways of specifying sizes in markup. Fixes: #23
* markup: Allow pt for rise tooMatthias Clasen2021-08-085-1/+31
|
* markup: Allow specifying size in ptMatthias Clasen2021-08-084-2/+15
| | | | | | | | Accept values like 12.5pt, in addition to the other ways of specifying font size in markup. Fixes: #67
* 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.