--- a/kerneltest/e32test/usbho/t_usbdi/src/testdeviceA.cpp Tue Aug 24 14:42:58 2010 +0100
+++ b/kerneltest/e32test/usbho/t_usbdi/src/testdeviceA.cpp Tue Aug 24 14:49:21 2010 +0100
@@ -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"
@@ -19,6 +19,12 @@
#include "modelleddevices.h"
#include "testinterfacebase.h"
#include "testinterfacesettingbase.h"
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "testdeviceATraces.h"
+#endif
+
+
namespace NUnitTesting_USBDI
@@ -26,23 +32,26 @@
RUsbDeviceA::RUsbDeviceA()
{
- LOG_FUNC
+ OstTraceFunctionEntry1( RUSBDEVICEA_RUSBDEVICEA_ENTRY, this );
+ OstTraceFunctionExit1( RUSBDEVICEA_RUSBDEVICEA_EXIT, this );
}
RUsbDeviceA::RUsbDeviceA(CBaseTestCase* aTestCase):RUsbDeviceVendor(aTestCase)
{
- LOG_FUNC
+ OstTraceFunctionEntryExt( RUSBDEVICEA_RUSBDEVICEA_ENTRY_DUP01, this );
+ OstTraceFunctionExit1( RUSBDEVICEA_RUSBDEVICEA_EXIT_DUP01, this );
}
RUsbDeviceA::~RUsbDeviceA()
{
- LOG_FUNC
+ OstTraceFunctionEntry1( RUSBDEVICEA_RUSBDEVICEA_ENTRY_DUP02, this );
+ OstTraceFunctionExit1( RUSBDEVICEA_RUSBDEVICEA_EXIT_DUP02, this );
}
void RUsbDeviceA::OpenL(const TDesC16& aSerialNumber)
{
- LOG_FUNC
+ OstTraceFunctionEntryExt( RUSBDEVICEA_OPENL_ENTRY, this );
RUsbDeviceVendor::OpenL(aSerialNumber);
@@ -89,12 +98,14 @@
AddInterface(interface1);
CleanupStack::Pop(interface1);
+ OstTraceFunctionExit1( RUSBDEVICEA_OPENL_EXIT, this );
}
void RUsbDeviceA::OnStateChangeL(TUsbcDeviceState aNewState)
{
- LOG_FUNC
+ OstTraceFunctionEntryExt( RUSBDEVICEA_ONSTATECHANGEL_ENTRY, this );
+ OstTraceFunctionExit1( RUSBDEVICEA_ONSTATECHANGEL_EXIT, this );
}