summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qsharedpointer/tst_qsharedpointer.cpp
diff options
context:
space:
mode:
authorVille Voutilainen <ville.voutilainen@qt.io>2021-04-26 18:23:03 +0300
committerVille Voutilainen <ville.voutilainen@qt.io>2021-04-27 01:33:42 +0300
commite439fab4be308a2a5e0beb1b3ff6eef35798b5d7 (patch)
tree83179e79e3b755a1d9e6c3bc8fd1eeba4d86eb6a /tests/auto/corelib/tools/qsharedpointer/tst_qsharedpointer.cpp
parent52077d4f0193a236eacac98f75994b44a4c30a91 (diff)
Resurrect tests for QSharedPointer
Task-number: QTBUG-93093 Change-Id: I030c18db1ab9e48cbd3339bc2040ba0b46cd1370 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/tools/qsharedpointer/tst_qsharedpointer.cpp')
-rw-r--r--tests/auto/corelib/tools/qsharedpointer/tst_qsharedpointer.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/auto/corelib/tools/qsharedpointer/tst_qsharedpointer.cpp b/tests/auto/corelib/tools/qsharedpointer/tst_qsharedpointer.cpp
index 985564731d..42df800b14 100644
--- a/tests/auto/corelib/tools/qsharedpointer/tst_qsharedpointer.cpp
+++ b/tests/auto/corelib/tools/qsharedpointer/tst_qsharedpointer.cpp
@@ -38,7 +38,6 @@
#include <QtCore/QMap>
#include <QtCore/QThread>
-#include "externaltests.h"
#include "forwarddeclared.h"
#include "nontracked.h"
#include "wrapper.h"
@@ -112,9 +111,10 @@ private slots:
void threadStressTest_data();
void threadStressTest();
void validConstructs();
+#if 0
void invalidConstructs_data();
void invalidConstructs();
-
+#endif
// let invalidConstructs be the last test, because it's the slowest;
// add new tests above this block
@@ -2125,6 +2125,7 @@ void tst_QSharedPointer::validConstructs()
}
}
+#if 0
typedef bool (QTest::QExternalTest:: * TestFunction)(const QByteArray &body);
Q_DECLARE_METATYPE(TestFunction)
void tst_QSharedPointer::invalidConstructs_data()
@@ -2334,6 +2335,7 @@ void tst_QSharedPointer::invalidConstructs()
QFAIL("Fail");
}
}
+#endif // #if 0
void tst_QSharedPointer::qvariantCast()
{