sysstatemgmt/systemstatereferenceplugins/test/tunitcustcmd/scripts/ssrefpluginstest_custcmd_publishstartupmode.script
changeset 0 4e1aa6a622a0
child 3 a811597961f0
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 CCustomCmdTestPublishStartupMode tests
       
    17 
       
    18 LOAD_SUITE tunitcustcmd_server
       
    19 
       
    20 START_TESTCASE 			DEVSRVS-SSREFPLUGINS-CUSTCMD-0022
       
    21 //! @SYMTestCaseID 		DEVSRVS-SSREFPLUGINS-CUSTCMD-0022
       
    22 //! @SYMPREQ 			PREQ1871
       
    23 //! @SYMTestType		UT
       
    24 //! @SYMTestPriority		High
       
    25 //! @SYMTestStatus 		Implemented
       
    26 //! @SYMTestCaseDesc		Tests the behaviour of CCustomCmdPublishStartupMode.
       
    27 //! 				Tests the cancel behaviour of CCustomCmdPublishStartupMode.
       
    28 //! @SYMTestActions		doTestCreateExecuteAndDestroyL() The test performs operations on a CCustomCmdPublishStartupMode object, namely calling the following methods:
       
    29 //! 					1.	NewL - Creating the object
       
    30 //! 					2.	Initialize - Initialising the custom cmd
       
    31 //! 					3.	Execute - Executing the custom cmd
       
    32 //! 					4.  	Close - Closes the custom command
       
    33 //! 				doTestFactoryCreateAndExecuteCancelL() The test performs operations on a CCustomCmdPublishStartupMode object, namely calling the following methods:
       
    34 //! 					1.	SsmCustomCmdFactory::CmdPublishStartupModeNewL - Creating the object
       
    35 //! 					2.	Initialize - Initialising the custom cmd
       
    36 //! 					3.	Execute - Executing the custom cmd
       
    37 //! 					4.  	ExecuteCancel - Cancels the custom command
       
    38 //! 					5.  	Close - Closes the custom command
       
    39 //! @SYMTestExpectedResults 	Command should execute normally and should complete with KErrNone.
       
    40 RUN_TEST_STEP 100 tunitcustcmd_server CCustomCmdTestPublishStartupMode
       
    41 END_TESTCASE 			DEVSRVS-SSREFPLUGINS-CUSTCMD-0022
       
    42