contextframework/cfw/tsrc/public/basic/UT_CFActivatorEngine/UT_CFActivatorEngine.cpp
changeset 28 b0b858956ed5
parent 0 2e3d3ce01487
child 63 c2c61fdca848
--- a/contextframework/cfw/tsrc/public/basic/UT_CFActivatorEngine/UT_CFActivatorEngine.cpp	Fri Apr 16 15:08:06 2010 +0300
+++ b/contextframework/cfw/tsrc/public/basic/UT_CFActivatorEngine/UT_CFActivatorEngine.cpp	Mon May 03 12:40:23 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2006-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"
@@ -35,7 +35,6 @@
 #include "cfactionindicationimpl.h"
 #include "cfactionsubscriptionimpl.h"
 #include "cfscriptevent.h"
-#include "cfenvutils.h"
 #include "TestActionPluginConst.hrh"
 #include "cfactionpluginthread.h"
 
@@ -97,9 +96,6 @@
 UT_CFActivatorEngine::~UT_CFActivatorEngine()
     {
     Teardown();
-
-    // Enable screen saver again
-    CFEnvUtils::EnableScreenSaver( ETrue );
     }
 
 // Default constructor
@@ -112,10 +108,7 @@
     {
     // The ConstructL from the base class CEUnitTestSuiteClass must be called.
     // It generates the test case table.
-    CEUnitTestSuiteClass::ConstructL();    
-
-    // Disable screen saver since it is causing false memory leaks
-    CFEnvUtils::EnableScreenSaver( EFalse );
+    CEUnitTestSuiteClass::ConstructL();
     }
 
 // METHODS