46 |
47 |
47 inline TUint Test_SanityTestLargeSettings() |
48 inline TUint Test_SanityTestLargeSettings() |
48 { |
49 { |
49 return DoControl(ECtrlSanityTestLargeSettings); |
50 return DoControl(ECtrlSanityTestLargeSettings); |
50 } |
51 } |
51 |
|
52 inline TUint Test_ReleaseSDRs() |
|
53 { |
|
54 return DoControl(ECtrlFreePhyscialRam); |
|
55 } |
|
56 |
52 |
57 inline TUint Test_SwitchRepository() |
53 inline TUint Test_SwitchRepository() |
58 { |
54 { |
59 return DoControl(ECtrlSwitchRepository); |
55 return DoControl(ECtrlSwitchRepository); |
60 } |
56 } |
|
57 |
|
58 inline TUint Test_FindCompiledSettingsInCategory(HCR::TCategoryUid aCatUid, |
|
59 TInt32* aFirst, TInt32* aLast) |
|
60 { |
|
61 TAny* args[3]; |
|
62 args[0] = (TAny*) aCatUid; |
|
63 args[1] = (TAny*) aFirst; |
|
64 args[2] = (TAny*) aLast; |
|
65 |
|
66 return DoControl(ECtrlCompiledFindSettingsInCategory, (TAny*)args); |
|
67 } |
|
68 |
|
69 inline TUint Test_FindFileSettingsInCategory(HCR::TCategoryUid aCatUid, |
|
70 TInt32* aFirst, TInt32* aLast) |
|
71 { |
|
72 TAny* args[3]; |
|
73 args[0] = (TAny*) aCatUid; |
|
74 args[1] = (TAny*) aFirst; |
|
75 args[2] = (TAny*) aLast; |
|
76 |
|
77 return DoControl(ECtrlFileFindSettingsInCategory, (TAny*)args); |
|
78 } |
|
79 |
|
80 inline TUint Test_SwitchFileRepository(const TText* aRepName) |
|
81 { |
|
82 TAny* args[1]; |
|
83 args[0] = (TAny*) aRepName; |
|
84 return DoControl(ECtrlSwitchFileRepository, (TAny*)args); |
|
85 } |
61 |
86 |
|
87 |
|
88 inline TUint Test_CheckIntegrity() |
|
89 { |
|
90 return DoControl(ECtrlCheckOverrideReposIntegrity); |
|
91 } |
|
92 |
|
93 inline TUint Test_CheckContent() |
|
94 { |
|
95 return DoControl(ECtrlCheckOverrideRepos102400Content); |
|
96 } |
|
97 |
|
98 inline TUint Test_NegativeTestsLargeValues(TInt& aExpectedError) |
|
99 { |
|
100 TAny* args[1]; |
|
101 args[0] = (TAny*) aExpectedError; |
|
102 return DoControl(ECtrlNegativeTestsLargeValues, (TAny*) args); |
|
103 } |
|
104 inline TUint Test_TRepositoryGetWordValue(HCR::TCategoryUid& aCategory, HCR::TElementId& aKey,TInt& type) |
|
105 { |
|
106 TAny* args[3]; |
|
107 args[0] = (TAny*) aCategory; |
|
108 args[1] = (TAny*) aKey; |
|
109 args[2] = (TAny*) type; |
|
110 return DoControl(ECtrlGetWordSetting, (TAny*) args); |
|
111 } |
|
112 |
|
113 |
62 |
114 |
63 #endif |
115 #endif |
64 |
116 |
65 inline static const TDesC& Name(); |
117 inline static const TDesC& Name(); |
66 |
118 |
76 ECtrlGetLargeSetting, |
128 ECtrlGetLargeSetting, |
77 ECtrlGetManyWordSettings, |
129 ECtrlGetManyWordSettings, |
78 ECtrlGetManyLargeSettings, |
130 ECtrlGetManyLargeSettings, |
79 |
131 |
80 ECtrlSwitchRepository, |
132 ECtrlSwitchRepository, |
|
133 |
|
134 ECtrlNegativeTestsLargeValues, |
81 |
135 |
82 ECtrlFreePhyscialRam |
136 ECtrlFreePhyscialRam, |
|
137 ECtrlCheckOverrideReposIntegrity, |
|
138 ECtrlCheckOverrideRepos102400Content, |
|
139 |
|
140 ECtrlSwitchFileRepository, |
|
141 ECtrlFileFindSettingsInCategory, |
|
142 ECtrlCompiledFindSettingsInCategory |
83 }; |
143 }; |
84 |
144 |
85 friend class DHcrTestChannel; |
145 friend class DHcrTestChannel; |
86 friend class DHcrTestFactory; |
146 friend class DHcrTestFactory; |
87 }; |
147 }; |
88 |
148 |
89 inline const TDesC& RHcrTest::Name() |
149 inline const TDesC& RHcrTest::Name() |
90 { |
150 { |
91 _LIT(KTestDriver,"d_hcr"); |
151 _LIT(KTestDriver,"d_hcrut"); |
92 return KTestDriver; |
152 return KTestDriver; |
93 } |
153 } |
94 |
154 |
95 |
155 #endif // D_HCRUT_H |
96 |
|
97 #endif // D_HCR_H |
|