Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KDE/kdevelop
/ testDeleteAll
Method
testDeleteAll
kdevplatform/util/tests/test_objectlist.cpp:47–55 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
45
}
46
47
void TestObjectList::testDeleteAll()
48
{
49
ObjectList<QObject> list;
50
51
QPointer<QObject> p(new QObject);
52
list.append(p.data());
53
list.deleteAll();
54
QVERIFY(!p);
55
}
56
57
void TestObjectList::testBehaviorOnDestruction()
58
{
Callers
nothing calls this directly
Calls
3
append
Method · 0.45
data
Method · 0.45
deleteAll
Method · 0.45
Tested by
no test coverage detected