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

Method assertGoodBar

kdevplatform/sublime/tests/test_toolviewtoolbar.cpp:101–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void TestToolViewToolBar::assertGoodBar(QToolBar* toolbar, const QString& actionText)
102{
103 QVERIFY( toolbar );
104 QVERIFY( !toolbar->isFloatable() );
105 QCOMPARE( toolbar->iconSize(), QSize( 16, 16 ) );
106 QList<QAction*> actions = toolbar->actions();
107 QCOMPARE( actions.count(), 1 );
108 QCOMPARE( actions.at(0)->text(), actionText);
109 QCOMPARE( toolbar->orientation(), Qt::Horizontal );
110}
111
112void TestToolViewToolBar::horizontalTool()
113{

Callers

nothing calls this directly

Calls 5

actionsMethod · 0.45
countMethod · 0.45
textMethod · 0.45
atMethod · 0.45
orientationMethod · 0.45

Tested by

no test coverage detected