diff -r c1f20ce4abcf -r 3e88ff8f41d5 kerneltest/e32test/usbho/t_usbdi/src/testdeviceC.cpp --- a/kerneltest/e32test/usbho/t_usbdi/src/testdeviceC.cpp Tue Aug 31 16:34:26 2010 +0300 +++ b/kerneltest/e32test/usbho/t_usbdi/src/testdeviceC.cpp Wed Sep 01 12:34:56 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2007-2009 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" @@ -19,11 +19,6 @@ #include "modelleddevices.h" #include "testinterfacebase.h" #include "testinterfacesettingbase.h" -#include "OstTraceDefinitions.h" -#ifdef OST_TRACE_COMPILER_IN_USE -#include "testdeviceCTraces.h" -#endif - namespace NUnitTesting_USBDI @@ -32,26 +27,23 @@ RUsbDeviceC::RUsbDeviceC() { - OstTraceFunctionEntry1( RUSBDEVICEC_RUSBDEVICEC_ENTRY, this ); - OstTraceFunctionExit1( RUSBDEVICEC_RUSBDEVICEC_EXIT, this ); + LOG_FUNC } RUsbDeviceC::RUsbDeviceC(CBaseTestCase* aTestCase):RUsbDeviceVendor(aTestCase) { - OstTraceFunctionEntryExt( RUSBDEVICEC_RUSBDEVICEC_ENTRY_DUP01, this ); - OstTraceFunctionExit1( RUSBDEVICEC_RUSBDEVICEC_EXIT_DUP01, this ); + LOG_FUNC } RUsbDeviceC::~RUsbDeviceC() { - OstTraceFunctionEntry1( RUSBDEVICEC_RUSBDEVICEC_ENTRY_DUP02, this ); - OstTraceFunctionExit1( RUSBDEVICEC_RUSBDEVICEC_EXIT_DUP02, this ); + LOG_FUNC } void RUsbDeviceC::OpenL(const TDesC16& aSerialNumber) { - OstTraceFunctionEntryExt( RUSBDEVICEC_OPENL_ENTRY, this ); + LOG_FUNC RUsbDeviceVendor::OpenL(aSerialNumber); @@ -112,14 +104,12 @@ AddInterface(interface1); CleanupStack::Pop(interface1); - OstTraceFunctionExit1( RUSBDEVICEC_OPENL_EXIT, this ); } void RUsbDeviceC::OnStateChangeL(TUsbcDeviceState aNewState) { - OstTraceFunctionEntryExt( RUSBDEVICEC_ONSTATECHANGEL_ENTRY, this ); - OstTraceFunctionExit1( RUSBDEVICEC_ONSTATECHANGEL_EXIT, this ); + LOG_FUNC }