diff -r a179b74831c9 -r c1f20ce4abcf kerneltest/e32test/usbho/t_otgdi/src/testpolicy.cpp --- a/kerneltest/e32test/usbho/t_otgdi/src/testpolicy.cpp Thu Aug 19 11:14:22 2010 +0300 +++ b/kerneltest/e32test/usbho/t_otgdi/src/testpolicy.cpp Tue Aug 31 16:34:26 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of the License "Eclipse Public License v1.0" @@ -26,6 +26,10 @@ #include "testcaseroot.h" #include "testpolicy.h" #include "testcasefactory.h" +#include "OstTraceDefinitions.h" +#ifdef OST_TRACE_COMPILER_IN_USE +#include "testpolicyTraces.h" +#endif @@ -49,7 +53,10 @@ void CBasicTestPolicy::ConstructL() { - LOG_FUNC + if(gVerboseOutput) + { + OstTraceFunctionEntry0(CBASICTESTPOLICY_CONSTRUCTL); + } } @@ -70,7 +77,10 @@ */ void CBasicTestPolicy::RunTestCaseL(const TDesC& aTestCaseId, TRequestStatus* aNotifierStatus) { - LOG_FUNC + if(gVerboseOutput) + { + OstTraceFunctionEntry0(CBASICTESTPOLICY_RUNTESTCASEL); + } iNotifierStatus = aNotifierStatus; // delete previous test run if (iTestCase) @@ -122,7 +132,10 @@ void CBasicTestPolicy::RunL() { - LOG_FUNC + if(gVerboseOutput) + { + OstTraceFunctionEntry0(CBASICTESTPOLICY_RUNL); + } }