mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
LibLocale: Move locale test files to the LibLocale folder
This commit is contained in:
parent
43a3471298
commit
b2d2bb43ce
6 changed files with 14 additions and 3 deletions
|
@ -727,7 +727,8 @@ if (BUILD_LAGOM)
|
|||
|
||||
# Unicode
|
||||
file(GLOB LIBUNICODE_TEST_SOURCES CONFIGURE_DEPENDS "../../Tests/LibUnicode/*.cpp")
|
||||
foreach(source ${LIBUNICODE_TEST_SOURCES})
|
||||
file(GLOB LIBLOCALE_TEST_SOURCES CONFIGURE_DEPENDS "../../Tests/LibLocale/*.cpp")
|
||||
foreach(source ${LIBUNICODE_TEST_SOURCES} ${LIBLOCALE_TEST_SOURCES})
|
||||
lagom_test(${source} LIBS LibUnicode)
|
||||
endforeach()
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@ add_subdirectory(LibGfx)
|
|||
add_subdirectory(LibGL)
|
||||
add_subdirectory(LibIMAP)
|
||||
add_subdirectory(LibJS)
|
||||
add_subdirectory(LibLocale)
|
||||
add_subdirectory(LibM)
|
||||
add_subdirectory(LibMarkdown)
|
||||
add_subdirectory(LibPDF)
|
||||
|
|
11
Tests/LibLocale/CMakeLists.txt
Normal file
11
Tests/LibLocale/CMakeLists.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
set(TEST_SOURCES
|
||||
TestDateTimeFormat.cpp
|
||||
TestLocale.cpp
|
||||
)
|
||||
|
||||
foreach(source IN LISTS TEST_SOURCES)
|
||||
serenity_test("${source}" LibLocale LIBS LibUnicode)
|
||||
|
||||
get_filename_component(target "${source}" NAME_WLE)
|
||||
link_with_locale_data("${target}")
|
||||
endforeach()
|
|
@ -1,7 +1,5 @@
|
|||
set(TEST_SOURCES
|
||||
TestUnicodeCharacterTypes.cpp
|
||||
TestUnicodeDateTimeFormat.cpp
|
||||
TestUnicodeLocale.cpp
|
||||
)
|
||||
|
||||
foreach(source IN LISTS TEST_SOURCES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue