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

Function TEST_F

test/Entity.cpp:71–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69using StringMap = std::map<std::string, std::string>;
70
71TEST_F(EntityTest, CannotCreateEntityWithoutClass)
72{
73 // Creating with a null entity class should throw an exception
74 EXPECT_THROW(GlobalEntityModule().createEntity({}), std::runtime_error);
75}
76
77TEST_F(EntityTest, CreateBasicLightEntity)
78{

Callers

nothing calls this directly

Calls 15

getAttachmentsFunction · 0.85
createEntityByClassNameFunction · 0.85
Node_getEntityFunction · 0.85
setValueFunction · 0.85
addNodeToContainerFunction · 0.85
getAllRenderLightsFunction · 0.85
Node_setSelectedFunction · 0.85
getFirstRenderEntityFunction · 0.85
getAllObjectsFunction · 0.85
getAllKeyValuePairsFunction · 0.85
stackHasKeyValuePairFunction · 0.85

Tested by

no test coverage detected