sysstatemgmt/systemstateplugins/test/tintgsapolicy/scripts/sspluginstest_statetrantoshutdown.script
branchRCL_3
changeset 22 8cb079868133
parent 0 4e1aa6a622a0
equal deleted inserted replaced
21:ccb4f6b3db21 22:8cb079868133
       
     1 // Copyright (c) 2008-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 GsaStateTranToShutdownStep tests
       
    17 
       
    18 LOAD_SUITE tgsa_i_server
       
    19 
       
    20 START_TESTCASE 				DEVSRVS-SSPLUGINS-GSA-0035
       
    21 //! @SYMTestCaseID			DEVSRVS-SSPLUGINS-GSA-0035
       
    22 //! @SYMDEF				DEF119568
       
    23 //! @SYMTestCaseDesc			Checks for state transitions to fail and shutdown states from normal state 
       
    24 //! 					under different scenarios.
       
    25 //! @SYMTestType			CIT	
       
    26 //! @SYMTestPriority			Critical
       
    27 //! @SYMTestActions			Test checks the results for request state transition under different scenarios:
       
    28 //! 					1. Normal state to Shutdown state.
       
    29 //! 					Scenario 1 - Request for state transition to shutdown state - invalid substate
       
    30 //! 					Scenario 2 - Request for state transition to shutdown state - critical substate(Restart)
       
    31 //! 					Scenario 3 - Request for state transition to shutdown state - critical substate(Standby)
       
    32 //! @SYMTestExpectedResults		1. Normal state to Shutdown state.
       
    33 //! 					Scenario 1 - Request to transit to the shutdown state will be completed with KErrNotSupported
       
    34 //! 					Scenario 2 - First request will be completed with KErrNone
       
    35 //! 					Second request will be completed with KErrNotSupported
       
    36 RUN_TEST_STEP 100 tgsa_i_server GsaStateTranToShutdownStep
       
    37 END_TESTCASE 				DEVSRVS-SSPLUGINS-GSA-0035