diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-07-18 11:56:17 +0200 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-07-18 11:56:17 +0200 |
| commit | 8672a55c2896774f2ec8740285d3196d3914d7a2 (patch) | |
| tree | 84ee4abe3d4fde3f5862b897a3b0e76c66225b7b | |
| parent | 728901eab3d77595878ae1dc3defbcfbde6423a3 (diff) | |
| download | qxmpp-8672a55c2896774f2ec8740285d3196d3914d7a2.tar.gz | |
rename rtp tests
| -rw-r--r-- | tests/rtp.cpp | 6 | ||||
| -rw-r--r-- | tests/rtp.h | 2 | ||||
| -rw-r--r-- | tests/tests.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/rtp.cpp b/tests/rtp.cpp index 8e62e075..cc7ee112 100644 --- a/tests/rtp.cpp +++ b/tests/rtp.cpp @@ -27,7 +27,7 @@ #include "rtp.h" -void TestRtp::testBad() +void tst_QXmppRtpPacket::testBad() { QXmppRtpPacket packet; @@ -40,7 +40,7 @@ void TestRtp::testBad() QCOMPARE(packet.decode(QByteArray("\x40\x00\x3e\xd2\x00\x00\x00\x90\x5f\xbd\x16\x9e", 12)), false); } -void TestRtp::testSimple() +void tst_QXmppRtpPacket::testSimple() { QByteArray data("\x80\x00\x3e\xd2\x00\x00\x00\x90\x5f\xbd\x16\x9e\x12\x34\x56", 15); QXmppRtpPacket packet; @@ -56,7 +56,7 @@ void TestRtp::testSimple() QCOMPARE(packet.encode(), data); } -void TestRtp::testWithCsrc() +void tst_QXmppRtpPacket::testWithCsrc() { QByteArray data("\x84\x00\x3e\xd2\x00\x00\x00\x90\x5f\xbd\x16\x9e\xab\xcd\xef\x01\xde\xad\xbe\xef\x12\x34\x56", 23); QXmppRtpPacket packet; diff --git a/tests/rtp.h b/tests/rtp.h index 8d4f7497..479a1a87 100644 --- a/tests/rtp.h +++ b/tests/rtp.h @@ -23,7 +23,7 @@ #include <QObject> -class TestRtp : public QObject +class tst_QXmppRtpPacket : public QObject { Q_OBJECT diff --git a/tests/tests.cpp b/tests/tests.cpp index 5790c290..11f02108 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -1828,7 +1828,7 @@ int main(int argc, char *argv[]) TestRsm testRsm; errors += QTest::qExec(&testRsm); - TestRtp testRtp; + tst_QXmppRtpPacket testRtp; errors += QTest::qExec(&testRtp); TestServer testServer; |
