summaryrefslogtreecommitdiff
path: root/tests/test-break.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'for-master' into 'master'Matthias Clasen2020-06-081-6/+25
|\ | | | | | | | | For master See merge request GNOME/pango!184
| * tests: Update the locale useEmmanuele Bassi2020-06-081-3/+4
| | | | | | | | | | Create the PangoContext for the test after resetting the locale, and use the en_US.utf8 name, as it seems to be the name used by Fedora.
| * tests: Ensure we respect the TAP output formatEmmanuele Bassi2020-06-081-3/+12
| | | | | | | | | | When dumping the diff between the computed and expected results, we need to respect the TAP format and place "#" in front of each line.
| * Skip test-break when the en_US locale is missingEmmanuele Bassi2020-06-081-3/+12
| | | | | | | | Just like test-layout and test-itemize.
* | Merge branch 'test-break-no-libthai' into 'master'Matthias Clasen2020-06-081-0/+6
|\ \ | |/ |/| | | | | tests/test-break.c: Only test Thai breaks with libthai available See merge request GNOME/pango!161
| * tests/test-break.c: Only test Thai breaks with libthai availableChun-wei Fan2019-11-251-0/+6
| | | | | | | | | | | | The four.break test data file involves the Thai language, meaning that this test will fail unless we have libthai. Skip this test unless libthai is found.
* | tests: Use the appropriate GTest APIEmmanuele Bassi2020-04-141-14/+7
|/ | | | | | | | Do not use homegrown assertion and failure macros, when GTest has perfectly functional API to deal with all the cases Pango covers. Using GTest also allows us to rely on appropriate formatting for results and logging.
* Remove an unused variableMatthias Clasen2019-07-221-3/+0
|
* test-break: Use pango_layout_get_log_attrsMatthias Clasen2019-07-201-3/+18
| | | | pango_get_log_attrs does not apply allow-break attributes.
* Update testsMatthias Clasen2019-07-091-5/+0
| | | | | | test-break was using the is_soft_hyphen log attr that we've just removed again. Adapt, and update expected test output.
* test-break: Print line separator in hexMatthias Clasen2019-07-071-1/+3
| | | | This alternative is not useful.
* test-break: Skip initial comment in test filesMatthias Clasen2019-07-071-4/+12
| | | | This is useful for documenting tests.
* Make the break test actually test thingsMatthias Clasen2019-07-071-1/+11
| | | | | We were not diffing the output against the expected results.
* Add a test for log attrsMatthias Clasen2019-07-071-0/+289
This is useful for exploring line breaking.