mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:57:35 +00:00
Tests: Add some test coverage for the TTF parser
This is in Tests/LibTTF instead of Tests/LibGfx because Tests/LibGfx depends on serenity's file system layout and can't run in lagom, but this new test runs just fine in lagom.
This commit is contained in:
parent
9b24600779
commit
fd82121319
3 changed files with 95 additions and 1 deletions
|
@ -338,7 +338,7 @@ if (BUILD_LAGOM)
|
|||
LIBS LagomTLS
|
||||
)
|
||||
|
||||
# GFX
|
||||
# Gfx
|
||||
file(GLOB LIBGFX_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGfx/*.cpp")
|
||||
file(GLOB LIBGFX_TTF_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGfx/TrueTypeFont/*.cpp")
|
||||
lagom_lib(Gfx gfx
|
||||
|
@ -621,6 +621,12 @@ if (BUILD_LAGOM)
|
|||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../Tests/LibTLS)
|
||||
endforeach()
|
||||
|
||||
# TTF
|
||||
file(GLOB LIBTTF_TESTS CONFIGURE_DEPENDS "../../Tests/LibTTF/*.cpp")
|
||||
foreach(source ${LIBTTF_TESTS})
|
||||
lagom_test(${source} LIBS LagomGfx)
|
||||
endforeach()
|
||||
|
||||
# TimeZone
|
||||
file(GLOB LIBTIMEZONE_TEST_SOURCES CONFIGURE_DEPENDS "../../Tests/LibTimeZone/*.cpp")
|
||||
foreach(source ${LIBTIMEZONE_TEST_SOURCES})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue