Luanti 5.19.0-dev
Loading...
Searching...
No Matches
test_filesys.cpp File Reference
#include "test.h"
#include <sstream>
#include <algorithm>
#include <filesystem>
#include <map>
#include <set>
#include "log.h"
#include "serialization.h"
#include "nodedef.h"
#include "noise.h"
Include dependency graph for test_filesys.cpp:

Classes

class  TestFileSys

Functions

static std::string p (std::string path)

Variables

static TestFileSys g_test_instance
static constexpr bool win32 = false

Function Documentation

◆ p()

std::string p ( std::string path)
static

References DIR_DELIM_CHAR, and str_replace().

Referenced by TestFileSys::testAbsolutePath(), TestFileSys::testMakePathRelativeTo(), TestFileSys::testPathsEqual(), TestFileSys::testPathStartsWith(), TestFileSys::testRemoveLastPathComponent(), TestFileSys::testRemoveLastPathComponentWithTrailingDelimiter(), and TestFileSys::testRemoveRelativePathComponent().

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

Variable Documentation

◆ g_test_instance

TestFileSys g_test_instance
static

◆ win32