forked from romixlab/qmsgpack
cmake files added, folder tree reorganized, pack test partially written
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#-------------------------------------------------
|
||||
#
|
||||
# Project created by QtCreator 2014-09-20T15:17:37
|
||||
#
|
||||
#-------------------------------------------------
|
||||
|
||||
QT += testlib
|
||||
|
||||
QT -= gui
|
||||
|
||||
TARGET = tst_d
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
|
||||
TEMPLATE = app
|
||||
|
||||
|
||||
SOURCES += tst_d.cpp
|
||||
DEFINES += SRCDIR=\\\"$$PWD/\\\"
|
||||
@@ -0,0 +1,26 @@
|
||||
#include <QString>
|
||||
#include <QtTest>
|
||||
|
||||
class d : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
d();
|
||||
|
||||
private Q_SLOTS:
|
||||
void testCase1();
|
||||
};
|
||||
|
||||
d::d()
|
||||
{
|
||||
}
|
||||
|
||||
void d::testCase1()
|
||||
{
|
||||
QVERIFY2(true, "Failure");
|
||||
}
|
||||
|
||||
QTEST_APPLESS_MAIN(d)
|
||||
|
||||
#include "tst_d.moc"
|
||||
Reference in New Issue
Block a user