Commit Graph
5 Commits
Author SHA1 Message Date
MarcZX10 cc521b8cea test(libSceSystemService): cover the Spanish and Portuguese locale rows
Checks the Spain row, every Latin American country row, the es-419 region, the
Brazilian default for a bare pt, the Portuguese territories, and spellings
with case differences, POSIX codesets and an explicit script.
2026-10-29 08:51:16 +00:00
MarcZX10 6478422bca test(libSceSystemService): cover the Latin-script European locale rows
Maps English, French, German, Italian, Dutch and Romanian locales in BCP-47
and POSIX spellings, including the regional rows (en-GB, en-IE, en-AU, en-NZ,
fr-CA) and the regions that fall back to the main row (en-CA, en-IN, fr-BE,
fr-CH, de-AT, de-CH, nl-BE).
2026-10-29 08:51:16 +00:00
MarcZX10 83e0bfdfd6 test(libSceSystemService): cover parsing a locale in either form
Checks that BCP-47 and POSIX spellings of the same locale give the same
language, script and region, that the @latin modifier supplies a script, and
that C, POSIX, empty and malformed texts are refused without writing the tag.
2026-10-29 08:51:16 +00:00
MarcZX10 c386fbe7f7 test(libSceSystemService): cover POSIX locale name normalisation
Checks NormalizePosixLocale on codesets, modifiers, the Latn and Cyrl script
modifiers (also where the name already has a script), names that are already
BCP-47, and C, POSIX and empty names, which must normalise to no locale.
2026-10-29 08:51:16 +00:00
MarcZX10 238bf96bcc test(libSceSystemService): cover the BCP-47 locale tag parser
Adds a host-only test, system_service_language_locale, for ParseTag: case
normalisation of the language, script and region subtags, the three-digit
region of es-419, variants and extensions that are ignored, and the inputs it
must reject (empty and oversized subtags, one-letter and long languages, the
POSIX underscore and codeset forms) without touching the output tag.
2026-10-29 08:51:16 +00:00