Add directory.watch.ready for safe torrent watch folders

This commit is contained in:
tonimelisma
2026-05-19 20:40:58 -07:00
committed by Jari Sundell
parent e03ab27cf0
commit 84229a85be
13 changed files with 489 additions and 16 deletions
+23
View File
@@ -0,0 +1,23 @@
#include "test/helpers/test_main_thread.h"
class TestWatchReadyQueue : public TestFixtureWithMainThread {
CPPUNIT_TEST_SUITE(TestWatchReadyQueue);
CPPUNIT_TEST(test_repeated_events_reset_quiet_time);
CPPUNIT_TEST(test_retry_restats_zero_length_file_without_new_event);
CPPUNIT_TEST(test_unrelated_events_do_not_delay_missing_retry);
CPPUNIT_TEST(test_missing_paths_expire_without_dispatch);
CPPUNIT_TEST(test_shutdown_discards_pending_loads);
CPPUNIT_TEST_SUITE_END();
public:
void setUp();
void tearDown();
void test_repeated_events_reset_quiet_time();
void test_retry_restats_zero_length_file_without_new_event();
void test_unrelated_events_do_not_delay_missing_retry();
void test_missing_paths_expire_without_dispatch();
void test_shutdown_discards_pending_loads();
};