messagingfw/msgtestfw/TestCases/ScriptedTestCases/DrmHandling/Drm_SendCDDrmEmail.script
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 //
       
     2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 
       
    17 
       
    18 // Support script for DRM Handling Tests
       
    19 //
       
    20 // Name: 
       
    21 // Drm_SendCDDrmEmail.script
       
    22 //
       
    23 // Purpose:
       
    24 // This scripts will connect to the SMTP server and send an email
       
    25 // containing one Combined Delivery DRM object. The contents are specified 
       
    26 // in a file referred to by the test action.
       
    27 // 
       
    28 // Constraints:
       
    29 // Needs WinTap or similar connection (NOT NT RAS) and a 
       
    30 // functioning SMTP server and recipient account.
       
    31 //
       
    32 
       
    33 RUN_UTILS DeleteFile c:\messaging.db
       
    34 LOAD_SUITE MessagingTestServer -SharedData
       
    35 
       
    36 RUN_TEST_STEP 100 MessagingTestServer BEGIN_TEST_CASE
       
    37 
       
    38 RUN_TEST_STEP 100 MessagingTestServer SETUP_TEST_CASE
       
    39 
       
    40 RUN_TEST_STEP 100 MessagingTestServer EXECUTE_TEST_CASE
       
    41 
       
    42 RUN_TEST_STEP 100 MessagingTestServer SmtpSendEmail					c:\msgtest\TestFramework\ScriptedTestCases\DrmHandling\Drm_SendCDDrmEmail.ini SendCDEmail
       
    43 
       
    44 RUN_TEST_STEP 100 MessagingTestServer CHECK_POSTCONDITIONS
       
    45 
       
    46 RUN_TEST_STEP 100 MessagingTestServer END_TEST_CASE