21 @file |
21 @file |
22 */ |
22 */ |
23 |
23 |
24 #include "Te_centrep_BURSuiteServer.h" |
24 #include "Te_centrep_BURSuiteServer.h" |
25 #include "compareStep.h" |
25 #include "compareStep.h" |
26 #include "initailiseStep.h" |
26 #include "initialiseStep.h" |
27 #include "modifyStep.h" |
27 #include "modifyStep.h" |
28 #include "compareDefStep.h" |
28 #include "compareDefStep.h" |
29 #include "initialiseDefStep.h" |
29 #include "initialiseDefStep.h" |
|
30 #include "comparePMAStep.h" |
|
31 #include "initialisePMAStep.h" |
|
32 #include "modifyPMAStep.h" |
30 |
33 |
31 _LIT(KServerName,"Te_centrep_BURSuite"); |
34 _LIT(KServerName,"Te_centrep_BURSuite"); |
32 CTe_centrep_BURSuite* CTe_centrep_BURSuite::NewL() |
35 CTe_centrep_BURSuite* CTe_centrep_BURSuite::NewL() |
33 /** |
36 /** |
34 * @return - Instance of the test server |
37 * @return - Instance of the test server |
109 */ |
112 */ |
110 { |
113 { |
111 CTestStep* testStep = NULL; |
114 CTestStep* testStep = NULL; |
112 // They are created "just in time" when the worker thread is created |
115 // They are created "just in time" when the worker thread is created |
113 // More test steps can be added below |
116 // More test steps can be added below |
114 if(aStepName == KcompareStep) |
117 if(aStepName == KcompareStep) |
115 testStep = new CcompareStep(); |
118 testStep = new CcompareStep(); |
116 else if(aStepName == KinitailiseStep) |
119 else if(aStepName == KinitialiseStep) |
117 testStep = new CinitailiseStep(); |
120 testStep = new CinitialiseStep(); |
118 else if(aStepName == KmodifyStep) |
121 else if(aStepName == KmodifyStep) |
119 testStep = new CmodifyStep(); |
122 testStep = new CmodifyStep(); |
120 else if(aStepName == KinitialiseDefStep) |
123 else if(aStepName == KinitialiseDefStep) |
121 testStep = new CinitialiseDefStep(); |
124 testStep = new CinitialiseDefStep(); |
122 else if(aStepName == KcompareDefStep) |
125 else if(aStepName == KcompareDefStep) |
123 testStep = new CcompareDefStep(); |
126 testStep = new CcompareDefStep(); |
124 |
127 else if(aStepName == KcomparePMAStep) |
|
128 testStep = new CcomparePMAStep(); |
|
129 else if(aStepName == KinitialisePMAStep) |
|
130 testStep = new CinitialisePMAStep(); |
|
131 else if(aStepName == KmodifyPMAStep) |
|
132 testStep = new CmodifyPMAStep(); |
125 return testStep; |
133 return testStep; |
126 } |
134 } |