aboutsummaryrefslogtreecommitdiffstats
path: root/tests/net/smtp/SMTPCommandTest.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2014-03-16 22:52:40 +0100
committerVincent Richard <[email protected]>2014-03-16 22:52:40 +0100
commit84e570bbbb1188d2bcd3f03ff519fbc9217e624a (patch)
tree392b7e600433ee3fecd0c13e4020754477b42241 /tests/net/smtp/SMTPCommandTest.cpp
parentModified IMAP parser constructor to make testing easier. (diff)
downloadvmime-84e570bbbb1188d2bcd3f03ff519fbc9217e624a.tar.gz
vmime-84e570bbbb1188d2bcd3f03ff519fbc9217e624a.zip
Connection trace facility.
Diffstat (limited to 'tests/net/smtp/SMTPCommandTest.cpp')
-rw-r--r--tests/net/smtp/SMTPCommandTest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/net/smtp/SMTPCommandTest.cpp b/tests/net/smtp/SMTPCommandTest.cpp
index 9480948c..9b3daa73 100644
--- a/tests/net/smtp/SMTPCommandTest.cpp
+++ b/tests/net/smtp/SMTPCommandTest.cpp
@@ -231,8 +231,10 @@ VMIME_TEST_SUITE_BEGIN(SMTPCommandTest)
{
vmime::shared_ptr <SMTPCommand> cmd = SMTPCommand::createCommand("MY_COMMAND param1 param2");
+ vmime::shared_ptr <vmime::net::tracer> tracer;
vmime::shared_ptr <testSocket> sok = vmime::make_shared <testSocket>();
- cmd->writeToSocket(sok);
+
+ cmd->writeToSocket(sok, tracer);
vmime::string response;
sok->localReceive(response);