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

Function hasContext

valdi/test/integration/Runtime_tests.cpp:2617–2620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2615 ASSERT_EQ(DummyView("SCValdiView")
2616 .addChild(DummyView("SCValdiLabel").addAttribute("color", "red").addAttribute("value", "Hello"))
2617 .addChild(DummyView("SCValdiLabel")),
2618 getRootView(newTree));
2619
2620 // We should have those renders:
2621 // - Initial render
2622 // - Updated view model
2623 // - Destroy tree

Callers

nothing calls this directly

Calls 1

getContextFunction · 0.70

Tested by

no test coverage detected