diff -r 924385140d98 -r c2c61fdca848 contextframework/cfw/tsrc/public/basic/UT_CCFEngine/UT_CCFEngine.cpp --- a/contextframework/cfw/tsrc/public/basic/UT_CCFEngine/UT_CCFEngine.cpp Tue Aug 31 15:24:25 2010 +0300 +++ b/contextframework/cfw/tsrc/public/basic/UT_CCFEngine/UT_CCFEngine.cpp Wed Sep 01 12:24:48 2010 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2007 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" @@ -30,6 +30,7 @@ #include "CFContextInterface.h" #include "CFContextSubscription.h" #include "CFContextIndication.h" +#include "cfenvutils.h" // CONSTANTS const TInt KSecond = 1000000; @@ -56,6 +57,8 @@ // Destructor (virtual by CBase) UT_CCFEngine::~UT_CCFEngine() { + // Enable screen saver + CFEnvUtils::EnableScreenSaver( ETrue ); } // Default constructor @@ -69,6 +72,9 @@ // The ConstructL from the base class CEUnitTestSuiteClass must be called. // It generates the test case table. CEUnitTestSuiteClass::ConstructL(); + + // Disable screen saver + CFEnvUtils::EnableScreenSaver( EFalse ); }