Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
test_filesys.cpp File Reference
#include "test.h"
#include <sstream>
#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
 

Function Documentation

◆ p()

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

References DIR_DELIM.

Referenced by ClientParticleTexture::ClientParticleTexture(), MapBlockMesh::MapBlockMesh(), RollbackNode::RollbackNode(), TextDestNodeMetadata::TextDestNodeMetadata(), TextDrawer::TextDrawer(), ArrayGridNodeContainer::access(), MapGridNodeContainer::access(), ServerEnvironment::activateBlock(), add_area_node_boxes(), ServerEnvironment::addActiveObjectRaw(), MeshUpdateQueue::addBlock(), Client::addNode(), Map::addNodeAndUpdate(), ServerMap::addNodeAndUpdate(), ParticleManager::addNodeParticle(), Map::addNodeWithEvent(), Server::addParticleSpawner(), VoxelArea::addPoint(), Client::addUpdateMeshTask(), Client::addUpdateMeshTaskForNode(), analyze_block(), MeshCollector::append(), MeshCollector::append(), ABMHandler::apply(), LBMManager::applyLBMs(), Schematic::applyProbabilities(), MapgenV6::baseTerrainLevelFromMap(), MapgenV6::baseTerrainLevelFromNoise(), MMVManip::blitBackAll(), Schematic::blitToVManip(), ServerMap::blockpos_over_mapgen_limit(), blockpos_over_max_limit(), Decoration::canPlaceDecoration(), CavesRandomWalk::carveRoute(), CavesV6::carveRoute(), ScriptApiEnv::check_for_falling(), check_v2f(), con::ConnectionReceiveThread::checkIncomingBuffers(), ServerEnvironment::clearObjects(), ActiveBlockList::contains(), VoxelArea::contains(), content_nodemeta_deserialize_legacy(), irr::gui::CGUITTFont::convertWCharToU32String(), NodeMetaRef::create(), NodeTimerRef::create(), ServerMap::createBlock(), ServerInventoryManager::createDetachedInventory(), createSpecialNodeMesh(), Client::CSMGetNode(), NodeMetadataList::deSerialize(), NodeTimerList::deSerialize(), PlayerDatabaseFiles::deSerialize(), doubleToInt(), GUIInventoryList::draw(), ProfilerGraph::draw(), TextDrawer::draw(), drawItemStack(), Hud::drawStatbar(), ParticleParamTypes::dump(), Map::emergeBlock(), ServerMap::emergeBlock(), VoxelManipulator::exists(), fillRadiusBlock(), fillViewConeBlock(), MeshCollector::findBuffer(), ModApiEnvBase::findNodeNear(), ModApiEnvBase::findNodesInArea(), ModApiEnvBase::findNodesInAreaUnderAir(), Map::findNodesWithMetadata(), DungeonGen::findPlaceForDoor(), DungeonGen::findPlaceForRoomDoor(), floatToInt(), Map::forEachNodeInArea(), DecoLSystem::generate(), DecoSchematic::generate(), DecoSimple::generate(), LuaEntitySAO::generateSetSpriteCommand(), NodeMetadataList::get(), NodeTimerList::get(), MapgenV6::get_blockseed(), get_spatial_point(), RollbackManager::getActionsSince_range(), MapgenV6::getBiome(), MapgenV6::getBiome(), Mapgen::getBlockSeed(), Mapgen::getBlockSeed2(), MeshGrid::getCellPos(), getContainerPos(), getContainerPos(), getContainerPos(), getContainerPos(), getContainerPos(), getContainerPosWithOffset(), getContainerPosWithOffset(), getContainerPosWithOffset(), irr::gui::CGUITTFont::getDimension(), irr::gui::CGUITTFont::getDimensionUntilEndOfLine(), TextDrawer::getElementAt(), VoxelManipulator::getFlagsRefUnsafe(), con::ConnectionReceiveThread::getFromBuffers(), MapgenV6::getGroundLevelAtPoint(), MapgenV6::getHaveAppleTree(), MapgenV6::getHumidity(), GUIFormSpecMenu::getItemAtPos(), ScriptApiItem::getItemCallback(), GUIInventoryList::getItemIndexAtPos(), MeshGrid::getMeshPos(), MeshGrid::getMeshPos(), MinimapMapblock::getMinimapNodes(), getNeighborConnectingFace(), MapNode::getNeighbors(), RemoteClient::GetNextBlocks(), Map::getNode(), MapBlock::getNode(), VoxelManipulator::getNode(), getNodeBlockPos(), getNodeBlockPosWithOffset(), getNodeBox(), Map::getNodeMetadata(), MapBlock::getNodeNoCheck(), MapBlock::getNodeNoEx(), VoxelManipulator::getNodeNoEx(), VoxelManipulator::getNodeNoExNoEmerge(), ParticleManager::getNodeParticleParams(), VoxelManipulator::getNodeRefUnsafe(), VoxelManipulator::getNodeRefUnsafeCheckFlags(), getNodeTile(), getNodeTileN(), Map::getNodeTimer(), MapBlock::getNodeTimer(), SourceShaderCache::getOrLoad(), GUIScrollBar::getPosFromMousePos(), RollbackManager::getRowsSince_range(), Map::getSectorNoGenerate(), Map::getSectorNoGenerateNoLock(), getSmoothLightCombined(), getSmoothLightSolid(), getSmoothLightTransparent(), EmergeManager::getSpawnLevelAtPoint(), MapgenCarpathian::getSpawnLevelAtPoint(), MapgenFlat::getSpawnLevelAtPoint(), MapgenFractal::getSpawnLevelAtPoint(), MapgenV5::getSpawnLevelAtPoint(), MapgenV6::getSpawnLevelAtPoint(), MapgenV7::getSpawnLevelAtPoint(), MapgenValleys::getSpawnLevelAtPoint(), CavesV6::getSurfaceFromHeightmap(), RollbackManager::getSuspect(), MapgenV6::getTreeAmount(), getVisibleBrightness(), RemoteClient::GotBlock(), Client::handleCommand_AddNode(), Client::handleCommand_AddParticleSpawner(), Client::handleCommand_BlockData(), Server::handleCommand_DeletedBlocks(), Server::handleCommand_GotBlocks(), Server::handleCommand_NodeMetaFields(), Client::handleCommand_RemoveNode(), Client::handleCommand_SpawnParticle(), con::ConnectionReceiveThread::handlePacketType_Control(), ParticleManager::handleParticleEvent(), VoxelArea::index(), ServerMap::initBlockMake(), MMVManip::initialEmerge(), EmergeManager::initMapgens(), con::IncomingSplitBuffer::insert(), con::ReliablePacketBuffer::insert(), NodeTimerList::insert(), SourceShaderCache::insert(), intToFloat(), RemoteClient::isBlockSent(), isInArea(), isInArea(), isInArea(), MeshGrid::isMeshPos(), CavesRandomWalk::isPosAboveSurface(), Map::isValidPosition(), MapBlock::isValidPosition(), ModApiParticles::l_add_particle(), ModApiParticlesLocal::l_add_particle(), ModApiParticles::l_add_particlespawner(), ModApiParticlesLocal::l_add_particlespawner(), LuaPerlinNoiseMap::l_calc_2d_map(), LuaPerlinNoiseMap::l_calc_3d_map(), ModApiEnv::l_find_node_near(), ModApiEnvVM::l_find_node_near(), ModApiEnv::l_find_nodes_in_area_under_air(), ModApiEnvVM::l_find_nodes_in_area_under_air(), LuaPerlinNoise::l_get_2d(), LuaPerlinNoiseMap::l_get_2d_map(), LuaPerlinNoiseMap::l_get_2d_map_flat(), LuaPerlinNoise::l_get_3d(), LuaPerlinNoiseMap::l_get_3d_map(), LuaPerlinNoiseMap::l_get_3d_map_flat(), ModApiClient::l_get_meta(), ModApiEnv::l_get_meta(), ModApiEnv::l_get_node_timer(), ModApiEnv::l_line_of_sight(), ModApiMapgen::l_place_schematic(), ModApiMapgen::l_place_schematic_on_vmanip(), Mapgen::lightSpread(), Environment::line_of_sight(), ServerMap::listAllLoadedBlocks(), treegen::make_jungletree(), treegen::make_pine_tree(), treegen::make_tree(), DungeonGen::makeCorridor(), DungeonGen::makeDungeon(), DungeonGen::makeFill(), con::makePacket(), DungeonGen::makeRoom(), PlayerSAO::noCheatDigStart(), ScriptApiNode::node_after_destruct(), ScriptApiNode::node_on_construct(), ScriptApiNode::node_on_destruct(), ScriptApiNode::node_on_dig(), ScriptApiNode::node_on_flood(), ScriptApiNode::node_on_punch(), ScriptApiNode::node_on_receive_fields(), ScriptApiNode::node_on_timer(), Game::nodePlacement(), objectpos_over_limit(), LocalPlayer::old_move(), ScriptApiClient::on_dignode(), ScriptApiEnv::on_liquid_transformed(), ScriptApiEnv::on_mapblocks_changed(), ScriptApiClient::on_punchnode(), GUIScrollBar::OnEvent(), GUITable::OnEvent(), GUIEditBox::onKeyControlV(), OnMapblocksChangedReceiver::onMapEditEvent(), Server::SBCHash::operator()(), sound::SoundManagerSingleton::AlcContextDeleter::operator()(), sound::SoundManagerSingleton::AlcDeviceDeleter::operator()(), LuaPerlinNoiseMap::packOut(), ParticleParamTypes::RangedParameter< T >::pickWithin(), TextDrawer::place(), Schematic::placeOnMap(), Schematic::placeOnVManip(), MapgenV6::placeTreesAndJungleGrass(), con::ReliablePacketBuffer::popFirst(), con::ReliablePacketBuffer::popSeqnum(), GUIEditBox::processKey(), GenericCAO::processMessage(), con::UDPPeer::processReliableSendCommand(), push_v2f(), push_v2s16(), push_v2s32(), push_v2u32(), push_v3f(), push_v3s16(), pushFloatPos(), con::ConnectionSendThread::rawSend(), con::ConnectionSendThread::rawSendAsPacket(), read_server_sound_params(), read_v2f(), read_v2s16(), read_v2s32(), readARGB8(), readV2F32(), readV2S16(), readV2S32(), readV3F1000(), readV3F32(), readV3S16(), readV3S32(), server::ActiveObjectMgr::registerObject(), ActiveBlockList::remove(), NodeMetadataList::remove(), NodeTimerList::remove(), ModChannel::removeConsumer(), Client::removeNode(), ServerEnvironment::removeNode(), Map::removeNodeAndUpdate(), Map::removeNodeMetadata(), Map::removeNodeTimer(), MapBlock::removeNodeTimer(), Map::removeNodeWithEvent(), removeStringEnd(), con::IncomingSplitBuffer::removeUnreliableTimedOuts(), RollbackManager::reportAction(), RemoteClient::ResendBlockIfOnWire(), TestServerModManager::runTests(), Server::sendAddNode(), Server::SendAddParticleSpawner(), con::ConnectionSendThread::sendAsPacketReliable(), Server::sendNodeChangePkt(), Client::sendNodemetaFields(), con::ConnectionSendThread::sendPackets(), Server::sendRemoveNode(), Server::SendSpawnParticle(), RemoteClient::SentBlock(), NodeMetadataList::serialize(), NodeTimerList::serialize(), PlayerDatabaseFiles::serialize(), MapNode::serializeBulk(), NodeMetadataList::set(), set_node_in_block(), RemoteClient::SetBlockNotSent(), RemoteClient::SetBlocksNotSent(), Map::setNode(), MapBlock::setNode(), ServerEnvironment::setNode(), VoxelManipulator::setNode(), Map::setNodeMetadata(), MapBlock::setNodeNoCheck(), VoxelManipulator::setNodeNoEmerge(), Map::setNodeTimer(), MapNode::setParam1(), MapNode::setParam2(), LuaEntitySAO::setSprite(), BasicStrfnd< T >::skip_over(), Server::spawnParticle(), Mapgen::spreadLight(), Client::step(), ClientEnvironment::step(), MapBlock::step(), PlayerSAO::step(), ServerEnvironment::step(), ParticleManager::stepParticles(), ServerEnvironment::swapNode(), TEST_CASE(), TestMap::testForEachNodeInArea(), TestMap::testForEachNodeInAreaBlank(), TestMap::testForEachNodeInAreaEmpty(), TestServerActiveObjectMgr::testGetAddedActiveObjectsAroundPos(), TestServerActiveObjectMgr::testGetObjectsInsideRadius(), TestMapBlock::testLoad29(), TestFileSys::testPathStartsWith(), TestProfiler::testProfilerAverage(), TestFileSys::testRemoveLastPathComponent(), TestFileSys::testRemoveLastPathComponentWithTrailingDelimiter(), TestFileSys::testRemoveRelativePathComponent(), Map::timerUpdate(), KeyList::toggle(), ServerMap::transforming_liquid_add(), ServerMap::transformLiquids(), LuaABM::trigger(), ScriptApiEnv::triggerABM(), ScriptApiEnv::triggerLBM(), KeyList::unset(), ActiveBlockList::update(), voxalgo::update_lighting_nodes(), MeshUpdateManager::updateBlock(), Particle::updateLight(), Game::updatePointedThing(), LocalPlayer::updateSneakNode(), Sky::updateStars(), workOnNodes(), writeARGB8(), writeV2F32(), writeV2S16(), writeV2S32(), writeV3F1000(), writeV3F32(), writeV3S16(), and writeV3S32().

Variable Documentation

◆ g_test_instance

TestFileSys g_test_instance
static