MCPcopy Create free account
hub / github.com/axmolengine/axmol / deatchTableView

Method deatchTableView

tests/cpp-tests/Source/BaseTest.cpp:142–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void TestList::deatchTableView()
143{
144 if (_tableView)
145 {
146 _tableView->setDataSource(nullptr);
147 _tableView->removeFromParentAndCleanup(true);
148 _tableView->release();
149 _tableView = nullptr;
150 }
151}
152
153void TestList::addTest(std::string_view testName, std::function<TestBase*()> callback)
154{

Callers

nothing calls this directly

Calls 2

releaseMethod · 0.45

Tested by

no test coverage detected