equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007 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". |
34 #include "CFTestDelay.h" |
34 #include "CFTestDelay.h" |
35 #include "cffakeenv.h" |
35 #include "cffakeenv.h" |
36 #include "ScriptEventNotifierSession.h" |
36 #include "ScriptEventNotifierSession.h" |
37 #include "basicoperationspluginconst.hrh" |
37 #include "basicoperationspluginconst.hrh" |
38 #include "cfcommon.h" |
38 #include "cfcommon.h" |
|
39 #include "cfenvutils.h" |
39 |
40 |
40 // CONSTANTS |
41 // CONSTANTS |
41 |
42 |
42 const TUid KMT_CfScriptEngineUid = {0x7E577E57}; |
43 const TUid KMT_CfScriptEngineUid = {0x7E577E57}; |
43 const TUid KMT_CfScriptEngineOtherUid = {0x074E074E}; |
44 const TUid KMT_CfScriptEngineOtherUid = {0x074E074E}; |
65 } |
66 } |
66 |
67 |
67 // Destructor (virtual by CBase) |
68 // Destructor (virtual by CBase) |
68 MT_CFScriptEngine::~MT_CFScriptEngine() |
69 MT_CFScriptEngine::~MT_CFScriptEngine() |
69 { |
70 { |
|
71 // Enable screen saver |
|
72 CFEnvUtils::EnableScreenSaver( ETrue ); |
70 } |
73 } |
71 |
74 |
72 // Default constructor |
75 // Default constructor |
73 MT_CFScriptEngine::MT_CFScriptEngine() |
76 MT_CFScriptEngine::MT_CFScriptEngine() |
74 { |
77 { |
78 void MT_CFScriptEngine::ConstructL() |
81 void MT_CFScriptEngine::ConstructL() |
79 { |
82 { |
80 // The ConstructL from the base class CEUnitTestSuiteClass must be called. |
83 // The ConstructL from the base class CEUnitTestSuiteClass must be called. |
81 // It generates the test case table. |
84 // It generates the test case table. |
82 CEUnitTestSuiteClass::ConstructL(); |
85 CEUnitTestSuiteClass::ConstructL(); |
|
86 |
|
87 // Disable screen saver |
|
88 CFEnvUtils::EnableScreenSaver( EFalse ); |
83 } |
89 } |
84 |
90 |
85 |
91 |
86 // METHODS |
92 // METHODS |
87 |
93 |