equal
deleted
inserted
replaced
1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
88 CTestStep* CGsaIntTestServer::CreateTestStep(const TDesC& aStepName ) |
88 CTestStep* CGsaIntTestServer::CreateTestStep(const TDesC& aStepName ) |
89 { |
89 { |
90 //Following tests can be run only on techview emulator as it requires restarting of the emulator |
90 //Following tests can be run only on techview emulator as it requires restarting of the emulator |
91 //#ifdef __WINS__ |
91 //#ifdef __WINS__ |
92 CTestStep* testStep = NULL; |
92 CTestStep* testStep = NULL; |
93 if (aStepName == KTGsaStateTranFromNormalStep) |
93 if (aStepName == KTGsaStateTranToShutdownStep) |
|
94 { |
|
95 testStep = new CGsaStateTranToDiffStatesTest(KTestProcTranToShutdown); |
|
96 } |
|
97 else if (aStepName == KTGsaStateTranFromShutdownStep) |
|
98 { |
|
99 testStep = new CGsaStateTranToDiffStatesTest(KTestProcTranFromShutdown); |
|
100 } |
|
101 else if (aStepName == KTGsaStateTranFromNormalStep) |
94 { |
102 { |
95 testStep = new CGsaStateTranToDiffStatesTest(KTestProcTranFromNormal); |
103 testStep = new CGsaStateTranToDiffStatesTest(KTestProcTranFromNormal); |
96 } |
104 } |
97 else if (aStepName == KTGsaStateTranFromStartupStep) |
105 else if (aStepName == KTGsaStateTranFromStartupStep) |
98 { |
106 { |
99 testStep = new CGsaStateTranToDiffStatesTest(KTestProcTranFromStartup); |
107 testStep = new CGsaStateTranToDiffStatesTest(KTestProcTranFromStartup); |
|
108 } |
|
109 else if (aStepName == KTGsaStateTranFromStartuptoShutdownStep) |
|
110 { |
|
111 testStep = new CGsaStateTranToDiffStatesTest(KTGsaStateTranFromStartuptoShutdownStep); |
100 } |
112 } |
101 else if (aStepName == KTGsaDuplicateSubstateStep) |
113 else if (aStepName == KTGsaDuplicateSubstateStep) |
102 { |
114 { |
103 testStep = new CGsaDuplicateSubstateTest(); |
115 testStep = new CGsaDuplicateSubstateTest(); |
104 } |
116 } |