systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_server.cpp
changeset 52 d6b9e89d80a3
parent 0 4e1aa6a622a0
child 61 8cb079868133
--- a/systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_server.cpp	Fri Jul 30 10:34:49 2010 +0300
+++ b/systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_server.cpp	Tue Aug 10 14:46:45 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2007-2010 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"
@@ -41,6 +41,7 @@
 #include "tsysmon_steploadsysmon.h"
 #include "tsysmon_stepoomsysmon.h"
 #include "tsysmon_stepcancelallmonitors.h"
+#include "tsysmon_steposrestarttest.h"
 
 CSysMonTestServer* CSysMonTestServer::NewLC()
 	{
@@ -169,6 +170,14 @@
         {
         testStep = new CStepCancelAllMonitors();
         }
+    else if(aStepName == KCTestCaseCriticalNoRetriesStep)
+        {
+        testStep = new CStepOSRestart(KCTestCaseCriticalNoRetries);
+        }
+    else if(aStepName == KCTestCaseRestartOSStep)
+        {
+        testStep = new CStepOSRestart(KCTestCaseRestartOS);
+        }
 	else 
 		{
 		RDebug::Printf("Unknown sysmon teststep %S", &aStepName);