diff options
Diffstat (limited to 'tests/net/pop3/POP3CommandTest.cpp')
-rw-r--r-- | tests/net/pop3/POP3CommandTest.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/net/pop3/POP3CommandTest.cpp b/tests/net/pop3/POP3CommandTest.cpp index 4733c96b..139e948b 100644 --- a/tests/net/pop3/POP3CommandTest.cpp +++ b/tests/net/pop3/POP3CommandTest.cpp @@ -39,6 +39,7 @@ VMIME_TEST_SUITE_BEGIN(POP3CommandTest) VMIME_TEST(testCAPA) VMIME_TEST(testNOOP) VMIME_TEST(testAUTH) + VMIME_TEST(testAUTH_InitialResponse) VMIME_TEST(testSTLS) VMIME_TEST(testAPOP) VMIME_TEST(testUSER) @@ -97,6 +98,14 @@ VMIME_TEST_SUITE_BEGIN(POP3CommandTest) VASSERT_EQ("Text", "AUTH saslmechanism", cmd->getText()); } + void testAUTH_InitialResponse() + { + vmime::shared_ptr <POP3Command> cmd = POP3Command::AUTH("saslmechanism", "initial-response"); + + VASSERT_NOT_NULL("Not null", cmd); + VASSERT_EQ("Text", "AUTH saslmechanism initial-response", cmd->getText()); + } + void testSTLS() { vmime::shared_ptr <POP3Command> cmd = POP3Command::STLS(); |