diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-07-20 20:01:19 +0200 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-07-20 20:01:19 +0200 |
| commit | da989d302660deb68b7f12170a03b69f6ebdd3f5 (patch) | |
| tree | 3cb2ed99b8b771a80be9b2cd8df5b199631ea8dc | |
| parent | d185b756d8f52c9cc83ca842b3f991aa99af9c1d (diff) | |
| download | qxmpp-da989d302660deb68b7f12170a03b69f6ebdd3f5.tar.gz | |
disable private API tests on win32
| -rw-r--r-- | tests/tests.cpp | 4 | ||||
| -rw-r--r-- | tests/tests.pro | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp index 340f737d..6ace4ac4 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -1311,8 +1311,10 @@ int main(int argc, char *argv[]) TestPackets testPackets; errors += QTest::qExec(&testPackets); +#ifndef Q_OS_WIN TestCodec testCodec; errors += QTest::qExec(&testCodec); +#endif tst_QXmppDataForm testDataForm; errors += QTest::qExec(&testDataForm); @@ -1338,6 +1340,7 @@ int main(int argc, char *argv[]) tst_QXmppRtpPacket testRtp; errors += QTest::qExec(&testRtp); +#ifndef Q_OS_WIN tst_QXmppSasl testSasl; errors += QTest::qExec(&testSasl); @@ -1346,6 +1349,7 @@ int main(int argc, char *argv[]) tst_QXmppSaslServer testSaslServer; errors += QTest::qExec(&testSaslServer); +#endif TestServer testServer; errors += QTest::qExec(&testServer); diff --git a/tests/tests.pro b/tests/tests.pro index f3248b11..36c52635 100644 --- a/tests/tests.pro +++ b/tests/tests.pro @@ -26,5 +26,10 @@ HEADERS += \ sasl.h \ tests.h +win32 { + HEADERS -= codec.h sasl.h + SOURCES -= codec.cpp sasl.cpp +} + INCLUDEPATH += $$QXMPP_INCLUDEPATH LIBS += -L../src $$QXMPP_LIBS |
