contextframework/cfw/tsrc/public/basic/UT_CFOperationPluginManager/UT_CFOperationPluginManager.cpp
branchRCL_3
changeset 19 924385140d98
parent 0 2e3d3ce01487
child 20 c2c61fdca848
equal deleted inserted replaced
18:0818dd463d41 19:924385140d98
     1 /*
     1 /*
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    24 #include <EUnitDecorators.h>
    24 #include <EUnitDecorators.h>
    25 
    25 
    26 
    26 
    27 //  INTERNAL INCLUDES
    27 //  INTERNAL INCLUDES
    28 #include "cfoperationpluginmanager.h"
    28 #include "cfoperationpluginmanager.h"
    29 #include "cfenvutils.h"
       
    30 
    29 
    31 // CONSTRUCTION
    30 // CONSTRUCTION
    32 UT_CFOperationPluginManager* UT_CFOperationPluginManager::NewL()
    31 UT_CFOperationPluginManager* UT_CFOperationPluginManager::NewL()
    33     {
    32     {
    34     UT_CFOperationPluginManager* self = UT_CFOperationPluginManager::NewLC();
    33     UT_CFOperationPluginManager* self = UT_CFOperationPluginManager::NewLC();
    48     }
    47     }
    49 
    48 
    50 // Destructor (virtual by CBase)
    49 // Destructor (virtual by CBase)
    51 UT_CFOperationPluginManager::~UT_CFOperationPluginManager()
    50 UT_CFOperationPluginManager::~UT_CFOperationPluginManager()
    52     {
    51     {
    53     // Enable screen saver
       
    54     CFEnvUtils::EnableScreenSaver( ETrue );
       
    55     }
    52     }
    56 
    53 
    57 // Default constructor
    54 // Default constructor
    58 UT_CFOperationPluginManager::UT_CFOperationPluginManager()
    55 UT_CFOperationPluginManager::UT_CFOperationPluginManager()
    59     {
    56     {
    63 void UT_CFOperationPluginManager::ConstructL()
    60 void UT_CFOperationPluginManager::ConstructL()
    64     {
    61     {
    65     // The ConstructL from the base class CEUnitTestSuiteClass must be called.
    62     // The ConstructL from the base class CEUnitTestSuiteClass must be called.
    66     // It generates the test case table.
    63     // It generates the test case table.
    67     CEUnitTestSuiteClass::ConstructL();
    64     CEUnitTestSuiteClass::ConstructL();
    68     
       
    69     // Disable screen saver
       
    70     CFEnvUtils::EnableScreenSaver( EFalse );
       
    71     }
    65     }
    72 
    66 
    73 //  METHODS
    67 //  METHODS
    74 
    68 
    75 
    69