added dummy auto tests
This commit is contained in:
parent
2ba2823b84
commit
7a708cc39a
|
|
@ -0,0 +1,6 @@
|
|||
TEMPLATE = subdirs
|
||||
SUBDIRS = \
|
||||
basic \
|
||||
exchanges \
|
||||
queues \
|
||||
channels
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
DEPTH = ../../..
|
||||
include($${DEPTH}/qamqp.pri)
|
||||
include($${DEPTH}/tests/tests.pri)
|
||||
|
||||
TARGET = tst_basic
|
||||
SOURCES = tst_basic.cpp
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
#include <QtTest/QtTest>
|
||||
|
||||
class tst_Basic : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
private Q_SLOTS:
|
||||
void connect();
|
||||
void connectDisconnect();
|
||||
void reconnect();
|
||||
|
||||
};
|
||||
|
||||
void tst_Basic::connect()
|
||||
{
|
||||
QVERIFY(true);
|
||||
}
|
||||
|
||||
void tst_Basic::connectDisconnect()
|
||||
{
|
||||
QVERIFY(true);
|
||||
}
|
||||
|
||||
void tst_Basic::reconnect()
|
||||
{
|
||||
QVERIFY(true);
|
||||
}
|
||||
|
||||
QTEST_MAIN(tst_Basic)
|
||||
#include "tst_basic.moc"
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
DEPTH = ../../..
|
||||
include($${DEPTH}/qamqp.pri)
|
||||
include($${DEPTH}/tests/tests.pri)
|
||||
|
||||
TARGET = tst_channels
|
||||
SOURCES = tst_channels.cpp
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
#include <QtTest/QtTest>
|
||||
|
||||
class tst_Channels : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
private Q_SLOTS:
|
||||
void dummy();
|
||||
|
||||
};
|
||||
|
||||
void tst_Channels::dummy()
|
||||
{
|
||||
QVERIFY(true);
|
||||
}
|
||||
|
||||
QTEST_MAIN(tst_Channels)
|
||||
#include "tst_channels.moc"
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
DEPTH = ../../..
|
||||
include($${DEPTH}/qamqp.pri)
|
||||
include($${DEPTH}/tests/tests.pri)
|
||||
|
||||
TARGET = tst_exchanges
|
||||
SOURCES = tst_exchanges.cpp
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
#include <QtTest/QtTest>
|
||||
|
||||
class tst_Exchanges : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
private Q_SLOTS:
|
||||
void dummy();
|
||||
|
||||
};
|
||||
|
||||
void tst_Exchanges::dummy()
|
||||
{
|
||||
QVERIFY(true);
|
||||
}
|
||||
|
||||
QTEST_MAIN(tst_Exchanges)
|
||||
#include "tst_exchanges.moc"
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
DEPTH = ../../..
|
||||
include($${DEPTH}/qamqp.pri)
|
||||
include($${DEPTH}/tests/tests.pri)
|
||||
|
||||
TARGET = tst_queues
|
||||
SOURCES = tst_queues.cpp
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
#include <QtTest/QtTest>
|
||||
|
||||
#include "amqp_client.h"
|
||||
#include "amqp_queue.h"
|
||||
|
||||
class tst_Queues : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
private Q_SLOTS:
|
||||
void declare();
|
||||
|
||||
};
|
||||
|
||||
void tst_Queues::declare()
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
QTEST_MAIN(tst_Queues)
|
||||
#include "tst_queues.moc"
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
TEMPLATE = subdirs
|
||||
SUBDIRS = \
|
||||
auto \
|
||||
manual
|
||||
|
|
|
|||
Loading…
Reference in New Issue