MCPcopy Create free account
hub / github.com/Snapchat/Valdi / forEachViewNode

Function forEachViewNode

valdi/test/utils/valdi_test_utils.hpp:175–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173
174template<typename Func>
175void forEachViewNode(Valdi::ViewNode* viewNode, Func&& func) {
176 func(viewNode);
177
178 for (auto child : *viewNode) {
179 forEachViewNode(child, func);
180 }
181}
182
183template<typename Func>
184void forEachViewNode(const Valdi::SharedViewNode& viewNode, Func&& func) {

Callers 4

TEST_PFunction · 0.85
findViewNodesWithIdFunction · 0.85
assertHasNoViewFunction · 0.85
assertAllHasViewFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected