"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/testoauth.cpp" between
ownCloud-2.9.0.5150.tar.xz and ownCloud-2.9.1.5500.tar.xz

About: ownCloud Client (formerly "mirall") is a tool to synchronize files from ownCloud Server with your desktop client. It uses OCSync as its syncing backend.

testoauth.cpp  (ownCloud-2.9.0.5150.tar.xz):testoauth.cpp  (ownCloud-2.9.1.5500.tar.xz)
skipping to change at line 413 skipping to change at line 413
} }
QNetworkReply *statusPhpReply(QNetworkAccessManager::Operation op, c onst QNetworkRequest &req) override QNetworkReply *statusPhpReply(QNetworkAccessManager::Operation op, c onst QNetworkRequest &req) override
{ {
OC_ASSERT(op == QNetworkAccessManager::GetOperation); OC_ASSERT(op == QNetworkAccessManager::GetOperation);
return new FakeHangingReply(op, req, fakeQnam); return new FakeHangingReply(op, req, fakeQnam);
} }
void oauthResult(OAuth::Result result, const QString &user, const QS tring &token, const QString &refreshToken) override void oauthResult(OAuth::Result result, const QString &user, const QS tring &token, const QString &refreshToken) override
{ {
Q_UNUSED(user);
Q_UNUSED(token);
QCOMPARE(state, StartState); QCOMPARE(state, StartState);
QCOMPARE(result, OAuth::Error); QCOMPARE(result, OAuth::Error);
gotAuthOk = true; gotAuthOk = true;
replyToBrowserOk = true; replyToBrowserOk = true;
} }
} test; } test;
test.test(); test.test();
} }
}; };
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)