sysstatemgmt/systemstateplugins/test/tintgsapolicy/src/tgsa_i_server.cpp
branchRCL_3
changeset 22 8cb079868133
parent 21 ccb4f6b3db21
--- a/sysstatemgmt/systemstateplugins/test/tintgsapolicy/src/tgsa_i_server.cpp	Tue Aug 31 16:29:05 2010 +0300
+++ b/sysstatemgmt/systemstateplugins/test/tintgsapolicy/src/tgsa_i_server.cpp	Wed Sep 01 12:34:26 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2007-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"
@@ -90,7 +90,15 @@
 	//Following tests can be run only on techview emulator as it requires restarting of the emulator
 //#ifdef __WINS__
 	CTestStep* testStep = NULL;
-	if (aStepName == KTGsaStateTranFromNormalStep)
+	if (aStepName == KTGsaStateTranToShutdownStep)
+		{
+		testStep = new CGsaStateTranToDiffStatesTest(KTestProcTranToShutdown);
+		}
+	else if (aStepName == KTGsaStateTranFromShutdownStep)
+		{
+		testStep = new CGsaStateTranToDiffStatesTest(KTestProcTranFromShutdown);
+		}
+	else if (aStepName == KTGsaStateTranFromNormalStep)
 		{
 		testStep = new CGsaStateTranToDiffStatesTest(KTestProcTranFromNormal);
 		}
@@ -98,6 +106,10 @@
 		{
 		testStep = new CGsaStateTranToDiffStatesTest(KTestProcTranFromStartup);
 		}
+	else if (aStepName == KTGsaStateTranFromStartuptoShutdownStep)
+		{
+		testStep = new CGsaStateTranToDiffStatesTest(KTGsaStateTranFromStartuptoShutdownStep);
+		}
 	else if (aStepName == KTGsaDuplicateSubstateStep)
 		{
 		testStep = new CGsaDuplicateSubstateTest();