diff -r 000000000000 -r 4e1aa6a622a0 sysstatemgmt/systemstateplugins/test/tintgsapolicy/scripts/sspluginstest_statetranfromstartup.script --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysstatemgmt/systemstateplugins/test/tintgsapolicy/scripts/sspluginstest_statetranfromstartup.script Tue Feb 02 00:53:00 2010 +0200 @@ -0,0 +1,40 @@ +// 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