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: Declaration of T_CSPSettingsEngine class. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __T_CSPSETTINGSENGINE_H__ |
|
19 #define __T_CSPSETTINGSENGINE_H__ |
|
20 |
|
21 // INCLUDES |
|
22 #include <CEUnitTestSuiteClass.h> |
|
23 #include <EUnitDecorators.h> |
|
24 |
|
25 #include "spsettingsengine.h" |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 |
|
29 |
|
30 // CLASS DEFINITION |
|
31 /** |
|
32 * Generated EUnit test suite class. |
|
33 */ |
|
34 NONSHARABLE_CLASS( T_CSPSettingsEngine ) |
|
35 : public CEUnitTestSuiteClass |
|
36 { |
|
37 public: // Constructors and destructor |
|
38 |
|
39 static T_CSPSettingsEngine* NewL(); |
|
40 static T_CSPSettingsEngine* NewLC(); |
|
41 ~T_CSPSettingsEngine(); |
|
42 |
|
43 private: // Constructors |
|
44 |
|
45 T_CSPSettingsEngine(); |
|
46 void ConstructL(); |
|
47 |
|
48 private: // New methods |
|
49 |
|
50 void SetupL(); |
|
51 |
|
52 void Teardown(); |
|
53 |
|
54 void T_CSPSettingsEngine_BeginTransactionLCL(); |
|
55 |
|
56 void T_CSPSettingsEngine_CommitTransactionL(); |
|
57 |
|
58 void T_CSPSettingsEngine_RollbackTransactionL(); |
|
59 |
|
60 void T_CSPSettingsEngine_AddEntryLL(); |
|
61 |
|
62 void T_CSPSettingsEngine_FindEntryLL(); |
|
63 |
|
64 void T_CSPSettingsEngine_UpdateEntryLL(); |
|
65 |
|
66 void T_CSPSettingsEngine_DeleteEntryLL(); |
|
67 |
|
68 void T_CSPSettingsEngine_FindPropertyLL(); |
|
69 |
|
70 void T_CSPSettingsEngine_AddOrUpdatePropertiesLL(); |
|
71 |
|
72 void T_CSPSettingsEngine_SettingsCountLL(); |
|
73 |
|
74 void T_CSPSettingsEngine_FindServiceIdsLL(); |
|
75 |
|
76 void T_CSPSettingsEngine_FindServiceNamesLL(); |
|
77 |
|
78 void T_CSPSettingsEngine_PropertyNameArrayFromItemTypeLL(); |
|
79 |
|
80 void T_CSPSettingsEngine_FindSubServicePropertiesLL(); |
|
81 |
|
82 void T_CSPSettingsEngine_DeleteServicePropertiesLL(); |
|
83 |
|
84 void T_CSPSettingsEngine_FindServiceIdsFromPropertiesLL(); |
|
85 |
|
86 void T_CSPSettingsEngine_IsFeatureSupportedLL(); |
|
87 |
|
88 void T_CSPSettingsEngine_UpdateSupportFeaturePSKeyLL(); |
|
89 |
|
90 void T_CSPSettingsEngine_IsVoIPServiceLL(); |
|
91 |
|
92 void T_CSPSettingsEngine_HasCallPropertyNameL(); |
|
93 |
|
94 void T_CSPSettingsEngine_HasVoIPAndVmbxPropertyNameL(); |
|
95 |
|
96 void T_CSPSettingsEngine_NameArrayFromPropertyArrayLL(); |
|
97 |
|
98 |
|
99 private: // Data |
|
100 |
|
101 CSPSettingsEngine* iCSPSettingsEngine; |
|
102 |
|
103 EUNIT_DECLARE_TEST_TABLE; |
|
104 |
|
105 }; |
|
106 |
|
107 #endif // __T_CSPSETTINGSENGINE_H__ |
|