1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 19:37:35 +00:00

Tests: Add InodeWatcher and FileWatcher tests

This patch adds some rudimentary tests for InodeWatcher.  It tests the
basic functionality, but maybe there are corner cases I haven't caught.
Additionally, this is our first LibCore test. :^)
This commit is contained in:
sin-ack 2021-05-10 09:27:04 +00:00 committed by Andreas Kling
parent ae9e352104
commit 60eb4adac2
5 changed files with 240 additions and 0 deletions

View file

@ -5,6 +5,7 @@ set(TEST_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/TestLibCMkTemp.cpp
${CMAKE_CURRENT_SOURCE_DIR}/TestLibCExec.cpp
${CMAKE_CURRENT_SOURCE_DIR}/TestLibCDirEnt.cpp
${CMAKE_CURRENT_SOURCE_DIR}/TestLibCInodeWatcher.cpp
)
file(GLOB CMD_SOURCES CONFIGURE_DEPENDS "*.cpp")