summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-01-22 13:31:54 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-01-22 13:31:54 (GMT)
commit940cb5e744564ec15b805a9e5388e1fa5c60d703 (patch)
tree9c5ed10128c5869c99dbeacc251234802ffbf53b /Swiften/Client/UnitTest
parent7de0bdc001ab361b26dc50add7b48e49f87ac755 (diff)
downloadswift-940cb5e744564ec15b805a9e5388e1fa5c60d703.zip
swift-940cb5e744564ec15b805a9e5388e1fa5c60d703.tar.bz2
Renaming SessionStream::onError to SessionStream::onClosed.
Diffstat (limited to 'Swiften/Client/UnitTest')
-rw-r--r--Swiften/Client/UnitTest/ClientSessionTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Client/UnitTest/ClientSessionTest.cpp b/Swiften/Client/UnitTest/ClientSessionTest.cpp
index 358e308..2b0241a 100644
--- a/Swiften/Client/UnitTest/ClientSessionTest.cpp
+++ b/Swiften/Client/UnitTest/ClientSessionTest.cpp
@@ -349,11 +349,11 @@ class ClientSessionTest : public CppUnit::TestFixture {
}
void breakConnection() {
- onError(boost::shared_ptr<SessionStream::Error>(new SessionStream::Error(SessionStream::Error::ConnectionReadError)));
+ onClosed(boost::shared_ptr<SessionStream::Error>(new SessionStream::Error(SessionStream::Error::ConnectionReadError)));
}
void breakTLS() {
- onError(boost::shared_ptr<SessionStream::Error>(new SessionStream::Error(SessionStream::Error::TLSError)));
+ onClosed(boost::shared_ptr<SessionStream::Error>(new SessionStream::Error(SessionStream::Error::TLSError)));
}