os/persistentdata/traceservices/tracefw/ulogger/unit_test/te-server/uloggerservertest4step.h
Update contrib.
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
21 @file UloggerServerTest4Step.h
24 #if (!defined __ULOGGERSERVERTEST4_STEP_H__)
25 #define __ULOGGERSERVERTEST4_STEP_H__
26 #include <test/testexecutestepbase.h>
27 #include "te_uloggerservertestsuitestepbase.h"
28 #include "pluginallocator.h"
29 #include "inputframework.h"
31 _LIT8(KUsbTestPluginTest, "uloggerusbplugin");
32 _LIT8(KFileTestPluginTest, "uloggerfileplugin");
37 class CUloggerServerTest4Step : public CTe_UloggerServerTestSuiteStepBase, public MInputFrameworkObserver
39 friend class CInputFramework;
41 CUloggerServerTest4Step();
42 ~CUloggerServerTest4Step();
43 virtual TVerdict doTestStepPreambleL();
44 virtual TVerdict doTestStepL();
45 virtual TVerdict doTestStepPostambleL();
47 //from MControlFrameworkObserver
48 ControlData* ProcessCommandL(TCommand aOpCode, RArray<TPtrC8> &aArguments);
49 void DoPostProcessing(TCommand aCmd);
52 TInt Test1L(); //CControlFramework::StartReading + StopReading
53 TInt Test2L(); //CControlFramework:: testing functionality of passing and translating commands
55 void TestFunctionalityL(const TDesC8& aCommand);
57 // Please add/modify your class members here:
59 CActiveScheduler *iScheduler;
62 CPluginAllocator *iPluginAllocator;
67 _LIT(KUloggerServerTest4Step,"UloggerServerTest4Step");