tests/lib: Add unit tests for ux_locales_get_text()
commitabaa4b5a9630349b6ca9998adf2931e186713e9f
authorHsuan Ting Chen <roccochen@chromium.org>
Wed, 5 Jul 2023 11:07:23 +0000 (5 19:07 +0800)
committerMartin L Roth <gaumless@gmail.com>
Wed, 30 Aug 2023 15:20:59 +0000 (30 15:20 +0000)
tree16e61a2e18610f8adb2e46721e5ad7ae648a6233
parentcbedae116cccbb6399f854d4392c28b710705323
tests/lib: Add unit tests for ux_locales_get_text()

Add unit tests for ux_locales_get_text() in lib/ux_locales.c.

BUG=b:264666392, b:289995591
BRANCH=brya
TEST=make tests/lib/ux_locales-test
TEST=Make sure ux_locales.c has 100% test coverage

Signed-off-by: Hsuan Ting Chen <roccochen@chromium.org>
Change-Id: I4d73419c02478870942828d324c258ef0eaa983c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76253
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Jakub Czapiga <jacz@semihalf.com>
tests/lib/Makefile.inc
tests/lib/ux_locales-test.c [new file with mode: 0644]