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 |
|
18 |
|
19 PRINT Post Market Plugin tests with KEnablePostMarketAuthenticationPlugins enabled... |
|
20 |
|
21 // Prepare a clone of TAuthSvr to possess authserver's SID. |
|
22 // This is required for modifying the authserver's central repository file. |
|
23 // This clone must be deleted at the end of the test. |
|
24 |
|
25 RUN_PROGRAM 100 SETCAP tAuthSvr.exe 188b0 -SID 102740FC tAuthSvr_new.exe |
|
26 |
|
27 LOAD_SUITE tAuthSvr |
|
28 LOAD_SUITE tAuthSvr_new |
|
29 |
|
30 // This test must be executed in order to set the default plugin, else authserver will never start. |
|
31 |
|
32 RUN_UTILS DeleteFile C:\pinplugin_inactive.txt |
|
33 RUN_TEST_STEP_RESULT 0 100 tAuthSvr_new INIT_CENREP c:\tauth\tAuthSvr\scripts\tauthsvr2.ini defaultplugin |
|
34 RUN_UTILS DeleteFile C:\t_pinplugindlg_in.dat |
|
35 RUN_UTILS DeleteFile C:\t_pinplugindlg_out.dat |
|
36 |
|
37 // The following test is run for KEnablePostMarketAutheticationPlugins set to a positive value greater than zero, |
|
38 // in epoc.ini.This test is executed only in winscw. |
|
39 |
|
40 //// |
|
41 //! @SYMTestCaseID SEC-AUT-AUTHPOSTMARKETPLUGINENABLED1-0001 |
|
42 //! @SYMTestCaseDesc Install and uninstall a non-ROM plugin.Verify that the plugin count increments by one post install operation |
|
43 //! and decrements by one post uninstall operation. |
|
44 //! @SYMREQ REQ 11235 |
|
45 //! @SYMTestPriority Medium |
|
46 //! @SYMTestActions 1)Retrieve the available plugin list before a non-ROM plugin is installed. |
|
47 //! 2)Install non-ROM plugin specified in the ini file. |
|
48 //! 3)Repeat step 1.Verify that the plugin count increments by one. |
|
49 //! 4)Retrieve the available plugin list before the non-ROM plugin is uninstalled. |
|
50 //! 5)Uninstall the non-ROM plugin(installed in step 2). |
|
51 //! 6)Repeat step 1.Verify that the plugin count decrements by one. |
|
52 //! |
|
53 //! @SYMTestExpectedResults Plugin count increments by one post install and decrements by one post uninstall operation. |
|
54 //! @SYMDevelopedForRelease Diran |
|
55 |
|
56 START_TESTCASE SEC-AUT-AUTHPOSTMARKETPLUGINENABLED1-0001 |
|
57 RUN_TEST_STEP_RESULT 0 100 tAuthSvr POST_MARKET_PLUGIN c:\tauth\tAuthSvr\scripts\tpostmarketplugin.ini Test0004 |
|
58 END_TESTCASE SEC-AUT-AUTHPOSTMARKETPLUGINENABLED1-0001 |
|