|
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 // Test Case Name: |
|
17 // LaunchSchSendExe.script |
|
18 // ------------------------------------------ |
|
19 // Component Under Test: |
|
20 // Schedule Send |
|
21 // ------------------------------------------ |
|
22 // API function under test: |
|
23 // |
|
24 // |
|
25 // ------------------------------------------ |
|
26 // Requirement/Use Case/Functional Spec: |
|
27 // |
|
28 // ------------------------------------------ |
|
29 // Polarity: Negative |
|
30 // |
|
31 // ------------------------------------------ |
|
32 // Test Type (unit, integration, panic, performance, conformance, stress, or interoperability): |
|
33 // Integration |
|
34 // ------------------------------------------ |
|
35 // Expected Panic ID (if a panic test, only for non-scripted test cases): |
|
36 // n/a |
|
37 // ------------------------------------------ |
|
38 // Interface Dependencies (does it require connection, which subsystems does it require): |
|
39 // Requires connection to Messaging Server |
|
40 // ------------------------------------------ |
|
41 // Importance (critical, high, or low): |
|
42 // High |
|
43 // ------------------------------------------ |
|
44 // Execution Time (fast, medium, or slow): |
|
45 // medium |
|
46 // ------------------------------------------ |
|
47 // Pre-condition description: |
|
48 // 1. Create a session with the Message Server |
|
49 // |
|
50 // ------------------------------------------ |
|
51 // Action Description: |
|
52 // |
|
53 // 1.Launch the process LaunchSchSendExe.exe |
|
54 // |
|
55 // If the Schedule Send is Secure then, it should fail with KErrPermissionDenied |
|
56 // ------------------------------------------ |
|
57 // Post-condition description (i.e., expected outcome): |
|
58 // |
|
59 // ------------------------------------------ |
|
60 // Reference to a review document: |
|
61 // |
|
62 // ------------------------------------------ |
|
63 // Full pathname of an epoc.ini (if there are special epoc.ini requirements) |
|
64 // For emulator, an epoc.ini that creates an emulated external drive (drive letter |
|
65 // between D: and Y:) is required. Optionally, an environment variable can be defined. |
|
66 // ------------------------------------------ |
|
67 // Any CommDb restrictions: |
|
68 // None |
|
69 // ------------------------------------------ |
|
70 // Build Requirements (e.g., no watchers): |
|
71 // None |
|
72 // ------------------------------------------ |
|
73 // Hardware Requirements |
|
74 // None |
|
75 // ------------------------------------------ |
|
76 |
|
77 RUN_UTILS DeleteFile c:\messaging.db |
|
78 LOAD_SUITE MessagingTestServer -SharedData |
|
79 |
|
80 PREFIX RUN_TEST_STEP 1000 MessagingTestServer |
|
81 BEGIN_TEST_CASE |
|
82 SETUP_TEST_CASE |
|
83 GetPigeonMtmConstant c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\LaunchSchSendExe.ini GetPigeonMtmConstant |
|
84 CreateSession c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\LaunchSchSendExe.ini CreateSession |
|
85 DeleteExistingService c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\LaunchSchSendExe.ini DeleteExistingService |
|
86 CreateService c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\LaunchSchSendExe.ini CreateService |
|
87 SetSchSendSettings c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\LaunchSchSendExe.ini SetSchSendSettings |
|
88 EXECUTE_TEST_CASE |
|
89 LaunchSchSendExe c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\LaunchSchSendExe.ini LaunchScheduleSend |
|
90 CHECK_POSTCONDITIONS |
|
91 END_TEST_CASE |