|
1 /* |
|
2 * Copyright (c) 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 This file has been generated with EUnit Pro |
|
20 http://www.digia.com/eunit |
|
21 ----------------------------------------------------------------------------- |
|
22 */ |
|
23 #ifndef __CEASYDIALINGPLUGIN_TEST_H__ |
|
24 #define __CEASYDIALINGPLUGIN_TEST_H__ |
|
25 |
|
26 // INCLUDES |
|
27 #include <CEUnitTestSuiteClass.h> |
|
28 #include <EUnitDecorators.h> |
|
29 #include "easydialingplugin.h" |
|
30 |
|
31 // FORWARD DECLARATIONS |
|
32 |
|
33 class CDummyParentControl; |
|
34 |
|
35 /** |
|
36 * Generated EUnit test suite class. |
|
37 */ |
|
38 NONSHARABLE_CLASS( CEasyDialingPlugin_Test ) : public CEUnitTestSuiteClass, public MDialingExtensionObserver |
|
39 { |
|
40 public: // Constructors and destructor |
|
41 |
|
42 static CEasyDialingPlugin_Test* NewL(); |
|
43 static CEasyDialingPlugin_Test* NewLC(); |
|
44 ~CEasyDialingPlugin_Test(); |
|
45 |
|
46 void HandleDialingExtensionEvent( MDialingExtensionObserver::TEvent aEvent ); |
|
47 |
|
48 private: // Constructors |
|
49 |
|
50 CEasyDialingPlugin_Test(); |
|
51 void ConstructL(); |
|
52 |
|
53 private: // New methods |
|
54 |
|
55 void SetupL(); |
|
56 |
|
57 void Teardown(); |
|
58 |
|
59 void T_Global_OfferKeyEventLL(); |
|
60 |
|
61 void T_Global_Search1(); |
|
62 void T_Global_Search2(); |
|
63 void T_Global_Search3(); |
|
64 void T_Global_Search4(); |
|
65 void T_Global_Search5(); |
|
66 void T_Global_Search6(); |
|
67 void T_Global_Search7(); |
|
68 void T_Global_Search8(); |
|
69 |
|
70 void T_Global__CEasyDialingPluginL(); |
|
71 |
|
72 private: // Data |
|
73 |
|
74 CEasyDialingPlugin* iCEasyDialingPlugin; |
|
75 |
|
76 CActiveSchedulerWait* iWait; |
|
77 |
|
78 CDummyParentControl* iDummyParentControl; |
|
79 |
|
80 EUNIT_DECLARE_TEST_TABLE; |
|
81 |
|
82 }; |
|
83 |
|
84 #endif // __CEASYDIALINGPLUGIN_TEST_H__ |