appfw/apparchitecture/tef/scripts/apparctest_T_RApaLsSession.script
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 15:24:25 +0300
branchRCL_3
changeset 19 924385140d98
parent 0 2e3d3ce01487
child 20 c2c61fdca848
permissions -rw-r--r--
Revision: 201033 Kit: 201035

//
// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//
//! @file
//! @SYMTestCaseID 		API-APPFWK-T-RApaLsSessionTestStep-TestAppInfo1-0001
//! @SYMDEF			DEF59510
//! @SYMTestCaseDesc 		Test RApaLsSession::GetNextApp() 
//! @SYMTestPriority 		High 
//! @SYMTestStatus 		3. Released
//! @SYMTestActions 		Call RApaLsSession::GetAllApps() to initialize the process of getting all applications in the cached list. Traverse the application list
//!				by calling RApaLsSession::GetNextApp() to search for application tstapp. Test the application info obtained from GetNextApp() to ensure the application
//!   				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().
//!   				API Calls:	
//!   				RApaLsSession::GetAllApps() const
//!				RApaLsSession::GetNextApp(TApaAppInfo& aInfo) const
//! @SYMTestExpectedResults 	The test compares the results obtained with expected values.

START_TESTCASE API-APPFWK-T-RApaLsSessionTestStep-TestAppInfo1-0001

PRINT Run all Apparc tests 
//
// Testexecute not yet startup state aware (DEF059510). Until then, delay required to ensure emulator boot has finished
DELAY 5000
//
LOAD_SUITE ApparcTestServer
RUN_TEST_STEP 500 ApparcTestServer T_RApaLsSession

END_TESTCASE API-APPFWK-T-RApaLsSessionTestStep-TestAppInfo1-0001