diff options
author | Vincent Richard <[email protected]> | 2014-02-05 19:18:20 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2014-02-05 19:18:20 +0000 |
commit | 0d20ee083b69d0cbde5a57a745386b987752af46 (patch) | |
tree | bbcbc887fc23cb6e6b2fdc05acd446ce89921319 /tests/testUtils.cpp | |
parent | Merge branch 'master' of https://github.com/kisli/vmime (diff) | |
download | vmime-0d20ee083b69d0cbde5a57a745386b987752af46.tar.gz vmime-0d20ee083b69d0cbde5a57a745386b987752af46.zip |
Better polling. Fixed possible connection issues on POSIX with slow network. Better error handling in POSIX sockets.
Diffstat (limited to 'tests/testUtils.cpp')
-rw-r--r-- | tests/testUtils.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
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 <vmime::net::timeoutHandler> 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; |