summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsslkey/tst_qsslkey.cpp
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2010-05-19 10:46:47 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2010-05-21 11:24:18 (GMT)
commit7afeed5e37c172a2a60b2d4610207243d238b0cb (patch)
tree72b1eff1643f2437f6d8ae55df92e504fd494892 /tests/auto/qsslkey/tst_qsslkey.cpp
parent5f21450a61ba2459e6dc5b08b236b15a067bf81f (diff)
downloadQt-7afeed5e37c172a2a60b2d4610207243d238b0cb.zip
Qt-7afeed5e37c172a2a60b2d4610207243d238b0cb.tar.gz
Qt-7afeed5e37c172a2a60b2d4610207243d238b0cb.tar.bz2
Fixed qsslkey test deployment for Symbian and fixed compiler warnings.
Reviewed-by: Aleksandar Sasha Babic
Diffstat (limited to 'tests/auto/qsslkey/tst_qsslkey.cpp')
-rw-r--r--tests/auto/qsslkey/tst_qsslkey.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qsslkey/tst_qsslkey.cpp b/tests/auto/qsslkey/tst_qsslkey.cpp
index 3c8ae11..0e39919 100644
--- a/tests/auto/qsslkey/tst_qsslkey.cpp
+++ b/tests/auto/qsslkey/tst_qsslkey.cpp
@@ -50,7 +50,7 @@
#ifdef Q_OS_SYMBIAN
// In Symbian OS test data is located in applications private dir
// Current path (C:\private\<UID>) contains only ascii chars
-#define SRCDIR QDir::currentPath().toAscii()
+#define SRCDIR "."
#endif
class tst_QSslKey : public QObject
@@ -167,9 +167,9 @@ void tst_QSslKey::emptyConstructor()
QCOMPARE(key, key2);
}
-Q_DECLARE_METATYPE(QSsl::KeyAlgorithm);
-Q_DECLARE_METATYPE(QSsl::KeyType);
-Q_DECLARE_METATYPE(QSsl::EncodingFormat);
+Q_DECLARE_METATYPE(QSsl::KeyAlgorithm)
+Q_DECLARE_METATYPE(QSsl::KeyType)
+Q_DECLARE_METATYPE(QSsl::EncodingFormat)
void tst_QSslKey::createPlainTestRows()
{