|
1 /* |
|
2 * Copyright (c) 2010 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 #ifndef __MT_WRTDATAPLUGIN_H__ |
|
19 #define __MT_WRTDATAPLUGIN_H__ |
|
20 |
|
21 // INCLUDES |
|
22 #include <digia/eunit/ceunittestsuiteclass.h> |
|
23 #include <digia/eunit/eunitdecorators.h> |
|
24 |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CHsContentPublisher; |
|
28 class CWrtDataPluginObserver; |
|
29 |
|
30 #ifndef NONSHARABLE_CLASS |
|
31 #define NONSHARABLE_CLASS(x) class x |
|
32 #endif |
|
33 |
|
34 |
|
35 // CLASS DEFINITION |
|
36 /** |
|
37 * Generated EUnit test suite class. |
|
38 */ |
|
39 NONSHARABLE_CLASS( MT_wrtdataplugin ) |
|
40 : public CEUnitTestSuiteClass |
|
41 { |
|
42 public: // Constructors and destructor |
|
43 |
|
44 static MT_wrtdataplugin* NewL(); |
|
45 static MT_wrtdataplugin* NewLC(); |
|
46 ~MT_wrtdataplugin(); |
|
47 |
|
48 private: // Constructors |
|
49 |
|
50 MT_wrtdataplugin(); |
|
51 void ConstructL(); |
|
52 |
|
53 private: // New methods |
|
54 |
|
55 void SetupL(); |
|
56 |
|
57 void Teardown(); |
|
58 |
|
59 void TestStartL(); |
|
60 |
|
61 void TestStopL(); |
|
62 |
|
63 void TestResumeL(); |
|
64 |
|
65 void TestSuspendL(); |
|
66 |
|
67 void TestSetOnlineL(); |
|
68 |
|
69 void TestSetOfflineL(); |
|
70 |
|
71 void TestSubscribeL(); |
|
72 |
|
73 void TestConfigureL(); |
|
74 |
|
75 void TestSetPropertyL(); |
|
76 |
|
77 void TestGetPropertyL(); |
|
78 |
|
79 void TestHandleEventL(); |
|
80 |
|
81 void TestHasMenuItemL(); |
|
82 |
|
83 void TestExtensionL(); |
|
84 |
|
85 void TestPublisherInfoL(); |
|
86 |
|
87 |
|
88 private: // Data |
|
89 |
|
90 |
|
91 CHsContentPublisher* iPlugin; |
|
92 CWrtDataPluginObserver* iContentObserver; |
|
93 |
|
94 EUNIT_DECLARE_TEST_TABLE; |
|
95 |
|
96 }; |
|
97 |
|
98 #endif // __MT_WRTDATAPLUGIN_H__ |