aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testUtils.hpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2012-12-11 21:02:47 +0000
committerVincent Richard <[email protected]>2012-12-11 21:02:47 +0000
commit7fdcc31ab38dc623303edd6c7ddef5ffc17ef86a (patch)
tree16e1c600410c0f103f6988f94695067a6aa712cf /tests/testUtils.hpp
parentFixed wrong class name (copy/paste is BAD ;-) ). (diff)
downloadvmime-7fdcc31ab38dc623303edd6c7ddef5ffc17ef86a.tar.gz
vmime-7fdcc31ab38dc623303edd6c7ddef5ffc17ef86a.zip
Fixed compilation issues in unit tests.
Diffstat (limited to 'tests/testUtils.hpp')
-rw-r--r--tests/testUtils.hpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/testUtils.hpp b/tests/testUtils.hpp
index aee50dc7..34271f44 100644
--- a/tests/testUtils.hpp
+++ b/tests/testUtils.hpp
@@ -213,11 +213,17 @@ public:
void receive(vmime::string& buffer);
void send(const vmime::string& buffer);
- int receiveRaw(char* buffer, const int count);
- void sendRaw(const char* buffer, const int count);
+ size_type receiveRaw(char* buffer, const size_type count);
+ void sendRaw(const char* buffer, const size_type count);
+ size_type sendRawNonBlocking(const char* buffer, const size_type count);
size_type getBlockSize() const;
+ unsigned int getStatus() const;
+
+ const vmime::string getPeerName() const;
+ const vmime::string getPeerAddress() const;
+
/** Send data to client.
*
* @buffer data to send