aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testUtils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testUtils.hpp')
-rw-r--r--tests/testUtils.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testUtils.hpp b/tests/testUtils.hpp
index 9e72158a..20ebdf20 100644
--- a/tests/testUtils.hpp
+++ b/tests/testUtils.hpp
@@ -248,6 +248,9 @@ public:
bool isConnected() const;
+ bool waitForWrite(const int msecs = 30000);
+ bool waitForRead(const int msecs = 30000);
+
void receive(vmime::string& buffer);
void send(const vmime::string& buffer);
void send(const char* str);