Browse Source
disable crashing test on mingw
crashes because of some internal Qt error - unrelated to own code
master
1.1.4-3
Skycoder42
6 years ago
No known key found for this signature in database
GPG Key ID: 8E01AD9EF0578D2B
1 changed files with
8 additions and
0 deletions
-
tests/auto/mvvmcore/serviceregistry/tst_serviceregistry.cpp
|
|
@ -9,6 +9,10 @@ |
|
|
|
#include "plugintestinterface.h" |
|
|
|
using namespace QtMvvm; |
|
|
|
|
|
|
|
#if !defined(Q_CC_GNU) || !defined(Q_OS_WIN) || defined(QT_NO_DEBUG) |
|
|
|
#define NO_MINGW_DEBUG_BUILD |
|
|
|
#endif |
|
|
|
|
|
|
|
class ServiceRegistryTest : public QObject |
|
|
|
{ |
|
|
|
Q_OBJECT |
|
|
@ -19,7 +23,9 @@ private Q_SLOTS: |
|
|
|
void testDepedencyConstructions(); |
|
|
|
void testInjection(); |
|
|
|
|
|
|
|
#ifdef NO_MINGW_DEBUG_BUILD |
|
|
|
void testPluginRegistration(); |
|
|
|
#endif |
|
|
|
|
|
|
|
void testDestructionScopes(); |
|
|
|
|
|
|
@ -156,6 +162,7 @@ void ServiceRegistryTest::testInjection() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#ifdef NO_MINGW_DEBUG_BUILD |
|
|
|
void ServiceRegistryTest::testPluginRegistration() |
|
|
|
{ |
|
|
|
try { |
|
|
@ -185,6 +192,7 @@ void ServiceRegistryTest::testPluginRegistration() |
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
|
|
|
|
void ServiceRegistryTest::testDestructionScopes() |
|
|
|
{ |
|
|
|