remove no longer needed auto test
This commit is contained in:
parent
983eb60f76
commit
e9dcb18c44
|
|
@ -1,7 +1,6 @@
|
||||||
TEMPLATE = subdirs
|
TEMPLATE = subdirs
|
||||||
SUBDIRS = \
|
SUBDIRS = \
|
||||||
qamqpclient \
|
qamqpclient \
|
||||||
qamqpconnection \
|
|
||||||
qamqpexchange \
|
qamqpexchange \
|
||||||
queues \
|
queues \
|
||||||
channels
|
channels
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
DEPTH = ../../..
|
|
||||||
include($${DEPTH}/qamqp.pri)
|
|
||||||
include($${DEPTH}/tests/tests.pri)
|
|
||||||
|
|
||||||
TARGET = tst_qamqpconnection
|
|
||||||
SOURCES = tst_qamqpconnection.cpp
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
DEPTH = ../../..
|
|
||||||
include($${DEPTH}/qamqp.pri)
|
|
||||||
include($${DEPTH}/tests/tests.pri)
|
|
||||||
|
|
||||||
TARGET = tst_qamqpexchange
|
|
||||||
SOURCES = tst_qamqpexchange.cpp
|
|
||||||
|
|
@ -1,32 +0,0 @@
|
||||||
#include <QtTest/QtTest>
|
|
||||||
#include "signalspy.h"
|
|
||||||
|
|
||||||
class tst_QAMQPConnection : public QObject
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
private Q_SLOTS:
|
|
||||||
void dummy();
|
|
||||||
|
|
||||||
private:
|
|
||||||
bool waitForSignal(QObject *obj, const char *signal, int delay = 1);
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
bool tst_QAMQPConnection::waitForSignal(QObject *obj, const char *signal, int delay)
|
|
||||||
{
|
|
||||||
QObject::connect(obj, signal, &QTestEventLoop::instance(), SLOT(exitLoop()));
|
|
||||||
QPointer<QObject> safe = obj;
|
|
||||||
|
|
||||||
QTestEventLoop::instance().enterLoop(delay);
|
|
||||||
if (!safe.isNull())
|
|
||||||
QObject::disconnect(safe, signal, &QTestEventLoop::instance(), SLOT(exitLoop()));
|
|
||||||
return !QTestEventLoop::instance().timeout();
|
|
||||||
}
|
|
||||||
|
|
||||||
void tst_QAMQPConnection::dummy()
|
|
||||||
{
|
|
||||||
QVERIFY(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
QTEST_MAIN(tst_QAMQPConnection)
|
|
||||||
#include "tst_qamqpconnection.moc"
|
|
||||||
Loading…
Reference in New Issue