|
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 PRINT Running EMsvCancelSessionEventNotification |
|
18 |
|
19 //****************************************** |
|
20 // We don't need any capabilities to run this test action. It will always succeed. |
|
21 // |
|
22 //****************************************** |
|
23 |
|
24 PRINT Running EMsvCancelSessionEventNotification : Read Caps = 0. Same SID. Should Pass. |
|
25 RUN_SCRIPT c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_Setup.script |
|
26 |
|
27 |
|
28 RUN_PROGRAM -1 setcap c:\sys\bin\MessagingTestServer_caps.exe 0003fffe -SID 101F7776 C:\sys\bin\MessagingTestServer.exe |
|
29 |
|
30 RUN_PROGRAM -1 setcap c:\sys\bin\SendProxyServer_caps.exe 00000000 -SID 101F7776 C:\sys\bin\SendProxyServer.exe |
|
31 |
|
32 RUN_SCRIPT c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_SendEMsvCancelSessionEventNotification.script |
|
33 |
|
34 DELAY 3000 |
|
35 RUN_SCRIPT c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_Restore.script |
|
36 |
|
37 //****************************************** |
|
38 |
|
39 PRINT Running EMsvCancelSessionEventNotification : Read Caps = Read/Write User data. Same SID. Should Pass. |
|
40 RUN_SCRIPT c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_Setup.script |
|
41 |
|
42 |
|
43 RUN_PROGRAM -1 setcap c:\sys\bin\MessagingTestServer_caps.exe 0003fffe -SID 101F7776 C:\sys\bin\MessagingTestServer.exe |
|
44 |
|
45 RUN_PROGRAM -1 setcap c:\sys\bin\SendProxyServer_caps.exe 00018000 -SID 101F7776 C:\sys\bin\SendProxyServer.exe |
|
46 // Just a sanity check. |
|
47 |
|
48 RUN_SCRIPT c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_SendEMsvCancelSessionEventNotification.script |
|
49 |
|
50 DELAY 3000 |
|
51 RUN_SCRIPT c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_Restore.script |