|
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_UTILS_H__ |
|
19 #define T_UTILS_H__ |
|
20 |
|
21 #include <ceunittestsuiteclass.h> |
|
22 #include <ximpbase.h> |
|
23 |
|
24 #include "prfwteststatuseventlistener.h" |
|
25 #include "prfwwaitobserver.h" |
|
26 |
|
27 class CXIMPTestContextWrapperMgr; |
|
28 |
|
29 /** |
|
30 * XIMP Framework Eunit tests. |
|
31 * |
|
32 * Tests for XIMP session management services. |
|
33 * |
|
34 * @since S60 v4.0 |
|
35 */ |
|
36 class T_Utils : public CEUnitTestSuiteClass |
|
37 { |
|
38 |
|
39 public: |
|
40 static T_Utils* NewL(); |
|
41 virtual ~T_Utils(); |
|
42 |
|
43 private: |
|
44 T_Utils(); |
|
45 void ConstructL(); |
|
46 |
|
47 private: // Test case functions |
|
48 |
|
49 void Setup_L(); |
|
50 void Teardown(); |
|
51 |
|
52 void T_FileToolTest_L(); |
|
53 |
|
54 void T_KillServers_L(); |
|
55 |
|
56 void T_ObjectCollection_Unnamed_L(); |
|
57 void T_ObjectCollection_Named_L(); |
|
58 void T_RestrictedObjectCollection_L(); |
|
59 void T_DataSubscriptionState_L(); |
|
60 |
|
61 void T_TXIMPRequestIdBuilder_Test_L(); |
|
62 void T_TXIMPRequestId_Test_L(); |
|
63 |
|
64 private: // Test helpers |
|
65 |
|
66 private: // Test data |
|
67 |
|
68 /** |
|
69 * Eunit test case table declaration. |
|
70 */ |
|
71 EUNIT_DECLARE_TEST_TABLE; |
|
72 }; |
|
73 |
|
74 #endif // T_UTILS_H__ |
|
75 |
|
76 // end of file |
|
77 |
|
78 |
|
79 |
|
80 |