summaryrefslogtreecommitdiff
path: root/tests/testmisc.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Move bidi tests to their own filemore-test-coverage2Matthias Clasen2021-07-061-57/+12
| | | | Also add some tests for bidi embedding levels.
* tests: Add tests for fallback shapingMatthias Clasen2021-07-061-0/+37
|
* Add missing bidi typestest-coverageMatthias Clasen2021-06-281-2/+5
| | | | | The api is deprecated, but it is very ugly to randomly miss a few values here. Just add them.
* tests: Add some bidi api testsMatthias Clasen2021-06-281-0/+64
|
* tests: Add tests for PangoGravityMatthias Clasen2021-06-281-0/+57
|
* tests: Add tests for version apisMatthias Clasen2021-06-281-0/+25
| | | | Check the previous change.
* Add a test for unlimited attributesmore-attr-update-fixesMatthias Clasen2021-05-231-0/+10
| | | | Test the fix in the previous commit.
* Add a testcase for pango_attr_list_updatefix-attr-list-updateMatthias Clasen2021-05-231-0/+26
| | | | This captures bug fixed in the previous commit.
* Make pango_layout_line_get_height workfix-layout-line-heightMatthias Clasen2021-05-081-0/+21
| | | | | | | We were just never setting the height. Ouch! Test included. Fixes: #487
* tests: Plug a memory leakMatthias Clasen2021-01-231-0/+1
| | | | | We just plugged all the memory leaks in tests, lets not introduce new ones.
* Fix the length checkingWeng Xuetian2021-01-141-0/+14
| | | | Closes #526
* Don't assert in pango_language_get_scriptsavoid-script-lang-crashMatthias Clasen2020-09-081-0/+15
| | | | | | | | | | | The assertion in pango_language_get_scripts can actually be triggered since we last regenerated the pango_script_for_lang table. It now includes an entry for und-zsye which has no scripts. Handle this case without asserting. This commit includes a test.
* Add a reproducer for a pidgin crashMatthias Clasen2020-07-301-0/+20
| | | | This test is reproducing the crash reported in #490.
* itemize: Work around gtk2 brokennessMatthias Clasen2020-06-101-0/+14
| | | | | | | | | | | GTK 2 apparently manages to call pango_itemize_with_base_dir with a non-zero length for a string that contains 0 characters. That in turn causes pango_log2vis_get_embedding_levels to return NULL, and things go downhill from there. A test is included. Fixes: #480
* tests: Add an explanationMatthias Clasen2020-06-091-0/+3
| | | | | Lets explain what this test is about, since it doesn't appear to test anything.
* Add a test for a crash in shape_tabMatthias Clasen2020-06-091-0/+49
This verifies the fix in the previous commit.