]> cloud.milkyroute.net Git - dolphin.git/commitdiff
[DolphinMainWindowTest] Add some debug output
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 7 Oct 2018 19:19:12 +0000 (21:19 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 7 Oct 2018 19:19:12 +0000 (21:19 +0200)
testOpenInNewTabTitle() is currently failing on the CI, this should help
investigate why.

src/tests/dolphinmainwindowtest.cpp

index 027ab3e891c78e0ef8cd6f241b340f4db145c80e..3fdabe7b885c2358eec3132ca48ce4c8a7d5be6a 100644 (file)
@@ -188,6 +188,7 @@ void DolphinMainWindowTest::testOpenInNewTabTitle()
 
     tabWidget->openNewTab(QUrl::fromLocalFile(QDir::tempPath()));
     QCOMPARE(tabWidget->count(), 2);
+    qDebug() << "First tab:" << tabWidget->tabIcon(0).name() << "second tab:" << tabWidget->tabIcon(1).name();
     QVERIFY(tabWidget->tabIcon(0).name() != tabWidget->tabIcon(1).name());
     QVERIFY(tabWidget->tabText(0) != tabWidget->tabText(1));
 }