summaryrefslogtreecommitdiff
path: root/lib/utils/tests/test-utils.cc
AgeCommit message (Collapse)Author
2026-01-27utils: rework MU_ENABLE_BITOPS using C++20 codeDirk-Jan C. Binnema
Instead of macros, we using C++20 concepts to define the helpers to deal with bitops on enum-class conveniently. x# Please enter the commit message for your changes. Lines starting
2025-11-19test-utils: fix some clang-tidy warningsDirk-Jan C. Binnema
2025-10-25utils: add utf8_clean helperDirk-Jan C. Binnema
To morph text into valid utf8 if it isn't already.
2024-04-14test-mu-utils: update parse_date_time testsDirk-Jan C. Binnema
We're using ::time_t now.
2023-09-24improve unit testsDirk-Jan C. Binnema
2023-09-21mu-utils: improve testsDirk-Jan C. Binnema
2023-09-17utils: add utf8_wordbreakDirk-Jan C. Binnema
Determine if a string has wordbreaks in a mostly Xapian-compatible way. We need this to determine what strings should be considered "phrases".
2023-09-09utils: handle "unbroken" scriptsDirk-Jan C. Binnema
Do not removing combining characters from scripts without explicit word boundaries, such as those for CJK. Reuse some Xapian code for that.
2023-08-19remove Mu::format, use mu_formatDirk-Jan C. Binnema
Use the new fmt-based formatting.
2023-07-06fmt: more update to use new fmt-based APIsDirk-Jan C. Binnema
2023-01-14utils: get rid of mu-util.[ch]Dirk-Jan C. Binnema
It was getting old... Remove the unused parts, refactor the few parts still in use.
2022-12-30many: use Mu::Regex instead of std::regexDirk-Jan C. Binnema
The former is PCRE-compatible, and faster than std::regex.
2022-10-02utils: add helpers for assoc-pairsDirk-Jan C. Binnema
Add some unit-test, too.
2022-08-11tests: update test helpers and usersDirk-Jan C. Binnema
Move test-mu-common to mu-test-utils. Use mu_test_init as a wrapper for g_test_init. Update users.
2022-06-16utils: add regex-splitDirk-Jan C. Binnema
2022-06-09test-utils: add error testDirk-Jan C. Binnema
2022-06-04utils: improve locale_workaroundDirk-Jan C. Binnema
Fixes: #2270.
2022-06-02lib: improve test coverageDirk-Jan C. Binnema
Add a bunch of tests
2022-05-18tests: skip missing timezones in queries, tooDirk-Jan C. Binnema
2022-05-18test-utils: Skip test if timezone is not availableDirk-Jan C. Binnema
2022-04-30utils: update date/size parsing, factor out formatDirk-Jan C. Binnema
And update tests
2022-03-19utils: improve split / joinDirk-Jan C. Binnema
2022-02-22utils: rework Mu::splitDirk-Jan C. Binnema
And add some tests, cleanups.
2021-11-08tests: move to subdir, move to mesonDirk-Jan C. Binnema
De-clutter the source directories a bit. Ensure tests build with meson, and remove from autotools in a few places (no need to do things twice).