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 UloggerServerTest1Step.h
|
sl@0
|
22 |
@internalTechnology
|
sl@0
|
23 |
*/
|
sl@0
|
24 |
#if (!defined __ULOGGERSERVERTEST3_STEP_H__)
|
sl@0
|
25 |
#define __ULOGGERSERVERTEST3_STEP_H__
|
sl@0
|
26 |
#include <test/testexecutestepbase.h>
|
sl@0
|
27 |
#include "te_uloggerservertestsuitestepbase.h"
|
sl@0
|
28 |
#include "uloggerwatcher.h"
|
sl@0
|
29 |
|
sl@0
|
30 |
_LIT8(KUsbTestPlugin, "uloggerusbplugin");
|
sl@0
|
31 |
_LIT8(KFileTestPlugin, "uloggerfileplugin");
|
sl@0
|
32 |
_LIT8(KNullTestPlugin, "");
|
sl@0
|
33 |
_LIT8(KBadNameTestPlugin, "ulopggerbadnameplugin");
|
sl@0
|
34 |
|
sl@0
|
35 |
|
sl@0
|
36 |
using namespace Ulogger;
|
sl@0
|
37 |
|
sl@0
|
38 |
class CUloggerServerTest3Step : public CTe_UloggerServerTestSuiteStepBase, public MDataWatcherObserver
|
sl@0
|
39 |
{
|
sl@0
|
40 |
public:
|
sl@0
|
41 |
CUloggerServerTest3Step();
|
sl@0
|
42 |
~CUloggerServerTest3Step();
|
sl@0
|
43 |
virtual TVerdict doTestStepPreambleL();
|
sl@0
|
44 |
virtual TVerdict doTestStepL();
|
sl@0
|
45 |
virtual TVerdict doTestStepPostambleL();
|
sl@0
|
46 |
|
sl@0
|
47 |
void DataNotification(){}; //required by test
|
sl@0
|
48 |
|
sl@0
|
49 |
//test methods
|
sl@0
|
50 |
|
sl@0
|
51 |
TInt Test1L(); //CPluginAllocator::NewL
|
sl@0
|
52 |
TInt Test1_2L(); //CPluginAllocator::NewL - condition 2
|
sl@0
|
53 |
TInt Test1_3L(); //CPluginAllocator::NewL - condition 3
|
sl@0
|
54 |
TInt Test1_4L(); //CPluginAllocator::NewL - condition 4
|
sl@0
|
55 |
TInt Test2L(); //CPluginAllocator::NewLC
|
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 |
};
|
sl@0
|
62 |
|
sl@0
|
63 |
_LIT(KUloggerServerTest3Step,"UloggerServerTest3Step");
|
sl@0
|
64 |
|
sl@0
|
65 |
#endif
|