Delete test template class.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-04-15 15:13:19 +03:00
parent edaafb7c6a
commit 806a1c41d9
4 changed files with 1 additions and 98 deletions

View File

@ -35,11 +35,9 @@ DEFINES += SRCDIR=\\\"$$PWD/\\\"
SOURCES += \ SOURCES += \
qttestmainlambda.cpp \ qttestmainlambda.cpp \
tst_test.cpp \
tst_vposter.cpp tst_vposter.cpp
HEADERS += \ HEADERS += \
tst_test.h \
tst_vposter.h tst_vposter.h
CONFIG(debug, debug|release){ CONFIG(debug, debug|release){

View File

@ -28,7 +28,6 @@
#include <QtTest> #include <QtTest>
#include "tst_test.h"
#include "tst_vposter.h" #include "tst_vposter.h"
int main(int argc, char** argv) int main(int argc, char** argv)
@ -42,7 +41,7 @@ int main(int argc, char** argv)
delete obj; delete obj;
}; };
ASSERT_TEST(new Test()); //ASSERT_TEST(new Test());
ASSERT_TEST(new TST_VPoster()); ASSERT_TEST(new TST_VPoster());
return status; return status;

View File

@ -1,46 +0,0 @@
/************************************************************************
**
** @file tst_test.cpp
** @author Roman Telezhynskyi <dismine(at)gmail.com>
** @date 31 3, 2015
**
** @brief
** @copyright
** This source code is part of the Valentine project, a pattern making
** program, whose allow create and modeling patterns of clothing.
** Copyright (C) 2015 Valentina project
** <https://bitbucket.org/dismine/valentina> All Rights Reserved.
**
** Valentina is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** Valentina is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with Valentina. If not, see <http://www.gnu.org/licenses/>.
**
*************************************************************************/
#include "tst_test.h"
Test::Test()
{
}
void Test::initTestCase()
{
}
void Test::cleanupTestCase()
{
}
void Test::testCase1()
{
QVERIFY2(true, "Failure");
}

View File

@ -1,48 +0,0 @@
/************************************************************************
**
** @file tst_test.cpp
** @author Roman Telezhynskyi <dismine(at)gmail.com>
** @date 31 3, 2015
**
** @brief
** @copyright
** This source code is part of the Valentine project, a pattern making
** program, whose allow create and modeling patterns of clothing.
** Copyright (C) 2015 Valentina project
** <https://bitbucket.org/dismine/valentina> All Rights Reserved.
**
** Valentina is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** Valentina is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with Valentina. If not, see <http://www.gnu.org/licenses/>.
**
*************************************************************************/
#ifndef TST_TEST_H
#define TST_TEST_H
#include <QString>
#include <QtTest>
class Test : public QObject
{
Q_OBJECT
public:
Test();
private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
void testCase1();
};
#endif // TST_TEST_H