aboutsummaryrefslogtreecommitdiff
path: root/src/unittest
ModeNameSize
-rw-r--r--CMakeLists.txt2335logplain
-rw-r--r--test.cpp19307logplain
-rw-r--r--test.h5685logplain
-rw-r--r--test_activeobject.cpp1691logplain
-rw-r--r--test_address.cpp2151logplain
-rw-r--r--test_areastore.cpp4557logplain
-rw-r--r--test_authdatabase.cpp8007logplain
-rw-r--r--test_ban.cpp4000logplain
-rw-r--r--test_clientactiveobjectmgr.cpp3297logplain
-rw-r--r--test_collision.cpp5294 os<<serializeString(i->second); } } void NameIdMapping::deSerialize(std::istream &is) { int version = readU8(is); if(version != 0) throw SerializationError("unsupported NameIdMapping version"); u32 count = readU16(is); m_id_to_name.clear(); m_name_to_id.clear(); for(u32 i=0; i<count; i++){ u16 id = readU16(is); std::string name = deSerializeString(is); m_id_to_name[id] = name; m_name_to_id[name] = id; } }
class='ls-size'>7928logplain -rw-r--r--test_gameui.cpp2313logplain -rw-r--r--test_gettext.cpp969logplain -rw-r--r--test_inventory.cpp3345logplain -rw-r--r--test_irrptr.cpp3828logplain -rw-r--r--test_keycode.cpp3348logplain -rw-r--r--test_map.cpp2385logplain -rw-r--r--test_map_settings_manager.cpp8255logplain -rw-r--r--test_mapnode.cpp1695logplain d---------test_mod / test_mod35logplain -rw-r--r--test_modchannels.cpp2273logplain -rw-r--r--test_modmetadatadatabase.cpp6998logplain -rw-r--r--test_nodedef.cpp1903logplain -rw-r--r--test_noderesolver.cpp6696logplain -rw-r--r--test_noise.cpp14738logplain -rw-r--r--test_objdef.cpp4308logplain -rw-r--r--test_profiler.cpp1844logplain -rw-r--r--test_random.cpp10554logplain -rw-r--r--test_schematic.cpp8532logplain -rw-r--r--test_serialization.cpp12192logplain -rw-r--r--test_server_shutdown_state.cpp3044logplain -rw-r--r--test_serveractiveobjectmgr.cpp5509logplain -rw-r--r--test_servermodmanager.cpp5559logplain -rw-r--r--test_settings.cpp8067logplain -rw-r--r--test_socket.cpp3767logplain -rw-r--r--test_threading.cpp3673logplain -rw-r--r--test_utilities.cpp19478logplain -rw-r--r--test_voxelalgorithms.cpp3214logplain -rw-r--r--test_voxelarea.cpp10976logplain -rw-r--r--test_voxelmanipulator.cpp3151logplain d---------test_world45logplain