mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add unit tests for SAO load / unload behaviour
This commit is contained in:
parent
8339594206
commit
e3b9828f24
8 changed files with 332 additions and 7 deletions
|
@ -19,7 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <server.h>
|
||||
#include "server.h"
|
||||
|
||||
class MockServer : public Server
|
||||
{
|
||||
|
@ -31,6 +31,9 @@ public:
|
|||
)
|
||||
{}
|
||||
|
||||
void start() = delete;
|
||||
void stop() = delete;
|
||||
|
||||
private:
|
||||
void SendChatMessage(session_t peer_id, const ChatMessage &message) {}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue