equal
deleted
inserted
replaced
|
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 API-APPFWK-T-Serv2Step-AppInfoTest1-0001 |
|
18 //! @SYMTestCaseDesc Test RApaLsSession::GetNextApp() |
|
19 //! @SYMTestPriority High |
|
20 //! @SYMTestStatus 3. Released |
|
21 //! @SYMTestActions Call RApaLsSession::GetAllApps() to initialize the process of getting all applications in the cached list. Traverse the application list |
|
22 //! by calling RApaLsSession::GetNextApp() to search for application tstapp. Test the application info obtained from GetNextApp() to ensure the application |
|
23 //! info obtained is of tstapp. Complete traversal of the list to ensure that at the end of the list, the enum ENoMoreAppInList is returned by GetNextApp(). |
|
24 //! API Calls: |
|
25 //! RApaLsSession::GetAllApps() const |
|
26 //! RApaLsSession::GetNextApp(TApaAppInfo& aInfo) const |
|
27 //! @SYMTestExpectedResults The test compares the results obtained with expected values. |
|
28 |
|
29 START_TESTCASE API-APPFWK-T-Serv2Step-AppInfoTest1-0001 |
|
30 |
|
31 PRINT Run T_Serv2 Apparc test |
|
32 // |
|
33 LOAD_SUITE ApparcTestServer |
|
34 RUN_TEST_STEP 100 ApparcTestServer T_Serv2 |
|
35 |
|
36 END_TESTCASE API-APPFWK-T-Serv2Step-AppInfoTest1-0001 |