diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2012-11-02 12:39:28 +0100 |
---|---|---|
committer | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2012-11-02 12:39:28 +0100 |
commit | 59dfda627da51e5b275775a407f132276b45e638 (patch) | |
tree | 153065133c24f0e75b3aabe2d695ea57a484a977 /tests/client/modeltest.cpp | |
parent | 2e6ccdba482da0d042ff3a6a4bee0807f533a3e3 (diff) | |
download | qmenumodel-59dfda627da51e5b275775a407f132276b45e638.tar.gz qmenumodel-59dfda627da51e5b275775a407f132276b45e638.tar.bz2 qmenumodel-59dfda627da51e5b275775a407f132276b45e638.zip |
Fixed tests code to avoid crash if dbus session is not avaliable.
Diffstat (limited to 'tests/client/modeltest.cpp')
-rw-r--r-- | tests/client/modeltest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/client/modeltest.cpp b/tests/client/modeltest.cpp index 93677db..2cb64b0 100644 --- a/tests/client/modeltest.cpp +++ b/tests/client/modeltest.cpp @@ -35,7 +35,7 @@ private: private Q_SLOTS: void initTestCase() { - Q_ASSERT(m_script.connect()); + QVERIFY(m_script.connect()); } void cleanupTestCase() |