|
1 /* |
|
2 * Copyright (c) 2006 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: Main plugin class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MUSAOPLUGINTEST_H |
|
20 #define MUSAOPLUGINTEST_H |
|
21 |
|
22 |
|
23 |
|
24 #include <digia/eunit/ceunittestsuiteclass.h> |
|
25 |
|
26 class CMusSipCrPlugin; |
|
27 |
|
28 |
|
29 /** |
|
30 * Main plugin class |
|
31 * |
|
32 * @lib ut_musaoplugin.dll |
|
33 */ |
|
34 class CMusSipCrPluginTest |
|
35 : public CEUnitTestSuiteClass |
|
36 { |
|
37 |
|
38 public: |
|
39 |
|
40 /** |
|
41 * Symbian two-phase constructor. |
|
42 * @return New CMusSipCrPluginTest instance |
|
43 */ |
|
44 static CMusSipCrPluginTest* NewL(); |
|
45 |
|
46 /** |
|
47 * C++ destructor. |
|
48 */ |
|
49 virtual ~CMusSipCrPluginTest(); |
|
50 |
|
51 private: // constructors |
|
52 |
|
53 /** |
|
54 * C++ constructor. |
|
55 */ |
|
56 CMusSipCrPluginTest(); |
|
57 |
|
58 /** |
|
59 * Symbian second-phase constructor. |
|
60 */ |
|
61 void ConstructL(); |
|
62 |
|
63 |
|
64 public: // Test functions |
|
65 |
|
66 void UT_ChannelL(); |
|
67 |
|
68 void UT_ConnectL(); |
|
69 |
|
70 void UT_Capabilities(); |
|
71 |
|
72 void UT_ImplementationGroupProxy(); |
|
73 |
|
74 |
|
75 public: |
|
76 void SetupL(); |
|
77 void Teardown(); |
|
78 |
|
79 |
|
80 private: // data |
|
81 |
|
82 CMusSipCrPlugin* iPlugin; |
|
83 |
|
84 EUNIT_DECLARE_TEST_TABLE; |
|
85 |
|
86 }; |
|
87 |
|
88 #endif // MUSAOPLUGINTEST_H |