|
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 the License "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 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
18 // All rights reserved. |
|
19 // This component and the accompanying materials are made available |
|
20 // under the terms of "Eclipse Public License v1.0" |
|
21 // which accompanies this distribution, and is available |
|
22 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
23 // |
|
24 // Initial Contributors: |
|
25 // Nokia Corporation - initial contribution. |
|
26 // |
|
27 // Contributors: |
|
28 // |
|
29 // Description: |
|
30 // |
|
31 |
|
32 RINT Post Market Plugin tests with KEnablePostMarketAuthenticationPlugins enabled... |
|
33 |
|
34 // Prepare a clone of TAuthSvr to possess authserver's SID. |
|
35 // This is required for modifying the authserver's central repository file. |
|
36 // This clone must be deleted at the end of the test. |
|
37 |
|
38 RUN_PROGRAM 100 SETCAP tAuthSvr.exe 188b0 -SID 102740FC tAuthSvr_new.exe |
|
39 |
|
40 LOAD_SUITE tAuthSvr |
|
41 LOAD_SUITE tAuthSvr_new |
|
42 |
|
43 // This test must be executed in order to set the default plugin, else authserver will never start. |
|
44 |
|
45 RUN_UTILS DeleteFile C:\pinplugin_inactive.txt |
|
46 RUN_TEST_STEP_RESULT 0 100 tAuthSvr_new INIT_CENREP c:\tauth\tAuthSvr\scripts\tauthsvr2.ini defaultplugin |
|
47 RUN_UTILS DeleteFile C:\t_pinplugindlg_in.dat |
|
48 RUN_UTILS DeleteFile C:\t_pinplugindlg_out.dat |
|
49 |
|
50 // The following test is run for KEnablePostMarketAutheticationPlugins set to a negative value, |
|
51 // in epoc.ini.This test is executed only in winscw. |
|
52 |
|
53 LOAD_SUITE tAuthSvr |
|
54 |
|
55 //// |
|
56 //! @SYMTestCaseID SEC-AUT-AUTHPOSTMARKETPLUGINENABLED-0001 |
|
57 //! @SYMTestCaseDesc Install and uninstall a non-ROM plugin.Verify that the plugin count increments by one post install operation |
|
58 //! and decrements by one post uninstall operation. |
|
59 //! @SYMREQ REQ 11235 |
|
60 //! @SYMTestPriority Medium |
|
61 //! @SYMTestActions 1)Retrieve the available plugin list before a non-ROM plugin is installed. |
|
62 //! 2)Install non-ROM plugin specified in the ini file. |
|
63 //! 3)Repeat step 1.Verify that the plugin count increments by one. |
|
64 //! 4)Retrieve the available plugin list before the non-ROM plugin is uninstalled. |
|
65 //! 5)Uninstall the non-ROM plugin(installed in step 2). |
|
66 //! 6)Repeat step 1.Verify that the plugin count decrements by one. |
|
67 //! |
|
68 //! @SYMTestExpectedResults Plugin count increments by one post install and decrements by one post uninstall operation. |
|
69 //! @SYMDevelopedForRelease Diran |
|
70 |
|
71 START_TESTCASE SEC-AUT-AUTHPOSTMARKETPLUGINENABLED-0001 |
|
72 RUN_TEST_STEP_RESULT 0 100 tAuthSvr POST_MARKET_PLUGIN c:\tauth\tAuthSvr\scripts\tpostmarketplugin.ini Test0004 |
|
73 END_TESTCASE SEC-AUT-AUTHPOSTMARKETPLUGINENABLED-0001 |