appfw/apparchitecture/tef/scripts/apparctest_T_RApaLsSession.script
changeset 0 2e3d3ce01487
child 29 6a787171e1de
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     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-RApaLsSessionTestStep-TestAppInfo1-0001
       
    18 //! @SYMDEF			DEF59510
       
    19 //! @SYMTestCaseDesc 		Test RApaLsSession::GetNextApp() 
       
    20 //! @SYMTestPriority 		High 
       
    21 //! @SYMTestStatus 		3. Released
       
    22 //! @SYMTestActions 		Call RApaLsSession::GetAllApps() to initialize the process of getting all applications in the cached list. Traverse the application list
       
    23 //!				by calling RApaLsSession::GetNextApp() to search for application tstapp. Test the application info obtained from GetNextApp() to ensure the application
       
    24 //!   				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().
       
    25 //!   				API Calls:	
       
    26 //!   				RApaLsSession::GetAllApps() const
       
    27 //!				RApaLsSession::GetNextApp(TApaAppInfo& aInfo) const
       
    28 //! @SYMTestExpectedResults 	The test compares the results obtained with expected values.
       
    29 
       
    30 START_TESTCASE API-APPFWK-T-RApaLsSessionTestStep-TestAppInfo1-0001
       
    31 
       
    32 PRINT Run all Apparc tests 
       
    33 //
       
    34 // Testexecute not yet startup state aware (DEF059510). Until then, delay required to ensure emulator boot has finished
       
    35 DELAY 5000
       
    36 //
       
    37 LOAD_SUITE ApparcTestServer
       
    38 RUN_TEST_STEP 100 ApparcTestServer T_RApaLsSession
       
    39 
       
    40 END_TESTCASE API-APPFWK-T-RApaLsSessionTestStep-TestAppInfo1-0001