aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-05-14 17:47:56 +0000
committerVincent Richard <[email protected]>2013-05-14 17:47:56 +0000
commit66f3c68a6c1a2040d1ebf50c88dc2b2cefbcbe22 (patch)
treea51c55e5d1b1c49ce6845867aefd44ca235a1e18
parentChanged the way the path to export header file is specified. (diff)
downloadvmime-66f3c68a6c1a2040d1ebf50c88dc2b2cefbcbe22.tar.gz
vmime-66f3c68a6c1a2040d1ebf50c88dc2b2cefbcbe22.zip
Removed test as it is invalid.
-rw-r--r--tests/net/smtp/SMTPResponseTest.cpp23
1 files changed, 0 insertions, 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 <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>();