mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 07:27:45 +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:
parent
ae9e352104
commit
60eb4adac2
5 changed files with 240 additions and 0 deletions
8
Tests/LibCore/CMakeLists.txt
Normal file
8
Tests/LibCore/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
set(
|
||||
TEST_SOURCES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/TestLibCoreFileWatcher.cpp
|
||||
)
|
||||
|
||||
foreach(source ${TEST_SOURCES})
|
||||
serenity_test(${source} LibCore)
|
||||
endforeach()
|
Loading…
Add table
Add a link
Reference in a new issue