increase default delay in waitForSignal to 5sec for travis tests
This commit is contained in:
parent
aff5fb70b7
commit
182b493119
|
|
@ -13,7 +13,7 @@ public:
|
||||||
virtual ~TestCase() {}
|
virtual ~TestCase() {}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool waitForSignal(QObject *obj, const char *signal, int delay = 1)
|
bool waitForSignal(QObject *obj, const char *signal, int delay = 5)
|
||||||
{
|
{
|
||||||
QObject::connect(obj, signal, &QTestEventLoop::instance(), SLOT(exitLoop()));
|
QObject::connect(obj, signal, &QTestEventLoop::instance(), SLOT(exitLoop()));
|
||||||
QPointer<QObject> safe = obj;
|
QPointer<QObject> safe = obj;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue