diff options
| author | Vincent Richard <[email protected]> | 2014-03-16 22:52:40 +0100 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2014-03-16 22:52:40 +0100 |
| commit | 84e570bbbb1188d2bcd3f03ff519fbc9217e624a (patch) | |
| tree | 392b7e600433ee3fecd0c13e4020754477b42241 /tests/net/smtp/SMTPCommandTest.cpp | |
| parent | Modified IMAP parser constructor to make testing easier. (diff) | |
| download | vmime-84e570bbbb1188d2bcd3f03ff519fbc9217e624a.tar.gz vmime-84e570bbbb1188d2bcd3f03ff519fbc9217e624a.zip | |
Connection trace facility.
Diffstat (limited to 'tests/net/smtp/SMTPCommandTest.cpp')
| -rw-r--r-- | tests/net/smtp/SMTPCommandTest.cpp | 4 |
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); |
