sysstatemgmt/systemstateplugins/test/tintgsapolicy/scripts/sspluginstest_statetranfromstartup.script
// Copyright (c) 2008-2009 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:
//
PRINT Run GsaStateTranFromStartupStep tests
LOAD_SUITE tgsa_i_server
START_TESTCASE DEVSRVS-SSPLUGINS-GSA-0034
//! @SYMTestCaseID DEVSRVS-SSPLUGINS-GSA-0034
//! @SYMDEF DEF119568
//! @SYMTestCaseDesc Checks for state transitions to fail and shutdown states from normal state
//! under different scenarios.
//! @SYMTestType CIT
//! @SYMTestPriority Critical
//! @SYMTestActions Test checks the results for request state transition under different scenarios:
//! 1. Startup state to Fail state.
//! Scenario 1 - Request for state change from Startup to invalid state
//! Scenario 2 - Request for state change from Startup to fail state with invalid substate
//! Scenario 3 - Request for state change from Startup to shutdown critical substate
//! Scenario 4 - Request for two state changes to fail state one after the other
//! @SYMTestExpectedResults 1. Startup state to Fail state.
//! Scenario 1 - Request will completed with KErrNotSupported
//! Scenario 2 - Request will completed with KErrNotSupported
//! Scenario 3 - Request will completed with KErrNotSupported
//! Scenario 4 - First request will be completed with KErrCancel
//! Second request will be completed with KErrNone.
RUN_TEST_STEP 100 tgsa_i_server GsaStateTranFromStartupStep
END_TESTCASE DEVSRVS-SSPLUGINS-GSA-0034