Removed test as it is invalid.

This commit is contained in:
Vincent Richard 2013-05-14 19:47:56 +02:00
parent 3ae83c9cf9
commit 66f3c68a6c

View File

@ -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 <testSocket> socket = vmime::create <testSocket>();
vmime::ref <vmime::net::timeoutHandler> toh =
vmime::create <testTimeoutHandler>(1);
socket->localSend
(
"334\r\n"
"More information\r\n"
);
vmime::net::smtp::SMTPResponse::state responseState;
vmime::ref <vmime::net::smtp::SMTPResponse> 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 <testSocket> socket = vmime::create <testSocket>();