|
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: XIMP Framework Test Code |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef T_ROOTSERVICES_H__ |
|
19 #define T_ROOTSERVICES_H__ |
|
20 |
|
21 |
|
22 |
|
23 // EXTERNAL INCLUDES |
|
24 #include <platform/digia/eunit/ceunittestsuiteclass.h> |
|
25 #include <platform/digia/eunit/EUnitDecorators.h> |
|
26 |
|
27 #include <ximpbase.h> |
|
28 |
|
29 class MXIMPProtocolInfo; |
|
30 class MXIMPClient; |
|
31 class MXIMPContext; |
|
32 class CUSContextObserver; |
|
33 |
|
34 |
|
35 /** |
|
36 * XIMP Framework Eunit tests. |
|
37 * |
|
38 * Tests for XIMP root services. |
|
39 * |
|
40 * @since S60 v3.2 |
|
41 */ |
|
42 class T_RootServices : public CEUnitTestSuiteClass |
|
43 { |
|
44 public: |
|
45 static T_RootServices* NewL(); |
|
46 virtual ~T_RootServices(); |
|
47 |
|
48 |
|
49 private: |
|
50 T_RootServices(); |
|
51 void ConstructL(); |
|
52 |
|
53 |
|
54 |
|
55 private: // Test case functions |
|
56 |
|
57 void Setup_L(); |
|
58 void Teardown(); |
|
59 |
|
60 void Test_ListProtocolsAndTheirCapabilities_L(); |
|
61 |
|
62 |
|
63 private: // Test helpers |
|
64 |
|
65 void __DumpProtocolListL( |
|
66 RXIMPObjOwningPtrArray< MXIMPProtocolInfo >& aProtocolList ); |
|
67 |
|
68 |
|
69 |
|
70 private: // Test data |
|
71 |
|
72 |
|
73 /** |
|
74 * Eunit test case table declaration. |
|
75 */ |
|
76 EUNIT_DECLARE_TEST_TABLE; |
|
77 |
|
78 |
|
79 }; |
|
80 |
|
81 |
|
82 #endif // T_ROOTSERVICES_H__ |
|
83 |
|
84 |
|
85 |
|
86 // end of file |
|
87 |
|
88 |
|
89 |
|
90 |