From 7fdcc31ab38dc623303edd6c7ddef5ffc17ef86a Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Tue, 11 Dec 2012 22:02:47 +0100 Subject: Fixed compilation issues in unit tests. --- tests/testUtils.hpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tests/testUtils.hpp') 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 -- cgit v1.2.3