summaryrefslogtreecommitdiff
path: root/tests/layouts
Commit message (Collapse)AuthorAgeFilesLines
* layout: Flip the logic for attribute filteringMatthias Clasen2019-07-241-2/+2
| | | | | | | | | | | Instead of filtering out the attributes we don't want to influence itemization, explicitly filter only those attributes that we want to affect itemization. This makes us no longer break items for custom attributes, such as GtkTextAppearance attributes that are created by GtkTextLayout. Update expected output for layout testcases.
* Update expected test outputMatthias Clasen2019-07-201-13/+11
| | | | Recent changes changed breaks.
* Update expected test resultsMatthias Clasen2019-07-171-22/+20
| | | | | Some of the hyphenation fixes affected line breaks in the layout tests.
* Add another layout testMatthias Clasen2019-07-162-0/+51
| | | | | | | This tests a situation in which we had a crash until recently: Multiple paragraphs, with no-break attributes. We used to free the no-break attribute list prematurely.
* Add a layout test with soft hyphensMatthias Clasen2019-07-142-0/+42
|
* Some test updatesMatthias Clasen2019-07-143-22/+22
| | | | | Share the attribute printing code between all the tests, update expected output to match.
* Add a layout test with EmojiMatthias Clasen2019-06-032-0/+27
|
* Regenerate expected layout test outputMatthias Clasen2019-06-032-8/+8
| | | | | | The locale is reflected in the lang field, so the output changes due to the previous commit.
* Update expected test resultsMatthias Clasen2014-09-192-8/+8
| | | | | Update the expected output of the layout tests to the previous change.
* layout tests: Adapt expected outputMatthias Clasen2014-09-031-1/+1
| | | | | We see the 'ellipsized' analysis flag in the output now, as we should.
* Add tests for PangoLayoutMatthias Clasen2014-08-304-0/+73
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.