summaryrefslogtreecommitdiff
path: root/tests/breaks
Commit message (Collapse)AuthorAgeFilesLines
* Add some new tests for hyphenshyphen-log-attrMatthias Clasen2021-08-254-0/+16
|
* test-break: Print out hyphensMatthias Clasen2021-08-257-30/+37
| | | | | | Print out all the log attrs we have. Update expected test outputs.
* break-thai: Fix up word break handlingMatthias Clasen2021-08-231-6/+6
| | | | | | | | | | | We want to insert word start+end if libthai hands us line breaks between letters. But must be careful not to overwrite existing word boundaries, or we end up with a nonsense sequence. This was found by checking log attr invariants. Regenerate affected test outputs.
* tests: Tweak test-break outputMatthias Clasen2021-08-227-7/+7
| | | | | | Change the order in test-break output to be sentence, word, grapheme. Update all affected test outputs.
* Remove leftover test filesmatthiasc/for-masterMatthias Clasen2021-08-214-4/+0
| | | | | These don't have a corresponding .break file, so they are useless.
* tests: Avoid bidi in test outputMatthias Clasen2021-08-0511-31/+11
| | | | | | | When rendering the text char-by-char, use directional controls to avoid any bidi reordering. Update affected tests.
* break: Fix handling of tag sequencestests-and-fixesMatthias Clasen2021-07-072-0/+8
| | | | | | | | Correctly classify tag characters as Grapheme_Extend, so that we don't end up putting grapheme boundaries in the middle of tag sequences. Includes a test.
* tests: Dump grapheme boundaries tooMatthias Clasen2021-07-0710-0/+30
| | | | | | | Add grapheme boundaries to the output of test-break, so we can check those easily, too. Update expected test output for this.
* tests: Add some more break testcasesMatthias Clasen2021-07-074-0/+18
|
* Try to fix thai break testcaseMatthias Clasen2021-02-162-7/+6
| | | | | Remove the dashes that cause the runs to break, and seem to be causing issues on both Debian and newer Fedora.
* tests: add test-break test case for Thai languagePeng Wu2019-08-222-0/+7
| | | | | | | Thai language requires word dictionary from libthai project for word/sentence breaks. Adding this test case to check the results of sentence breaks.
* Update expected test outputMatthias Clasen2019-07-203-15/+15
| | | | Recent changes changed breaks.
* Update testsMatthias Clasen2019-07-091-5/+5
| | | | | | test-break was using the is_soft_hyphen log attr that we've just removed again. Adapt, and update expected test output.
* Add another break testcaseMatthias Clasen2019-07-072-0/+7
|
* Add another break testcaseMatthias Clasen2019-07-072-0/+8
| | | | This one is taken from #218.
* Document the break testcaseMatthias Clasen2019-07-071-0/+1
|
* Make the break test actually test thingsMatthias Clasen2019-07-071-5/+5
| | | | | We were not diffing the output against the expected results.
* Add a test for log attrsMatthias Clasen2019-07-072-0/+6
This is useful for exploring line breaking.