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