messagingfw/msgtestfw/TestCases/ScriptedTestCases/DrmHandling/CM-DRM-CIT-0005-HP.script
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
equal deleted inserted replaced
60:9f5ae1728557 62:db3f5fa34ec7
       
     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 //! @file
       
    17 //! @SYMTestCaseID CM-DRM-CIT-0005-HP
       
    18 //! @SYMTestType CIT
       
    19 //! @SYMTestPriority High
       
    20 //! @SYMPREQ 776, 778
       
    21 //! @SYMTestCaseDesc Full successful download of an POP message containing one complete DRM object
       
    22 //! @SYMTestActions :
       
    23 //!	1. Send email message using SMTP
       
    24 //!	2. Download the email message to local Inbox via POP3
       
    25 //! 3. Verify receipt was added to message body
       
    26 //! 4. Verify that message meta data written to file by test agent is correct
       
    27 //! 5. Verify message store integrity
       
    28 //! @SYMTestExpectedResults :
       
    29 //!	1. A DRM receipt string shall have been added to body text of message
       
    30 //!	2. Meta data file was written and content is correct
       
    31 //! 3. Message store was successfully traversed, all entries correct and accessible
       
    32 // ------------------------------------------
       
    33 // Component Under Test:
       
    34 //	CAF Email enhancement
       
    35 // ------------------------------------------
       
    36 // API function under test:
       
    37 //	***CImPop3Session
       
    38 // ------------------------------------------
       
    39 // Requirement/Use Case/Functional Spec:
       
    40 //	SGL.GT0231.xxx  CAF Email Enhancement Design Document (2.3.4)
       
    41 // ------------------------------------------
       
    42 // Polarity:
       
    43 //	Positive
       
    44 // ------------------------------------------
       
    45 // Test Type (unit, integration, panic, performance, conformance, stress, or interoperability):
       
    46 //	Unit
       
    47 // ------------------------------------------
       
    48 // Expected Panic ID (if a panic test, only for non-scripted test cases):
       
    49 //	N/A
       
    50 // ------------------------------------------
       
    51 // Interface Dependencies (does it require connection, which subsystems does it require):
       
    52 // 	Requires connection to Messaging Server
       
    53 // ------------------------------------------
       
    54 // Importance (critical, high, or low):
       
    55 //	High
       
    56 // ------------------------------------------
       
    57 // Execution Time (fast, medium, or slow):
       
    58 //	Medium
       
    59 // ------------------------------------------
       
    60 // Pre-condition description:
       
    61 //	1. Email body with DRM content available in a text file
       
    62 //	2. Connection to test mail servers on closedtest.intra
       
    63 // ------------------------------------------
       
    64 // Reference to a review document:
       
    65 //	SGL.GT0231.205 Secure Handling of DRM Messages Test Specification
       
    66 // ------------------------------------------
       
    67 // Full pathname of an epoc.ini (if there are special epoc.ini requirements)
       
    68 // 	N/A
       
    69 // ------------------------------------------
       
    70 // Any CommDb restrictions:
       
    71 //	WinTap CommDb
       
    72 // ------------------------------------------
       
    73 // Build Requirements (e.g., no watchers):
       
    74 //	N/A
       
    75 // ------------------------------------------
       
    76 // Hardware Requirements
       
    77 //	H2 Board
       
    78 // ------------------------------------------
       
    79 
       
    80 PRINT Running Test Case CM-DRM-CIT-0005-HP...
       
    81 
       
    82 // First clean up remote inbox and reset message store
       
    83 RUN_SCRIPT c:\msgtest\TestFramework\ScriptedTestCases\DrmHandling\Drm_POP3_CleanInbox.script
       
    84 
       
    85 // Send the email
       
    86 RUN_SCRIPT c:\msgtest\TestFramework\ScriptedTestCases\DrmHandling\Drm_SendCompleteDrmEmail.script
       
    87 
       
    88 // download POP3 message
       
    89 RUN_SCRIPT c:\msgtest\TestFramework\ScriptedTestCases\DrmHandling\Drm_POP3_DownloadDrmMessage.script
       
    90 
       
    91 // check the DRM handling
       
    92 RUN_SCRIPT c:\msgtest\TestFramework\ScriptedTestCases\DrmHandling\Drm_CheckDrmHandling_1.script
       
    93 
       
    94 PRINT Test Case CM-DRM-CIT-0005-HP Finished