diff -r fa9941cf3867 -r 667e88a979d7 loggingservices/eventlogger/test/src/t_logenvdestroy.cpp --- a/loggingservices/eventlogger/test/src/t_logenvdestroy.cpp Fri Mar 12 15:51:02 2010 +0200 +++ b/loggingservices/eventlogger/test/src/t_logenvdestroy.cpp Mon Mar 15 12:46:30 2010 +0200 @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2006-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" @@ -18,6 +18,7 @@ #include #include +#include "t_logutil.h" RTest TheTest(_L("t_logenvdestroy - deleting EventLogger test files from C:")); @@ -25,19 +26,6 @@ _LIT(KCFileName2, "c:\\private\\10003a73\\SQLite__Contacts.cdb"); /////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////////////////// -//Test macros and functions -static void Check(TInt aValue, TInt aExpected, TInt aLine) - { - if(aValue != aExpected) - { - RDebug::Print(_L("*** Expected error: %d, got: %d\r\n"), aExpected, aValue); - TheTest(EFalse, aLine); - } - } -#define TEST2(aValue, aExpected) ::Check(aValue, aExpected, __LINE__) - -/////////////////////////////////////////////////////////////////////////////////////// void DoDeleteFile(RFs& aFs, const TDesC& aFilePath) {