From 66f3c68a6c1a2040d1ebf50c88dc2b2cefbcbe22 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Tue, 14 May 2013 19:47:56 +0200 Subject: [PATCH] Removed test as it is invalid. --- tests/net/smtp/SMTPResponseTest.cpp | 23 ----------------------- 1 file changed, 23 deletions(-) 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 ();