diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-09-04 02:06:20 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-09-04 02:06:20 +0800 |
commit | ac3d88fc043d628979675dc3ef99ba5e1b4d58ca (patch) | |
tree | 6e122b7a4e119e3535b57df5cb7d17a8e034f46c /test/base | |
parent | 1b197ca9997eb407407e508eb199b1e6fae78926 (diff) | |
download | cru-ac3d88fc043d628979675dc3ef99ba5e1b4d58ca.tar.gz cru-ac3d88fc043d628979675dc3ef99ba5e1b4d58ca.tar.bz2 cru-ac3d88fc043d628979675dc3ef99ba5e1b4d58ca.zip |
Add unix event loop.
Diffstat (limited to 'test/base')
-rw-r--r-- | test/base/CMakeLists.txt | 2 | ||||
-rw-r--r-- | test/base/platform/unix/EventLoopTest.cpp (renamed from test/base/platform/unix/TimerTest.cpp) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/base/CMakeLists.txt b/test/base/CMakeLists.txt index 5abba240..95313ccb 100644 --- a/test/base/CMakeLists.txt +++ b/test/base/CMakeLists.txt @@ -25,7 +25,7 @@ target_compile_definitions(CruBaseTest PRIVATE if (UNIX AND NOT EMSCRIPTEN) target_sources(CruBaseTest PRIVATE - platform/unix/TimerTest.cpp + platform/unix/EventLoopTest.cpp platform/unix/UnixFileTest.cpp platform/unix/UnixFileStreamTest.cpp ) diff --git a/test/base/platform/unix/TimerTest.cpp b/test/base/platform/unix/EventLoopTest.cpp index dc3cc1ba..f5936b2a 100644 --- a/test/base/platform/unix/TimerTest.cpp +++ b/test/base/platform/unix/EventLoopTest.cpp @@ -1,4 +1,4 @@ -#include "cru/base/platform/unix/Timer.h" +#include "cru/base/platform/unix/EventLoop.h" #include <catch2/catch_test_macros.hpp> |