aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-10-11 11:00:35 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-10-11 11:00:35 +0000
commitbd6d9531fc0fdc0f7db22d6739f71b2eb995f202 (patch)
tree2fcfbcdd0c5f75e3d067dd6ffe5df593795fd87e /tests/tests.h
parent064235d640fc0efb3c77c4d6e4198f05ab1e4122 (diff)
downloadqxmpp-bd6d9531fc0fdc0f7db22d6739f71b2eb995f202.tar.gz
add unit tests for STUN encoding / decoding
Diffstat (limited to 'tests/tests.h')
-rw-r--r--tests/tests.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/tests.h b/tests/tests.h
index ee7e8bdd..5be6b0af 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -90,6 +90,19 @@ private slots:
void testSubscriptions();
};
+class TestStun : public QObject
+{
+ Q_OBJECT
+
+private slots:
+ void testFingerprint();
+ void testIntegrity();
+ void testIPv4Address();
+ void testIPv6Address();
+ void testXorIPv4Address();
+ void testXorIPv6Address();
+};
+
class TestXmlRpc : public QObject
{
Q_OBJECT