contextframework/cfw/tsrc/public/basic/UT_CFOperationPluginManager/UT_CFOperationPluginManager.cpp
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006 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" |
29 |
30 |
30 // CONSTRUCTION |
31 // CONSTRUCTION |
31 UT_CFOperationPluginManager* UT_CFOperationPluginManager::NewL() |
32 UT_CFOperationPluginManager* UT_CFOperationPluginManager::NewL() |
32 { |
33 { |
33 UT_CFOperationPluginManager* self = UT_CFOperationPluginManager::NewLC(); |
34 UT_CFOperationPluginManager* self = UT_CFOperationPluginManager::NewLC(); |
47 } |
48 } |
48 |
49 |
49 // Destructor (virtual by CBase) |
50 // Destructor (virtual by CBase) |
50 UT_CFOperationPluginManager::~UT_CFOperationPluginManager() |
51 UT_CFOperationPluginManager::~UT_CFOperationPluginManager() |
51 { |
52 { |
|
53 // Enable screen saver |
|
54 CFEnvUtils::EnableScreenSaver( ETrue ); |
52 } |
55 } |
53 |
56 |
54 // Default constructor |
57 // Default constructor |
55 UT_CFOperationPluginManager::UT_CFOperationPluginManager() |
58 UT_CFOperationPluginManager::UT_CFOperationPluginManager() |
56 { |
59 { |
60 void UT_CFOperationPluginManager::ConstructL() |
63 void UT_CFOperationPluginManager::ConstructL() |
61 { |
64 { |
62 // The ConstructL from the base class CEUnitTestSuiteClass must be called. |
65 // The ConstructL from the base class CEUnitTestSuiteClass must be called. |
63 // It generates the test case table. |
66 // It generates the test case table. |
64 CEUnitTestSuiteClass::ConstructL(); |
67 CEUnitTestSuiteClass::ConstructL(); |
|
68 |
|
69 // Disable screen saver |
|
70 CFEnvUtils::EnableScreenSaver( EFalse ); |
65 } |
71 } |
66 |
72 |
67 // METHODS |
73 // METHODS |
68 |
74 |
69 |
75 |