diff options
Diffstat (limited to 'tests/modelinteractivitytest.cpp')
-rw-r--r-- | tests/modelinteractivitytest.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/modelinteractivitytest.cpp b/tests/modelinteractivitytest.cpp index 1ac0e2d..df0c772 100644 --- a/tests/modelinteractivitytest.cpp +++ b/tests/modelinteractivitytest.cpp | |||
@@ -11,6 +11,7 @@ | |||
11 | #include "log.h" | 11 | #include "log.h" |
12 | #include "modelresult.h" | 12 | #include "modelresult.h" |
13 | #include "test.h" | 13 | #include "test.h" |
14 | #include "testutils.h" | ||
14 | 15 | ||
15 | static int blockingTime; | 16 | static int blockingTime; |
16 | 17 | ||
@@ -76,10 +77,10 @@ private slots: | |||
76 | } | 77 | } |
77 | 78 | ||
78 | Sink::Query query; | 79 | Sink::Query query; |
79 | query.resources << "sink.dummy.instance1"; | 80 | query.resourceFilter("sink.dummy.instance1"); |
80 | query.liveQuery = true; | 81 | query.liveQuery = true; |
81 | 82 | ||
82 | Sink::ResourceControl::flushMessageQueue(query.resources).exec().waitForFinished(); | 83 | VERIFYEXEC(Sink::ResourceControl::flushMessageQueue(QByteArrayList() << "sink.dummy.instance1")); |
83 | 84 | ||
84 | // Test | 85 | // Test |
85 | QTime time; | 86 | QTime time; |