Luanti 5.16.0-dev
Loading...
Searching...
No Matches
test.cpp File Reference
#include "catch.h"
#include "test.h"
#include "nodedef.h"
#include "itemdef.h"
#include "dummygamedef.h"
#include "log_internal.h"
#include "modchannels.h"
#include "util/numeric.h"
#include "porting.h"
#include "debug.h"
#include <iostream>
Include dependency graph for test.cpp:

Classes

class  TestGameDef

Functions

bool run_tests ()
static TestBasefindTestModule (const std::string &module_name)
bool run_tests (const std::string &module_name)

Variables

content_t t_CONTENT_STONE
content_t t_CONTENT_GRASS
content_t t_CONTENT_TORCH
content_t t_CONTENT_WATER
content_t t_CONTENT_LAVA
content_t t_CONTENT_BRICK

Function Documentation

◆ findTestModule()

TestBase * findTestModule ( const std::string & module_name)
static

References TestManager::getTestModules().

Referenced by run_tests().

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

◆ run_tests() [1/2]

bool run_tests ( )

References TestManager::getTestModules(), porting::getTimeMs(), and rawstream.

Referenced by main().

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

◆ run_tests() [2/2]

bool run_tests ( const std::string & module_name)

References findTestModule(), porting::getTimeMs(), and rawstream.

Here is the call graph for this function:

Variable Documentation

◆ t_CONTENT_BRICK

◆ t_CONTENT_GRASS

◆ t_CONTENT_LAVA

◆ t_CONTENT_STONE

◆ t_CONTENT_TORCH

◆ t_CONTENT_WATER