sl@0
|
1 |
/**
|
sl@0
|
2 |
* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
3 |
* All rights reserved.
|
sl@0
|
4 |
* This component and the accompanying materials are made available
|
sl@0
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
sl@0
|
6 |
* which accompanies this distribution, and is available
|
sl@0
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
8 |
*
|
sl@0
|
9 |
* Initial Contributors:
|
sl@0
|
10 |
* Nokia Corporation - initial contribution.
|
sl@0
|
11 |
*
|
sl@0
|
12 |
* Contributors:
|
sl@0
|
13 |
*
|
sl@0
|
14 |
* Description:
|
sl@0
|
15 |
*
|
sl@0
|
16 |
*/
|
sl@0
|
17 |
|
sl@0
|
18 |
|
sl@0
|
19 |
|
sl@0
|
20 |
/**
|
sl@0
|
21 |
@file UloggerServerTest4Step.h
|
sl@0
|
22 |
@internalTechnology
|
sl@0
|
23 |
*/
|
sl@0
|
24 |
#if (!defined __ULOGGERSERVERTEST4_STEP_H__)
|
sl@0
|
25 |
#define __ULOGGERSERVERTEST4_STEP_H__
|
sl@0
|
26 |
#include <test/testexecutestepbase.h>
|
sl@0
|
27 |
#include "te_uloggerservertestsuitestepbase.h"
|
sl@0
|
28 |
#include "pluginallocator.h"
|
sl@0
|
29 |
#include "inputframework.h"
|
sl@0
|
30 |
|
sl@0
|
31 |
_LIT8(KUsbTestPluginTest, "uloggerusbplugin");
|
sl@0
|
32 |
_LIT8(KFileTestPluginTest, "uloggerfileplugin");
|
sl@0
|
33 |
|
sl@0
|
34 |
namespace Ulogger
|
sl@0
|
35 |
{
|
sl@0
|
36 |
|
sl@0
|
37 |
class CUloggerServerTest4Step : public CTe_UloggerServerTestSuiteStepBase, public MInputFrameworkObserver
|
sl@0
|
38 |
{
|
sl@0
|
39 |
friend class CInputFramework;
|
sl@0
|
40 |
public:
|
sl@0
|
41 |
CUloggerServerTest4Step();
|
sl@0
|
42 |
~CUloggerServerTest4Step();
|
sl@0
|
43 |
virtual TVerdict doTestStepPreambleL();
|
sl@0
|
44 |
virtual TVerdict doTestStepL();
|
sl@0
|
45 |
virtual TVerdict doTestStepPostambleL();
|
sl@0
|
46 |
|
sl@0
|
47 |
//from MControlFrameworkObserver
|
sl@0
|
48 |
ControlData* ProcessCommandL(TCommand aOpCode, RArray<TPtrC8> &aArguments);
|
sl@0
|
49 |
void DoPostProcessing(TCommand aCmd);
|
sl@0
|
50 |
|
sl@0
|
51 |
//test methods
|
sl@0
|
52 |
TInt Test1L(); //CControlFramework::StartReading + StopReading
|
sl@0
|
53 |
TInt Test2L(); //CControlFramework:: testing functionality of passing and translating commands
|
sl@0
|
54 |
|
sl@0
|
55 |
void TestFunctionalityL(const TDesC8& aCommand);
|
sl@0
|
56 |
|
sl@0
|
57 |
// Please add/modify your class members here:
|
sl@0
|
58 |
private:
|
sl@0
|
59 |
CActiveScheduler *iScheduler;
|
sl@0
|
60 |
TInt iErrors;
|
sl@0
|
61 |
CInputFramework *iCF;
|
sl@0
|
62 |
CPluginAllocator *iPluginAllocator;
|
sl@0
|
63 |
CInputData* iMan;
|
sl@0
|
64 |
};
|
sl@0
|
65 |
}
|
sl@0
|
66 |
|
sl@0
|
67 |
_LIT(KUloggerServerTest4Step,"UloggerServerTest4Step");
|
sl@0
|
68 |
|
sl@0
|
69 |
#endif
|