sysstatemgmt/systemstarter/test/tapstart/scripts/sysstarttest_apstart.script
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 PRINT Run ApStart tests
       
    17 LOAD_SUITE tapstart_server
       
    18 
       
    19 
       
    20 START_TESTCASE 			DEVSRVS-SYSSTART-APSTART-0001
       
    21 //! @SYMTestCaseID 		DEVSRVS-SYSSTART-APSTART-0001
       
    22 //! @SYMPREQ			PREQ1089
       
    23 //! @SYMTestType		UT
       
    24 //! @SYMTestPriority		Critical
       
    25 //! @SYMTestStatus		Implemented
       
    26 //! @SYMTestCaseDesc		Check if an application can be loaded with the StartApp method which do not take a TRequestStatus.
       
    27 //! 				Check if an application can be loaded with the apstart API call that 
       
    28 //!				Check for successful initialization of AppArc's CApaAppList.
       
    29 //! 					takes a TRequestStatus parameter.
       
    30 //! @SYMTestActions		TestStartAndForgetL() Load apstart.dll dynamically and create an object for CAppStart. 
       
    31 //!  					Use the CApStarter::StartL() function which do not take a TRequestStatus 
       
    32 //!  					to load TestApp. Verify that the application has been loaded.
       
    33 //! 				TestStartAndFollowUpL() Load apstart.dll dynamically and create an object for CApStart. 
       
    34 //!   					Use CApStart::StartL(...TRequestStatus) function to load TestApp. 
       
    35 //!   					Call User::WaitForRequest to check the loading of the application.
       
    36 //!				TestInitApparcL() Load apstart.dll dynamically and create an object for CApStart. 
       
    37 //!					Call CApStart::WaitForApparcToInitializeL() and make sure it doesn't leave.
       
    38 //! @SYMTestExpectedResults 	Application should be started with no errors.
       
    39 //! 				Application should be loaded with no errors.
       
    40 //!				The function should not leave.
       
    41 RUN_TEST_STEP 100 tapstart_server CApStartTestStep
       
    42 END_TESTCASE 			DEVSRVS-SYSSTART-APSTART-0001
       
    43 
       
    44