Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
test_clientactiveobjectmgr.cpp File Reference
#include "test.h"
#include "client/activeobjectmgr.h"
#include "catch.h"
#include <unordered_set>
#include <utility>
+ Include dependency graph for test_clientactiveobjectmgr.cpp:

Classes

class  TestClientActiveObject
 
class  TestSelectableClientActiveObject
 
class  TestClientActiveObjectMgr
 

Functions

static TestClientActiveObjectregister_default_test_object (client::ActiveObjectMgr &caomgr)
 
 TEST_CASE ("test client active object manager")
 

Variables

static TestClientActiveObjectMgr g_test_instance
 

Function Documentation

◆ register_default_test_object()

static TestClientActiveObject * register_default_test_object ( client::ActiveObjectMgr & caomgr)
static

References client::ActiveObjectMgr::registerObject().

Referenced by TEST_CASE().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TEST_CASE()

TEST_CASE ( "test client active object manager" )

References CHECK, ActiveObjectMgr< T >::clear(), ActiveObjectMgr< T >::getActiveObject(), register_default_test_object(), and client::ActiveObjectMgr::removeObject().

+ Here is the call graph for this function:

Variable Documentation

◆ g_test_instance

TestClientActiveObjectMgr g_test_instance
static