MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / expectEntityWithSkinKeyHasSkinnedModel

Function expectEntityWithSkinKeyHasSkinnedModel

test/Skin.cpp:767–771  ·  view source on GitHub ↗

An entity using a certain modelDef as "model" and explicitly setting the "skin" spawnarg

Source from the content-addressed store, hash-verified

765
766// An entity using a certain modelDef as "model" and explicitly setting the "skin" spawnarg
767void expectEntityWithSkinKeyHasSkinnedModel(const std::string& modelKeyValue, const std::string& expectedSkin, const std::vector<std::string>& expectedMaterials)
768{
769 auto entity = createStaticEntityWithModel(modelKeyValue);
770 setSkinKeyAndCheckModel(entity, expectedSkin, expectedMaterials);
771}
772
773void expectEntityClassWithSkinKeyHasSkinnedModel(const std::string& eclassName, const std::string& expectedSkin, const std::vector<std::string>& expectedMaterials)
774{

Callers 1

TEST_FFunction · 0.85

Calls 2

setSkinKeyAndCheckModelFunction · 0.85

Tested by

no test coverage detected