From bbfdcc36a00bdae294c45baa2023f850efce7375 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Tue, 25 Mar 2014 23:34:03 +0100 Subject: Trace socket/connection events. --- tests/testUtils.cpp | 11 +++++++++++ tests/testUtils.hpp | 3 +++ 2 files changed, 14 insertions(+) (limited to 'tests') diff --git a/tests/testUtils.cpp b/tests/testUtils.cpp index c4fce447..dcdb2a03 100644 --- a/tests/testUtils.cpp +++ b/tests/testUtils.cpp @@ -85,6 +85,17 @@ vmime::shared_ptr testSocket::getTimeoutHandler() } +void testSocket::setTracer(vmime::shared_ptr tracer) +{ +} + + +vmime::shared_ptr testSocket::getTracer() +{ + return vmime::null; +} + + bool testSocket::waitForRead(const int msecs) { return true; diff --git a/tests/testUtils.hpp b/tests/testUtils.hpp index 20ebdf20..2476787b 100644 --- a/tests/testUtils.hpp +++ b/tests/testUtils.hpp @@ -268,6 +268,9 @@ public: vmime::shared_ptr getTimeoutHandler(); + void setTracer(vmime::shared_ptr tracer); + vmime::shared_ptr getTracer(); + /** Send data to client. * * @param buffer data to send -- cgit v1.2.3