aboutsummaryrefslogtreecommitdiffstats
path: root/tests/net/smtp/SMTPCommandTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/net/smtp/SMTPCommandTest.cpp')
-rw-r--r--tests/net/smtp/SMTPCommandTest.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/net/smtp/SMTPCommandTest.cpp b/tests/net/smtp/SMTPCommandTest.cpp
index 93cdf7ae..0ff52741 100644
--- a/tests/net/smtp/SMTPCommandTest.cpp
+++ b/tests/net/smtp/SMTPCommandTest.cpp
@@ -44,6 +44,7 @@ VMIME_TEST_SUITE_BEGIN
VMIME_TEST(testSTARTTLS)
VMIME_TEST(testMAIL)
VMIME_TEST(testRCPT)
+ VMIME_TEST(testRSET)
VMIME_TEST(testDATA)
VMIME_TEST(testNOOP)
VMIME_TEST(testQUIT)
@@ -115,6 +116,14 @@ VMIME_TEST_SUITE_BEGIN
VASSERT_EQ("Text", "RCPT TO:<[email protected]>", cmd->getText());
}
+ void testRSET()
+ {
+ vmime::ref <SMTPCommand> cmd = SMTPCommand::RSET();
+
+ VASSERT_NOT_NULL("Not null", cmd);
+ VASSERT_EQ("Text", "RSET", cmd->getText());
+ }
+
void testDATA()
{
vmime::ref <SMTPCommand> cmd = SMTPCommand::DATA();