--- a/systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_server.cpp Wed Aug 18 11:03:14 2010 +0300
+++ b/systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_server.cpp Thu Sep 02 21:48:26 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);