forked from qxmpp-project/qxmpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
whoops
- Loading branch information
Showing
1 changed file
with
0 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,47 +21,6 @@ class tst_QXmppBlockingManager : public QObject | |
Q_SLOT void blockedState(); | ||
}; | ||
|
||
/* | ||
void tst_QXmppBlockingManager::testHandleStanza_data() | ||
{ | ||
QTest::addColumn<QByteArray>("xml"); | ||
QTest::addColumn<bool>("accepted"); | ||
QTest::addColumn<bool>("event"); | ||
QTest::addColumn<bool>("error"); | ||
QTest::newRow("notAccepted") | ||
<< QByteArray("<message xmlns='jabber:client' " | ||
"from='[email protected]' " | ||
"to='[email protected]/home' " | ||
"type='chat'>" | ||
"<received xmlns='urn:xmpp:carbons:2'>" | ||
"<forwarded xmlns='urn:xmpp:forward:0'>" | ||
"<message xmlns='jabber:client' " | ||
"from='[email protected]/balcony' " | ||
"to='[email protected]/garden' " | ||
"type='chat'>" | ||
"<body>What man art thou that, thus bescreen'd in night, so stumblest on my counsel?</body>" | ||
"<thread>0e3141cd80894871a68e6fe6b1ec56fa</thread>" | ||
"</message>" | ||
"</forwarded>" | ||
"</received>" | ||
"</message>") | ||
<< false << false << false; | ||
} | ||
void tst_QXmppBlockingManager::testHandleStanza() | ||
{ | ||
QFETCH(QByteArray, xml); | ||
QFETCH(bool, accepted); | ||
QFETCH(bool, event); | ||
QFETCH(bool, error); | ||
TestClient test; | ||
auto *manager = test.addNewExtension<QXmppUploadRequestManager>(); | ||
} | ||
*/ | ||
|
||
void tst_QXmppBlockingManager::basic() | ||
{ | ||
QXmppBlockingManager m; | ||
|