diff -r 1ddbe54d0645 -r ccb4f6b3db21 systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_server.cpp --- a/systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_server.cpp Thu Aug 19 11:09:10 2010 +0300 +++ b/systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_server.cpp Tue Aug 31 16:29:05 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);