From 0d20ee083b69d0cbde5a57a745386b987752af46 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Wed, 5 Feb 2014 20:18:20 +0100 Subject: Better polling. Fixed possible connection issues on POSIX with slow network. Better error handling in POSIX sockets. --- tests/testUtils.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests/testUtils.cpp') diff --git a/tests/testUtils.cpp b/tests/testUtils.cpp index ee642bea..c4fce447 100644 --- a/tests/testUtils.cpp +++ b/tests/testUtils.cpp @@ -85,6 +85,18 @@ vmime::shared_ptr testSocket::getTimeoutHandler() } +bool testSocket::waitForRead(const int msecs) +{ + return true; +} + + +bool testSocket::waitForWrite(const int msecs) +{ + return true; +} + + void testSocket::receive(vmime::string& buffer) { buffer = m_inBuffer; -- cgit v1.2.3