mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-17 13:37:18 +03:00
wait until status is finished
This commit is contained in:
parent
a9c83c6600
commit
2e7b1ee082
@ -63,7 +63,8 @@ void TestFileContextMenu::testDiscardFile() {
|
||||
}
|
||||
|
||||
// refresh repo
|
||||
repo.notifier()->referenceUpdated(repo.head());
|
||||
emit repo.notifier()->referenceUpdated(repo.head());
|
||||
QTest::qWait(1000); // Wait until status is finished (own thread executed)
|
||||
|
||||
// let the changes settle
|
||||
QApplication::processEvents();
|
||||
@ -139,6 +140,7 @@ void TestFileContextMenu::testDiscardSubmodule() {
|
||||
|
||||
// refresh repo
|
||||
emit repo.notifier()->referenceUpdated(repo.head());
|
||||
QTest::qWait(1000); // Wait until status is finished (own thread executed)
|
||||
|
||||
// let the changes settle
|
||||
QApplication::processEvents();
|
||||
@ -217,6 +219,7 @@ void TestFileContextMenu::testDiscardFolder() {
|
||||
|
||||
// refresh repo
|
||||
emit repo.notifier()->referenceUpdated(repo.head());
|
||||
QTest::qWait(1000); // Wait until status is finished (own thread executed)
|
||||
|
||||
// let the changes settle
|
||||
QApplication::processEvents();
|
||||
|
Loading…
Reference in New Issue
Block a user