From bd6d9531fc0fdc0f7db22d6739f71b2eb995f202 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Mon, 11 Oct 2010 11:00:35 +0000 Subject: add unit tests for STUN encoding / decoding --- tests/tests.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests/tests.h') 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 -- cgit v1.2.3