| 99 | } |
| 100 | |
| 101 | void 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 | |
| 112 | void TestToolViewToolBar::horizontalTool() |
| 113 | { |
nothing calls this directly
no test coverage detected