]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/tests/dolphindetailsviewtest.cpp
Improve stability of unit tests when running them with Valgrind
[dolphin.git] / src / tests / dolphindetailsviewtest.cpp
index 2aaf95e01a6fe481b9ef17bd6ca9089904883ae7..31b4a57cdde64e630b0decad2e1de0b1b6f5cf3e 100644 (file)
@@ -68,7 +68,7 @@ private:
         // while we were waiting in QTest::qWaitForWindowShown(view)
         // -> waitForFinishedPathLoading(view) would fail in that case.
         if (spyFinishedPathLoading.isEmpty()) {
-            Q_ASSERT(waitForFinishedPathLoading(view));
+            waitForFinishedPathLoading(view);
         }
 
         return detailsView;
@@ -121,7 +121,7 @@ void DolphinDetailsViewTest::testExpandedUrls()
 
         // Before we proceed, we have to make sure that the view has finished
         // loading the contents of the expanded folder.
-        QVERIFY(waitForFinishedPathLoading(&view));
+        waitForFinishedPathLoading(&view);
     }
 
     // Collapse URLs one by one and verify the result of DolphinDetailsView::expandedUrls()