os/persistentdata/traceservices/tracefw/ulogger/unit_test/te-server/uloggerservertest4step.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/persistentdata/traceservices/tracefw/ulogger/unit_test/te-server/uloggerservertest4step.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,69 @@
     1.4 +/**
     1.5 +* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description:
    1.18 +*
    1.19 +*/
    1.20 +
    1.21 +
    1.22 +
    1.23 +/**
    1.24 + @file UloggerServerTest4Step.h
    1.25 + @internalTechnology
    1.26 +*/
    1.27 +#if (!defined __ULOGGERSERVERTEST4_STEP_H__)
    1.28 +#define __ULOGGERSERVERTEST4_STEP_H__
    1.29 +#include <test/testexecutestepbase.h>
    1.30 +#include "te_uloggerservertestsuitestepbase.h"
    1.31 +#include "pluginallocator.h"
    1.32 +#include "inputframework.h"
    1.33 +
    1.34 +_LIT8(KUsbTestPluginTest, "uloggerusbplugin");
    1.35 +_LIT8(KFileTestPluginTest, "uloggerfileplugin");
    1.36 +
    1.37 +namespace Ulogger
    1.38 +{
    1.39 +
    1.40 +class CUloggerServerTest4Step : public CTe_UloggerServerTestSuiteStepBase, public MInputFrameworkObserver
    1.41 +	{
    1.42 +	friend class CInputFramework;
    1.43 +public:
    1.44 +	CUloggerServerTest4Step();
    1.45 +	~CUloggerServerTest4Step();
    1.46 +	virtual TVerdict doTestStepPreambleL();
    1.47 +	virtual TVerdict doTestStepL();
    1.48 +	virtual TVerdict doTestStepPostambleL();
    1.49 +
    1.50 +	//from MControlFrameworkObserver
    1.51 +	ControlData* ProcessCommandL(TCommand aOpCode, RArray<TPtrC8> &aArguments); 
    1.52 +	void DoPostProcessing(TCommand aCmd);
    1.53 +	
    1.54 +	//test methods
    1.55 +	TInt Test1L(); //CControlFramework::StartReading + StopReading
    1.56 +	TInt Test2L(); //CControlFramework:: testing functionality of passing and translating commands
    1.57 +	
    1.58 +	void TestFunctionalityL(const TDesC8& aCommand);
    1.59 +	
    1.60 +// Please add/modify your class members here:
    1.61 +private:
    1.62 +	CActiveScheduler *iScheduler;
    1.63 +	TInt iErrors;
    1.64 +	CInputFramework *iCF;
    1.65 +	CPluginAllocator *iPluginAllocator;
    1.66 +	CInputData* iMan;
    1.67 +	};
    1.68 +}
    1.69 +
    1.70 +_LIT(KUloggerServerTest4Step,"UloggerServerTest4Step");
    1.71 +
    1.72 +#endif