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