From 7848dcebe4e55fa78447a0e66c17b5944861d761 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Fri, 24 Jan 2025 10:14:05 -0600 Subject: [PATCH] refactor event system --- repertory/repertory_test/src/file_manager_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repertory/repertory_test/src/file_manager_test.cpp b/repertory/repertory_test/src/file_manager_test.cpp index 4a98fb8a..33e15c0b 100644 --- a/repertory/repertory_test/src/file_manager_test.cpp +++ b/repertory/repertory_test/src/file_manager_test.cpp @@ -25,6 +25,7 @@ #include "events/types/download_restored.hpp" #include "events/types/download_resume_added.hpp" #include "events/types/file_upload_completed.hpp" +#include "events/types/file_upload_queued.hpp" #include "events/types/filesystem_item_closed.hpp" #include "events/types/filesystem_item_handle_closed.hpp" #include "events/types/filesystem_item_handle_opened.hpp" @@ -407,8 +408,7 @@ TEST_F(file_manager_test, download_resume_added::name, [&source_path](const i_event &evt) { const auto &evt2 = dynamic_cast(evt); EXPECT_STREQ("/test_write_partial_download.txt", evt2.api_path.c_str()); - EXPECT_STREQ(source_path.c_str(), - evt2.get_dest_path().get().c_str()); + EXPECT_STREQ(source_path.c_str(), evt2.dest_path.c_str()); }); event_capture capture({download_resume_added::name},