Skip to content

Commit

Permalink
tests: Remove unused code
Browse files Browse the repository at this point in the history
whoops
  • Loading branch information
lnjX committed Aug 20, 2023
1 parent 16895e6 commit d5f40ce
Showing 1 changed file with 0 additions and 41 deletions.
41 changes: 0 additions & 41 deletions tests/qxmppblockingmanager/tst_qxmppblockingmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d5f40ce

Please sign in to comment.