summaryrefslogtreecommitdiff
path: root/data/git:
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2026-03-12 15:12:17 -0400
committerVictor Kareh <[email protected]>2026-03-12 15:29:36 -0400
commitb907883510300f22f703a6d1a70b2fc8b6b56d85 (patch)
tree1093bd2f774d4152d965bb7759f1ccf62bbc8302 /data/git:
parent6ea270f97646da42455c662abda4432c94e288cb (diff)
downloadlibmateweather-b907883510300f22f703a6d1a70b2fc8b6b56d85.tar.bz2
libmateweather-b907883510300f22f703a6d1a70b2fc8b6b56d85.tar.xz
tests: Add tests for timezone validity
For every timezone defined in the location hierarchy, verify its validity by checking it exists in the system zoneinfo directory. The upstream test used gweather_location_get_timezone_str() and gweather_timezone_get_by_tzid() which do not exist in libmateweather. Instead, walk the location tree collecting all timezone IDs from timezone definitions and validate each against ZONEINFO_DIR. Adapted from libgweather: https://gitlab.gnome.org/GNOME/libgweather/-/commit/2dab8a81
Diffstat (limited to 'data/git:')
0 files changed, 0 insertions, 0 deletions