traceservices/tracefw/ulogger/unit_test/te-server/uloggerservertest4step.h
changeset 0 08ec8eefde2f
child 23 26645d81f48d
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 /**
       
     2 * Copyright (c) 2007-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 
       
    19 
       
    20 /**
       
    21  @file UloggerServerTest4Step.h
       
    22  @internalTechnology
       
    23 */
       
    24 #if (!defined __ULOGGERSERVERTEST4_STEP_H__)
       
    25 #define __ULOGGERSERVERTEST4_STEP_H__
       
    26 #include <testexecutestepbase.h>
       
    27 #include "te_uloggerservertestsuitestepbase.h"
       
    28 #include "pluginallocator.h"
       
    29 #include "inputframework.h"
       
    30 
       
    31 _LIT8(KUsbTestPluginTest, "uloggerusbplugin");
       
    32 _LIT8(KFileTestPluginTest, "uloggerfileplugin");
       
    33 
       
    34 namespace Ulogger
       
    35 {
       
    36 
       
    37 class CUloggerServerTest4Step : public CTe_UloggerServerTestSuiteStepBase, public MInputFrameworkObserver
       
    38 	{
       
    39 	friend class CInputFramework;
       
    40 public:
       
    41 	CUloggerServerTest4Step();
       
    42 	~CUloggerServerTest4Step();
       
    43 	virtual TVerdict doTestStepPreambleL();
       
    44 	virtual TVerdict doTestStepL();
       
    45 	virtual TVerdict doTestStepPostambleL();
       
    46 
       
    47 	//from MControlFrameworkObserver
       
    48 	ControlData* ProcessCommandL(TCommand aOpCode, RArray<TPtrC8> &aArguments); 
       
    49 	void DoPostProcessing(TCommand aCmd);
       
    50 	
       
    51 	//test methods
       
    52 	TInt Test1L(); //CControlFramework::StartReading + StopReading
       
    53 	TInt Test2L(); //CControlFramework:: testing functionality of passing and translating commands
       
    54 	
       
    55 	void TestFunctionalityL(const TDesC8& aCommand);
       
    56 	
       
    57 // Please add/modify your class members here:
       
    58 private:
       
    59 	CActiveScheduler *iScheduler;
       
    60 	TInt iErrors;
       
    61 	CInputFramework *iCF;
       
    62 	CPluginAllocator *iPluginAllocator;
       
    63 	CInputData* iMan;
       
    64 	};
       
    65 }
       
    66 
       
    67 _LIT(KUloggerServerTest4Step,"UloggerServerTest4Step");
       
    68 
       
    69 #endif