Added system.files.advise_random.set command.

This commit is contained in:
Jari Sundell
2025-03-28 11:21:25 +01:00
committed by GitHub
parent 9a2ce2b231
commit 3a227c190f
14 changed files with 348 additions and 105 deletions
+1 -2
View File
@@ -10,7 +10,7 @@
CPPUNIT_TEST_SUITE_REGISTRATION(XmlrpcTest);
torrent::Object xmlrpc_cmd_test_reflect(rpc::target_type t, const torrent::Object& obj) { return obj; }
torrent::Object xmlrpc_cmd_test_reflect([[maybe_unused]] rpc::target_type t, const torrent::Object& obj) { return obj; }
void initialize_command_dynamic();
@@ -100,7 +100,6 @@ std::vector<std::tuple<std::string, std::string, std::string>> basic_requests =
void
XmlrpcTest::setUp() {
m_commandItr = m_commands;
m_xmlrpc = rpc::XmlRpc();
m_xmlrpc.initialize();
setlocale(LC_ALL, "");
+1 -2
View File
@@ -22,9 +22,8 @@ public:
private:
rpc::XmlRpc m_xmlrpc;
rpc::CommandMap m_map;
rpc::command_base m_commands[cmd_size];
rpc::command_base* m_commandItr;
};