--- a/resourcemgmt/powerandmemorynotificationservice/tsrc/t_pwrbasic.cpp Thu Aug 19 11:09:10 2010 +0300
+++ b/resourcemgmt/powerandmemorynotificationservice/tsrc/t_pwrbasic.cpp Tue Aug 31 16:29:05 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -19,6 +19,7 @@
#include <e32test.h> //RTest
#include <e32svr.h> //RDebug
#include <savenotf.h> //RSaveSession, MSaveObserver, CSaveNotifier
+#include <e32consf.h> //for logging to file
static RTest TheTest(_L("T_PwrBasic"));
const TInt KOneSec = 1000000;
@@ -447,6 +448,8 @@
TInt E32Main()
{
+ LogRTestToFile(TheTest);
+ TheTest.Title();
__UHEAP_MARK;
CTrapCleanup* tc = CTrapCleanup::New();
TEST(tc != NULL);