diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2015-08-17 10:48:25 +0200 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2015-08-17 10:48:25 +0200 |
| commit | 2ecdd17e4e273d4385113b6742a86e98153413e2 (patch) | |
| tree | b8836f592a310410d59ba06d3687c4b3b5e9878c /tests | |
| parent | 496d7e9c1a763124ec99039c150a96ceac595b6b (diff) | |
| download | qxmpp-2ecdd17e4e273d4385113b6742a86e98153413e2.tar.gz | |
QXmppJingleCandidate : add accessors for "generation"
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/qxmppjingleiq/tst_qxmppjingleiq.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qxmppjingleiq/tst_qxmppjingleiq.cpp b/tests/qxmppjingleiq/tst_qxmppjingleiq.cpp index c6f6ec6c..bd856a9d 100644 --- a/tests/qxmppjingleiq/tst_qxmppjingleiq.cpp +++ b/tests/qxmppjingleiq/tst_qxmppjingleiq.cpp @@ -55,6 +55,7 @@ void tst_QXmppJingleIq::testCandidate() QXmppJingleCandidate candidate; parsePacket(candidate, xml); QCOMPARE(candidate.foundation(), QLatin1String("1")); + QCOMPARE(candidate.generation(), 0); QCOMPARE(candidate.id(), QLatin1String("el0747fg11")); QCOMPARE(candidate.host(), QHostAddress("10.0.1.1")); QCOMPARE(candidate.network(), 1); |
