sysstatemgmt/systemstateplugins/test/tunitadptplugin/src/tstate_adaptationplugin_step.cpp
branchRCL_3
changeset 22 8cb079868133
parent 21 ccb4f6b3db21
--- 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 <s32mem.h>
-#include <e32property.h>
 #include <ssm/ssmadaptation.h>
 #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();
 	}