diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-05-18 13:15:52 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-05-19 18:49:59 +0000 |
commit | 5c50b9f6fefd52e89417a2d526c4f94e2c1158bd (patch) | |
tree | 068f9e6025a5560949203270b2e3f8566fa768ce /tests | |
parent | 17cb2cde9c6a3377f948552c3c37d2eb3b813439 (diff) |
use standardized test export macros
note that debug build != developer build.
Change-Id: Ia3e4b4d2f80e7126ad9a2461642c93321099cc27
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/auto.pri | 5 | ||||
-rw-r--r-- | tests/auto/chartdataset/tst_chartdataset.cpp | 4 | ||||
-rw-r--r-- | tests/auto/domain/tst_domain.cpp | 4 |
3 files changed, 4 insertions, 9 deletions
diff --git a/tests/auto/auto.pri b/tests/auto/auto.pri index 9d3ed05a..a04f5b23 100644 --- a/tests/auto/auto.pri +++ b/tests/auto/auto.pri @@ -8,8 +8,3 @@ QT += testlib widgets INCLUDEPATH += ../inc HEADERS += ../inc/tst_definitions.h - -#Define for unit tests -CONFIG(debug, debug|release) { - DEFINES += BUILD_PRIVATE_UNIT_TESTS -} diff --git a/tests/auto/chartdataset/tst_chartdataset.cpp b/tests/auto/chartdataset/tst_chartdataset.cpp index 60abd45a..fcbb34bc 100644 --- a/tests/auto/chartdataset/tst_chartdataset.cpp +++ b/tests/auto/chartdataset/tst_chartdataset.cpp @@ -18,7 +18,7 @@ ** $QT_END_LICENSE$ ** ******************************************************************************/ -#ifndef BUILD_PRIVATE_UNIT_TESTS +#ifndef QT_BUILD_INTERNAL #include <QtTest/QtTest> class tst_ChartDataSet: public QObject { @@ -32,7 +32,7 @@ private Q_SLOTS: void tst_ChartDataSet::skip() { - QSKIP("This test requires the debug version of library"); + QSKIP("This test requires a developer build of the library"); } QTEST_MAIN(tst_ChartDataSet) diff --git a/tests/auto/domain/tst_domain.cpp b/tests/auto/domain/tst_domain.cpp index 299d93fa..8b960eae 100644 --- a/tests/auto/domain/tst_domain.cpp +++ b/tests/auto/domain/tst_domain.cpp @@ -18,7 +18,7 @@ ** $QT_END_LICENSE$ ** ******************************************************************************/ -#ifndef BUILD_PRIVATE_UNIT_TESTS +#ifndef QT_BUILD_INTERNAL #include <QtTest/QtTest> @@ -33,7 +33,7 @@ private Q_SLOTS: void tst_Domain::skip() { - QSKIP("This test requires the debug version of library"); + QSKIP("This test requires a developer build of the library"); } QTEST_MAIN(tst_Domain) |