summaryrefslogtreecommitdiff
path: root/tests/testboundaries_ucd.c
Commit message (Collapse)AuthorAgeFilesLines
* Quiet down break testsMatthias Clasen2022-01-211-6/+6
| | | | | | | | | The output from the testboundaries tests just overwhelms the test reports and makes it hard to find the actual problems. Stop that. You can still get the noise, by passing --verbose to the tests.
* Update Line Break to Unicode 14Peng Wu2021-10-121-1/+1
|
* tests: Silence compiler warningsMatthias Clasen2021-08-221-2/+5
|
* Fix leaks found by asanSzunti2021-01-161-0/+1
|
* Revert "testsuite: Don't use g_test_skip"Simon McVittie2021-01-031-2/+0
| | | | | | | | | | | When versions of Meson with bug https://github.com/mesonbuild/meson/issues/7515 are no longer widespread, the Pango test suite should diagnose which tests are skipped again. Versions 0.55.0 to 0.55.2 inclusive have the bug; version 0.55.3 is OK. This reverts commit 440f9c2609b7f5f9d8f65619b029a5eb660de88b. Signed-off-by: Simon McVittie <smcv@debian.org>
* testsuite: Don't use g_test_skipMatthias Clasen2020-07-301-0/+2
| | | | | | | meson 0.55 considers tests using it to be FAIL. I disagree, but lets quietly skip until 0.55.1 is available.
* Fix a few memory leaks in testsMatthias Clasen2020-07-081-0/+1
| | | | These were pointed out by asan.
* Replace fallthrough comments with G_GNUC_FALLTHROUGHTimm Bäder2020-04-141-1/+1
|
* tests: Use the appropriate GTest APIEmmanuele Bassi2020-04-141-55/+25
| | | | | | | | 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.
* Drop fixup_broken_linebreaktest variablePeng Wu2017-11-151-14/+7
| | | | | | The fixup_broken_linebreaktest variable is not needed any more. https://bugzilla.gnome.org/show_bug.cgi?id=789625
* Add char break test casesPeng Wu2017-11-151-1/+18
| | | | | | | Add char break test cases for the is_char_break variable, and fixup_broken_linebreaktest is not used any more. https://bugzilla.gnome.org/show_bug.cgi?id=789625
* Add some emoji break test casesMatthias Clasen2017-07-311-0/+17
| | | | These are the same testcases from the previous commit.
* Avoid hard-dep on bleeding-edge GLibMatthias Clasen2013-06-071-0/+16
| | | | | | If new test api is not available, do without it. In this case, the tests won't work installed, but they should still work uninstalled and in distcheck.
* Make tests installableMatthias Clasen2013-05-311-18/+47
| | | | This ensures that tests are run continuously on ostree.gnome.org.
* MinorBehdad Esfahbod2012-12-021-0/+1
|
* Fix warningBehdad Esfahbod2012-12-021-1/+1
|
* Minor.Behdad Esfahbod2008-04-251-1/+1
| | | | svn path=/trunk/; revision=2619
* Part of Bug 97545 – Make pango_default_break follow Unicode TR #29Behdad Esfahbod2008-04-251-2/+1
| | | | | | | | | | | | | | | | 2008-04-24 Behdad Esfahbod <behdad@gnome.org> Part of Bug 97545 – Make pango_default_break follow Unicode TR #29 * docs/tmpl/main.sgml: * pango/break.c (pango_default_break): * pango/pango-break.h: * tests/testboundaries_ucd.c (main): Add new PangoLogAttr member is_word_boundary, that implements UAX#29's Word Boundaries semantics. Test fully passes for it. svn path=/trunk/; revision=2618
* Part of Bug 97545 – Make pango_default_break follow Unicode TR #29 PatchBehdad Esfahbod2008-04-241-0/+364
2008-04-24 Behdad Esfahbod <behdad@gnome.org> Part of Bug 97545 – Make pango_default_break follow Unicode TR #29 Patch from Noah Levitt * tests/Makefile.am: * tests/runtests.sh.in: * tests/testboundaries_ucd.c (count_attrs), (parse_line), (attrs_equal), (make_test_string), (do_test), (main): Add test driver for UAX#14 and UAX#29 test data from Unicode Character Databse. Just drop the following four files in pango/tests for it to use them: GraphemeBreakTest.txt LineBreakTest.txt SentenceBreakTest.txt WordBreakTest.txt svn path=/trunk/; revision=2617