mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-05 05:39:22 +00:00
Add schedule.if_absent for clients that re-register periodic tasks.
schedule restarts a re-registered task's countdown, if_absent keeps the existing entry.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#include "test/helpers/test_main_thread.h"
|
||||
|
||||
class TestCommandScheduler : public TestFixtureWithMainThread {
|
||||
CPPUNIT_TEST_SUITE(TestCommandScheduler);
|
||||
|
||||
CPPUNIT_TEST(test_parse_rearms_existing_key);
|
||||
CPPUNIT_TEST(test_find_locates_a_scheduled_key);
|
||||
|
||||
CPPUNIT_TEST_SUITE_END();
|
||||
|
||||
public:
|
||||
void setUp();
|
||||
void tearDown();
|
||||
|
||||
void test_parse_rearms_existing_key();
|
||||
void test_find_locates_a_scheduled_key();
|
||||
};
|
||||
Reference in New Issue
Block a user