1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 10:57:36 +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

@ -0,0 +1,8 @@
set(
TEST_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/TestLibCoreFileWatcher.cpp
)
foreach(source ${TEST_SOURCES})
serenity_test(${source} LibCore)
endforeach()