equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-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". |
40 #include "action_v1.hrh" |
40 #include "action_v1.hrh" |
41 #include "action_v2.hrh" |
41 #include "action_v2.hrh" |
42 #include "actiondef_v1.h" |
42 #include "actiondef_v1.h" |
43 #include "actiondef_v2.h" |
43 #include "actiondef_v2.h" |
44 #include "operation_v1.hrh" |
44 #include "operation_v1.hrh" |
45 #include "cfenvutils.h" |
|
46 |
45 |
47 // CONSTANTS |
46 // CONSTANTS |
48 const TInt KSecond = 1000000; |
47 const TInt KSecond = 1000000; |
49 |
48 |
50 // CONSTRUCTION |
49 // CONSTRUCTION |
67 } |
66 } |
68 |
67 |
69 // Destructor (virtual by CBase) |
68 // Destructor (virtual by CBase) |
70 MT_CFSisUpgrade::~MT_CFSisUpgrade() |
69 MT_CFSisUpgrade::~MT_CFSisUpgrade() |
71 { |
70 { |
72 // Disable screen saver |
|
73 CFEnvUtils::EnableScreenSaver( ETrue ); |
|
74 } |
71 } |
75 |
72 |
76 // Default constructor |
73 // Default constructor |
77 MT_CFSisUpgrade::MT_CFSisUpgrade() |
74 MT_CFSisUpgrade::MT_CFSisUpgrade() |
78 { |
75 { |
82 void MT_CFSisUpgrade::ConstructL() |
79 void MT_CFSisUpgrade::ConstructL() |
83 { |
80 { |
84 // The ConstructL from the base class CEUnitTestSuiteClass must be called. |
81 // The ConstructL from the base class CEUnitTestSuiteClass must be called. |
85 // It generates the test case table. |
82 // It generates the test case table. |
86 CEUnitTestSuiteClass::ConstructL(); |
83 CEUnitTestSuiteClass::ConstructL(); |
87 |
|
88 // Disable screen saver |
|
89 CFEnvUtils::EnableScreenSaver( EFalse ); |
|
90 } |
84 } |
91 |
85 |
92 // METHODS |
86 // METHODS |
93 |
87 |
94 void MT_CFSisUpgrade::ContextIndicationL( |
88 void MT_CFSisUpgrade::ContextIndicationL( |