usbmgmt/usbmgrtest/t_usb_charging/src/testbase.cpp
changeset 49 93c0009bd947
equal deleted inserted replaced
48:21625e5de155 49:93c0009bd947
       
     1 /*
       
     2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #include "testbase.h"
       
    19 #include "testmanager.h"
       
    20 #include "OstTraceDefinitions.h"
       
    21 #ifdef OST_TRACE_COMPILER_IN_USE
       
    22 #include "testbaseTraces.h"
       
    23 #endif
       
    24 
       
    25 
       
    26 CTestBase::CTestBase(MTestManager& aManager)
       
    27  :	iManager(aManager)
       
    28 	{
       
    29 	OstTraceFunctionEntry0( CTESTBASE_CTESTBASE_ENTRY );
       
    30 	OstTraceFunctionExit0( CTESTBASE_CTESTBASE_EXIT );
       
    31 	}
       
    32 
       
    33 CTestBase::~CTestBase()
       
    34 	{
       
    35 	OstTraceFunctionEntry0( DUP1_CTESTBASE_CTESTBASE_ENTRY );
       
    36 	OstTraceFunctionExit0( DUP1_CTESTBASE_CTESTBASE_EXIT );
       
    37 	}
       
    38 
       
    39 void CTestBase::ProcessKeyL(TKeyCode /*aKeyCode*/)
       
    40 	{
       
    41 	OstTraceFunctionEntry0( CTESTBASE_PROCESSKEYL_ENTRY );
       
    42 	OstTraceFunctionExit0( CTESTBASE_PROCESSKEYL_EXIT );
       
    43 	}
       
    44 
       
    45 void CTestBase::ProcessKeyL(const TDesC8& /*aString*/)
       
    46 	{
       
    47 	OstTraceFunctionEntry0( DUP1_CTESTBASE_PROCESSKEYL_ENTRY );
       
    48 	OstTraceFunctionExit0( DUP1_CTESTBASE_PROCESSKEYL_EXIT );
       
    49 	}