[NTDLL_APITEST] Add test for Rtl locale functions

This commit is contained in:
Timo Kreuzer 2025-02-19 18:18:51 +02:00
parent 738ff9dc04
commit 762a9f00bb
3 changed files with 1045 additions and 1 deletions

View file

@ -92,6 +92,7 @@ list(APPEND SOURCE
RtlImageDirectoryEntryToData.c
RtlImageRvaToVa.c
RtlIsNameLegalDOS8Dot3.c
RtlLocale.c
RtlMemoryStream.c
RtlMultipleAllocateHeap.c
RtlNtPathNameToDosPathName.c
@ -144,7 +145,10 @@ add_pch(ntdll_apitest precomp.h "${PCH_SKIP_SOURCE}")
add_dependencies(ntdll_apitest load_notifications empty_dll)
if(NOT MSVC)
set_source_files_properties(RtlGetFullPathName_UstrEx.c PROPERTIES COMPILE_OPTIONS "-Wno-format")
set_source_files_properties(
RtlGetFullPathName_UstrEx.c
RtlLocale.c
PROPERTIES COMPILE_OPTIONS "-Wno-format")
endif()
add_rostests_file(TARGET ntdll_apitest)

File diff suppressed because it is too large Load diff

View file

@ -88,6 +88,7 @@ extern void func_RtlImageDirectoryEntryToData(void);
extern void func_RtlImageRvaToVa(void);
extern void func_RtlIntSafe(void);
extern void func_RtlIsNameLegalDOS8Dot3(void);
extern void func_RtlLocale(void);
extern void func_RtlMemoryStream(void);
extern void func_RtlMultipleAllocateHeap(void);
extern void func_RtlNtPathNameToDosPathName(void);
@ -194,6 +195,7 @@ const struct test winetest_testlist[] =
{ "RtlImageRvaToVa", func_RtlImageRvaToVa },
{ "RtlIntSafe", func_RtlIntSafe },
{ "RtlIsNameLegalDOS8Dot3", func_RtlIsNameLegalDOS8Dot3 },
{ "RtlLocale", func_RtlLocale },
{ "RtlMemoryStream", func_RtlMemoryStream },
{ "RtlMultipleAllocateHeap", func_RtlMultipleAllocateHeap },
{ "RtlNtPathNameToDosPathName", func_RtlNtPathNameToDosPathName },