diff -r ccb4f6b3db21 -r 8cb079868133 sysstatemgmt/systemstateplugins/test/tunitadptplugin/src/tstate_adaptationplugin_step.cpp --- a/sysstatemgmt/systemstateplugins/test/tunitadptplugin/src/tstate_adaptationplugin_step.cpp Tue Aug 31 16:29:05 2010 +0300 +++ b/sysstatemgmt/systemstateplugins/test/tunitadptplugin/src/tstate_adaptationplugin_step.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,13 +22,9 @@ #include -#include #include #include "tstate_adaptationplugin_step.h" -const TUint32 KStateAdaptationPluginPropertyKey = 0x2000D76A; -const TUid KPropertyCategory={0x2000D75B}; - typedef MStateAdaptation* (*TFuncNewL)(); CTestStateAdaptationPlugin::CTestStateAdaptationPlugin() @@ -185,10 +181,7 @@ //from CAdaptationTestBase TVerdict CTestStateAdaptationPlugin::doTestStepL() { - TInt err = RProperty::Define(KPropertyCategory, KStateAdaptationPluginPropertyKey, RProperty::EInt); - TEST((KErrNone == err) || (KErrAlreadyExists == err)); - err = RProperty::Set(KPropertyCategory, KStateAdaptationPluginPropertyKey, 1); - TEST(KErrNone == err); + TInt err = KErrNone; __UHEAP_MARK; TRAP(err, TestRequestCoopSysStateChangeL()); @@ -263,8 +256,6 @@ TestNotifyCancel(); TEST(err == KErrNone); - - err = RProperty::Delete(KPropertyCategory, KStateAdaptationPluginPropertyKey); - TEST(KErrNone == err); + return TestStepResult(); }