equal
deleted
inserted
replaced
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
14 // |
14 // |
15 |
15 |
16 #include <e32test.h> //RTest |
16 #include <e32test.h> //RTest |
17 #include <e32svr.h> //RDebug |
17 #include <e32svr.h> //RDebug |
18 #include <savenotf.h> //RSaveSession, MSaveObserver, CSaveNotifier |
18 #include <savenotf.h> //RSaveSession, MSaveObserver, CSaveNotifier |
|
19 #include <e32consf.h> //for logging to file |
19 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
20 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
20 #include <shutdownsrv.h> //CServShutdownServer |
21 #include <shutdownsrv.h> //CServShutdownServer |
21 #else //SYMBIAN_ENABLE_SPLIT_HEADERS |
22 #else //SYMBIAN_ENABLE_SPLIT_HEADERS |
22 #include "shutdownsess.h" //CServShutdownServer |
23 #include "shutdownsess.h" //CServShutdownServer |
23 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS |
24 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS |
292 ::TestShutDownSrvObserverFunctions(); |
293 ::TestShutDownSrvObserverFunctions(); |
293 } |
294 } |
294 |
295 |
295 TInt E32Main() |
296 TInt E32Main() |
296 { |
297 { |
|
298 LogRTestToFile(TheTest); |
|
299 TheTest.Title(); |
297 CTrapCleanup* tc = CTrapCleanup::New(); |
300 CTrapCleanup* tc = CTrapCleanup::New(); |
298 TEST(tc != NULL); |
301 TEST(tc != NULL); |
299 |
302 |
300 TheTest.Start(_L("Power shutdown tests")); |
303 TheTest.Start(_L("Power shutdown tests")); |
301 |
304 |