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

Function TEST_F

test/SceneNode.cpp:106–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104auto allPossibleHideFlags = { scene::Node::eHidden, scene::Node::eFiltered, scene::Node::eExcluded, scene::Node::eLayered };
105
106TEST_F(SceneNodeTest, InitialVisibility)
107{
108 auto node = std::make_shared<VisibilityTestNode>();
109 scene::addNodeToContainer(node, GlobalMapModule().getRoot());
110
111 EXPECT_TRUE(node->visible()) << "Should be visible after insertion as child node";
112}
113
114TEST_F(SceneNodeTest, InsertAndRemoveFromScene)
115{

Callers

nothing calls this directly

Calls 15

addNodeToContainerFunction · 0.85
removeNodeFromParentFunction · 0.85
createEntityByClassNameFunction · 0.85
visibleMethod · 0.80
backMethod · 0.80
setFilteredMethod · 0.80
isFilteredMethod · 0.80
getRenderStateMethod · 0.80
foreachAttachmentMethod · 0.80
getRootMethod · 0.45
enableMethod · 0.45

Tested by

no test coverage detected