diff -r ccb4f6b3db21 -r 8cb079868133 sysstatemgmt/systemstatereferenceplugins/test/tunitcustcmd/src/tcmd_step_coopsysstatechange.cpp --- a/sysstatemgmt/systemstatereferenceplugins/test/tunitcustcmd/src/tcmd_step_coopsysstatechange.cpp Tue Aug 31 16:29:05 2010 +0300 +++ b/sysstatemgmt/systemstatereferenceplugins/test/tunitcustcmd/src/tcmd_step_coopsysstatechange.cpp Wed Sep 01 12:34:26 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2007-2009 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" @@ -22,10 +22,7 @@ #include "tcmd_step_coopsysstatechange.h" #include "ssmcustomcmdfactory.h" #include -#include #include "cmdcoopsysstatechange.h" -const TUint32 KStateAdaptationPluginPropertyKey = 0x2000D76A; -const TUid KPropertyCategory={0x2000D75B}; CCustomCmdTestCoopSysStateChange::~CCustomCmdTestCoopSysStateChange() { @@ -43,12 +40,6 @@ void CCustomCmdTestCoopSysStateChange::TestCustomCmdCoopSysStateChangeL() { - // Setting the P and S key will route the request to the reference plugins instead of the actual plugins - TInt err = RProperty::Define(KPropertyCategory, KStateAdaptationPluginPropertyKey, RProperty::EInt); - TEST(KErrNone == err || KErrAlreadyExists == err); - err = RProperty::Set(KPropertyCategory, KStateAdaptationPluginPropertyKey, 1); - TEST(KErrNone == err); - _LIT(KTESTLOG, "TestCustomCmdCoopSysStateChangeL"); INFO_PRINTF1(KTESTLOG); @@ -88,8 +79,6 @@ //Releasing the comand will delete itself. customCmdCoopSysStateChange->Release(); - err = RProperty::Delete(KPropertyCategory, KStateAdaptationPluginPropertyKey); - TEST(KErrNone == err); } TVerdict CCustomCmdTestCoopSysStateChange::doTestStepL()