MCPcopy Create free account
hub / github.com/KDE/kdevelop / testConstructor

Method testConstructor

plugins/debuggercommon/tests/test_micommandqueue.cpp:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void TestMICommandQueue::testConstructor()
39{
40 KDevMI::MI::CommandQueue commandQueue;
41
42 // check
43 QCOMPARE(commandQueue.count(), 0);
44 QCOMPARE(commandQueue.isEmpty(), true);
45 QCOMPARE(commandQueue.haveImmediateCommand(), false);
46}
47
48void TestMICommandQueue::testDestructor()
49{

Callers

nothing calls this directly

Calls 3

haveImmediateCommandMethod · 0.80
countMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected