diff -r 072a9626b290 -r 09d657f1ee00 systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_step_result_check.cpp --- a/systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_step_result_check.cpp Wed Aug 18 11:03:14 2010 +0300 +++ b/systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_step_result_check.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" @@ -36,9 +36,11 @@ TInt expectedResult = 0; TInt expectedRegisterCount = 0; TInt expectedRestartCount = 0; + TInt processArguments = 0; if (!GetIntFromConfig(ConfigSection(), KTSysMonServerExpectedResult, expectedResult) || !GetIntFromConfig(ConfigSection(), KTSysMonServerExpectedRegisterCount, expectedRegisterCount) || - !GetIntFromConfig(ConfigSection(), KTSysMonServerExpectedRestartCount, expectedRestartCount)) + !GetIntFromConfig(ConfigSection(), KTSysMonServerExpectedRestartCount, expectedRestartCount) || + !GetIntFromConfig(ConfigSection(), KTSysMonServerProcessArguments, processArguments)) { ERR_PRINTF1(_L("Error reading ini file data")); User::Leave(KErrNotFound); @@ -48,7 +50,7 @@ TInt actualRegisterCount = 0; TInt actualRestartCount = 0; CSysMonTestHelper::GetResultIntL(ConfigSection(), actualResult); - actualRegisterCount = CSysMonTestHelper::GetRegisterCountL(); + actualRegisterCount = CSysMonTestHelper::GetRegisterCount(processArguments); actualRestartCount = CSysMonTestHelper::GetRestartCountL(); INFO_PRINTF2(_L("Actual result: %d"), actualResult);