diff --git a/tests/net/smtp/SMTPResponseTest.cpp b/tests/net/smtp/SMTPResponseTest.cpp index 7d8a13c9..85bf7b3a 100644 --- a/tests/net/smtp/SMTPResponseTest.cpp +++ b/tests/net/smtp/SMTPResponseTest.cpp @@ -34,7 +34,6 @@ VMIME_TEST_SUITE_BEGIN(SMTPResponseTest) VMIME_TEST(testMultiLineResponse) VMIME_TEST(testMultiLineResponseDifferentCode) VMIME_TEST(testIncompleteMultiLineResponse) - VMIME_TEST(testIntermediateResponse) VMIME_TEST(testNoResponseText) VMIME_TEST_LIST_END @@ -151,28 +150,6 @@ VMIME_TEST_SUITE_BEGIN(SMTPResponseTest) vmime::exceptions::operation_timed_out); } - void testIntermediateResponse() - { - vmime::ref socket = vmime::create (); - vmime::ref toh = - vmime::create (1); - - socket->localSend - ( - "334\r\n" - "More information\r\n" - ); - - vmime::net::smtp::SMTPResponse::state responseState; - - vmime::ref resp = - vmime::net::smtp::SMTPResponse::readResponse(socket, toh, responseState); - - VASSERT_EQ("Code", 334, resp->getCode()); - VASSERT_EQ("Lines", 1, resp->getLineCount()); - VASSERT_EQ("Text", "More information", resp->getText()); - } - void testNoResponseText() { vmime::ref socket = vmime::create ();