From e6fe37e28ead4106c9ca8a7e8e6c602b165e7ea3 Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Wed, 31 Mar 1999 19:20:10 +0000 Subject: [PATCH] Add smoketest string for QA to use. If a message is succesful Message Sent: PASSED. --- mailnews/compose/tests/smtp/smtpTest.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mailnews/compose/tests/smtp/smtpTest.cpp b/mailnews/compose/tests/smtp/smtpTest.cpp index 0658da741dfe..5401950a0176 100644 --- a/mailnews/compose/tests/smtp/smtpTest.cpp +++ b/mailnews/compose/tests/smtp/smtpTest.cpp @@ -194,6 +194,14 @@ nsresult nsSmtpTestDriver::OnStopRunningUrl(nsIURL * aUrl, nsresult aExitCode) } } + /////////////////////////////////////////////////////////////////////////////////////////// + // the following strings are used by QA as part of the smoketest. DO NOT REMOVE THEM!!!!!!! + /////////////////////////////////////////////////////////////////////////////////////////// + if (NS_SUCCEEDED(aExitCode)) + printf("\nMessage Sent: PASSED\n"); + else + printf("\nMessage Sent: FAILED!\n"); + return NS_OK; }