|
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // The definitions of the transition classes upon the RStringPool class methods. |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef __STRINGPOOLTRANSITIONS_H__ |
|
19 #define __STRINGPOOLTRANSITIONS_H__ |
|
20 |
|
21 #include <ecom/test_bed/testutilities.h> |
|
22 #include <ecom/test_bed/stateaccessor.h> |
|
23 #include <ecom/test_bed/leaktesttransition.h> |
|
24 #include <ecom/test_bed/datalogger.h> |
|
25 #include <stringpool.h> |
|
26 #include "StringPoolStateAccessor.h" |
|
27 #include <ecom/test_bed/unittest.h> |
|
28 |
|
29 // use the typedef that has been commented out if you don't want to perform memory leak tests |
|
30 typedef CTransition CTransitionType; |
|
31 //typedef CLeakTestTransition CTransitionType; |
|
32 |
|
33 class ExtObj : public MStringPoolCloseCallBack |
|
34 { |
|
35 public: |
|
36 void StringPoolClosing() |
|
37 { |
|
38 a= 1; |
|
39 } |
|
40 TBool a; |
|
41 }; |
|
42 |
|
43 // ______________________________________________________________________________ |
|
44 // |
|
45 /** |
|
46 @internalComponent |
|
47 Comments : Provide all the RStringPool specific |
|
48 parameters and behaviour on the RStringPool |
|
49 test class for a transition. |
|
50 */ |
|
51 class CStringPool_UnitTestContext : public CUnitTestContext |
|
52 { |
|
53 public: |
|
54 /** |
|
55 @fn CStringPool_UnitTestContext(CDataLogger& aDataLogger, |
|
56 MStateAccessor& aStateAccessor, |
|
57 MTransitionObserver& aObserver) |
|
58 Intended Usage : Default constructor. |
|
59 Error Condition : None. |
|
60 @since 6.0 |
|
61 @param aDataLogger The output logging object. |
|
62 @param aObserver The observer of this UnitTest's Transitions. |
|
63 @param aStateAccessor WhiteBox state access to the RStringPool class under test. |
|
64 @pre None. |
|
65 @post CStringPool_UnitTestContext is fully constructed, and initialised. |
|
66 */ |
|
67 inline CStringPool_UnitTestContext(CDataLogger& aDataLogger, |
|
68 MStateAccessor& aStateAccessor, |
|
69 MTransitionObserver& aObserver); |
|
70 |
|
71 /** |
|
72 @fn ~CStringPool_UnitTestContext() |
|
73 Intended Usage : Default Destructor |
|
74 @since 6.0 |
|
75 @pre CStringPool_UnitTestContext is fully constructed. |
|
76 @post CStringPool_UnitTestContext is fully destroyed |
|
77 */ |
|
78 virtual inline ~CStringPool_UnitTestContext(); |
|
79 |
|
80 /** The instance of the class under test */ |
|
81 RStringPool iStringPool; |
|
82 |
|
83 // Various strings. a and b are different strings. c is a temporary. |
|
84 // d is the same as a, but separately created |
|
85 // F denotes case insensitiveness; T denotes table strings |
|
86 RString iA, iB, iC, iD, iE, iF, iTE, iUndeletable_EX, iUndeletable_A; |
|
87 RStringF iFA, iFB, iFC, iFD, iFE, iFF, iTFE, iEmptyOne, iFAString, iFADuplicateString; |
|
88 |
|
89 TPtrC8 iADes, iBDes, iDDes, iFADes, iFBDes, iFDDes; |
|
90 TInt iInt, iFint,iNotFound; |
|
91 TStringTable iTestTable; |
|
92 TStringTable iTestTable2; |
|
93 TStringTable iTestTable3; |
|
94 TStringTable iTestTable4; |
|
95 ExtObj iMyExtObj,iMyExtObj2,iMyExtObj3; |
|
96 TInt cbCount; |
|
97 |
|
98 |
|
99 |
|
100 TInt iIndex1, iIndex2, iIndex3, iIndex4; |
|
101 |
|
102 // The result of boolean comparisons |
|
103 TBool iResult; |
|
104 }; // CStringPool_UnitTestContext |
|
105 |
|
106 // ______________________________________________________________________________ |
|
107 // |
|
108 /** |
|
109 @internalComponent |
|
110 Comments : Transition test of the RStringPool::NewL method. |
|
111 */ |
|
112 class CStringPool_NewL_Transition : public CTransitionType |
|
113 { |
|
114 public: |
|
115 /** |
|
116 @fn CStringPool_NewL_Transition(CUnitTestContext& aUTContext, |
|
117 TTransitionValidator& aValidator) |
|
118 Intended Usage : Standard c'tor method. |
|
119 Error Condition : None. |
|
120 @since 6.0 |
|
121 @param aUTContext The context this transition is operating in. |
|
122 @param aValidator Used for checking the pre & post conditions of the test object. |
|
123 @pre None. |
|
124 @post CStringPool_NewL_Transition is fully constructed. |
|
125 */ |
|
126 CStringPool_NewL_Transition(CUnitTestContext& aUTContext, |
|
127 TTransitionValidator& aValidator); |
|
128 /** |
|
129 @fn TransitMethodL() |
|
130 Intended Usage : To execute the RStringPool::NewL method for the test harness. |
|
131 Error Condition : Leaves with an error code. |
|
132 @leave KErrNoMemory, (@see RStringPool::NewL) |
|
133 @since 6.0 |
|
134 @return None |
|
135 @pre CStringPool_NewL_Transition is fully constructed. |
|
136 @post No change in the CStringPool_NewL_Transition apart |
|
137 from iStringPool, which may have changed state. |
|
138 (@see RStringPool::NewL post-condition) for iStringPool's new state. |
|
139 */ |
|
140 inline void TransitMethodL(); |
|
141 |
|
142 /** |
|
143 @fn Context() const |
|
144 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
145 Error Condition : None. |
|
146 @since 6.0 |
|
147 @return The unit test context cast to a CStringPool_UnitTestContext |
|
148 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
149 @post No change in the CStringPool_NewL_Transition |
|
150 */ |
|
151 inline CStringPool_UnitTestContext& Context() const; |
|
152 }; // CStringPool_NewL_Transition |
|
153 |
|
154 // ______________________________________________________________________________ |
|
155 // |
|
156 /** |
|
157 @internalComponent |
|
158 Comments : Transition test of the RStringPool::Dtor method. |
|
159 */ |
|
160 class CStringPool_Dtor_Transition : public CTransitionType |
|
161 { |
|
162 public: |
|
163 /** |
|
164 @fn CStringPool_Dtor_Transition(CUnitTestContext& aUTContext, |
|
165 TTransitionValidator& aValidator) |
|
166 Intended Usage : Standard c'tor method. |
|
167 Error Condition : None. |
|
168 @since 6.0 |
|
169 @param aUTContext The context this transition is operating in. |
|
170 @param aValidator Used for checking the pre & post conditions of the test object. |
|
171 @pre None. |
|
172 @post CStringPool_Dtor_Transition is fully constructed. |
|
173 */ |
|
174 CStringPool_Dtor_Transition(CUnitTestContext& aUTContext, |
|
175 TTransitionValidator& aValidator); |
|
176 /** |
|
177 @fn TransitMethodL() |
|
178 Intended Usage : To execute the RStringPool::Dtor method for the test harness. |
|
179 Error Condition : Leaves with an error code. |
|
180 @leave KErrNoMemory, (@see RStringPool::Dtor) |
|
181 @since 6.0 |
|
182 @return None |
|
183 @pre CStringPool_Dtor_Transition is fully constructed. |
|
184 @post No change in the CStringPool_Dtor_Transition apart |
|
185 from iStringPool, which may have changed state. |
|
186 (@see RStringPool::Dtor post-condition) for iStringPool's new state. |
|
187 */ |
|
188 inline void TransitMethodL(); |
|
189 |
|
190 /** |
|
191 @fn Context() const |
|
192 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
193 Error Condition : None. |
|
194 @since 6.0 |
|
195 @return The unit test context cast to a CStringPool_UnitTestContext |
|
196 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
197 @post No change in the CStringPool_Dtor_Transition |
|
198 */ |
|
199 inline CStringPool_UnitTestContext& Context() const; |
|
200 }; // CStringPool_Dtor_Transition |
|
201 |
|
202 // Add additional Transition class definitions here... |
|
203 |
|
204 |
|
205 // ______________________________________________________________________________ |
|
206 // |
|
207 /** |
|
208 @internalComponent |
|
209 Comments : Transition test of the RStringPool::AeqA method. |
|
210 */ |
|
211 class CStringPool_AeqA_Transition : public CTransitionType |
|
212 { |
|
213 public: |
|
214 /** |
|
215 @fn CRStringPool_AeqA_Transition(CUnitTestContext& aUTContext, |
|
216 TTransitionValidator& aValidator) |
|
217 Intended Usage : Standard c'tor method. |
|
218 Error Condition : None. |
|
219 @since 6.0 |
|
220 @param aUTContext The context this transition is operating in. |
|
221 @param aValidator Used for checking the pre & post conditions of the test object. |
|
222 @pre None. |
|
223 @post CRStringPool_AeqA_Transition is fully constructed. |
|
224 */ |
|
225 CStringPool_AeqA_Transition(CUnitTestContext& aUTContext, |
|
226 TTransitionValidator& aValidator); |
|
227 /** |
|
228 @fn TransitMethodL() |
|
229 Intended Usage : To execute the RStringPool::AeqA method for the test harness. |
|
230 Error Condition : Leaves with an error code. |
|
231 @leave KErrNoMemory, (@see RStringPool::AeqA) |
|
232 @since 6.0 |
|
233 @return None |
|
234 @pre CRStringPool_AeqA_Transition is fully constructed. |
|
235 @post No change in the CRStringPool_AeqA_Transition apart |
|
236 from iRStringPool, which may have changed state. |
|
237 (@see RStringPool::AeqA post-condition) for iRStringPool's new state. |
|
238 */ |
|
239 inline void TransitMethodL(); |
|
240 |
|
241 /** |
|
242 @fn Context() const |
|
243 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
244 Error Condition : None. |
|
245 @since 6.0 |
|
246 @return The unit test context cast to a CRStringPool_UnitTestContext |
|
247 @pre iUTContext is a valid CRStringPool_UnitTestContext. |
|
248 @post No change in the CRStringPool_AeqA_Transition |
|
249 */ |
|
250 inline CStringPool_UnitTestContext& Context() const; |
|
251 }; // CRStringPool_AeqA_Transition |
|
252 |
|
253 // ______________________________________________________________________________ |
|
254 // |
|
255 /** |
|
256 @internalComponent |
|
257 Comments : Transition test of the StringPool::AneA method. |
|
258 */ |
|
259 class CStringPool_AneA_Transition : public CTransitionType |
|
260 { |
|
261 public: |
|
262 /** |
|
263 @fn CStringPool_AneA_Transition(CUnitTestContext& aUTContext, |
|
264 TTransitionValidator& aValidator) |
|
265 Intended Usage : Standard c'tor method. |
|
266 Error Condition : None. |
|
267 @since 6.0 |
|
268 @param aUTContext The context this transition is operating in. |
|
269 @param aValidator Used for checking the pre & post conditions of the test object. |
|
270 @pre None. |
|
271 @post CStringPool_AneA_Transition is fully constructed. |
|
272 */ |
|
273 CStringPool_AneA_Transition(CUnitTestContext& aUTContext, |
|
274 TTransitionValidator& aValidator); |
|
275 /** |
|
276 @fn TransitMethodL() |
|
277 Intended Usage : To execute the StringPool::AneA method for the test harness. |
|
278 Error Condition : Leaves with an error code. |
|
279 @leave KErrNoMemory, (@see StringPool::AneA) |
|
280 @since 6.0 |
|
281 @return None |
|
282 @pre CStringPool_AneA_Transition is fully constructed. |
|
283 @post No change in the CStringPool_AneA_Transition apart |
|
284 from iStringPool, which may have changed state. |
|
285 (@see StringPool::AneA post-condition) for iStringPool's new state. |
|
286 */ |
|
287 inline void TransitMethodL(); |
|
288 |
|
289 /** |
|
290 @fn Context() const |
|
291 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
292 Error Condition : None. |
|
293 @since 6.0 |
|
294 @return The unit test context cast to a CStringPool_UnitTestContext |
|
295 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
296 @post No change in the CStringPool_AneA_Transition |
|
297 */ |
|
298 inline CStringPool_UnitTestContext& Context() const; |
|
299 }; // CStringPool_AneA_Transition |
|
300 |
|
301 |
|
302 // ______________________________________________________________________________ |
|
303 // |
|
304 /** |
|
305 @internalComponent |
|
306 Comments : Transition test of the StringPool::AeqB method. |
|
307 */ |
|
308 class CStringPool_AeqB_Transition : public CTransitionType |
|
309 { |
|
310 public: |
|
311 /** |
|
312 @fn CStringPool_AeqB_Transition(CUnitTestContext& aUTContext, |
|
313 TTransitionValidator& aValidator) |
|
314 Intended Usage : Standard c'tor method. |
|
315 Error Condition : None. |
|
316 @since 6.0 |
|
317 @param aUTContext The context this transition is operating in. |
|
318 @param aValidator Used for checking the pre & post conditions of the test object. |
|
319 @pre None. |
|
320 @post CStringPool_AeqB_Transition is fully constructed. |
|
321 */ |
|
322 CStringPool_AeqB_Transition(CUnitTestContext& aUTContext, |
|
323 TTransitionValidator& aValidator); |
|
324 /** |
|
325 @fn TransitMethodL() |
|
326 Intended Usage : To execute the StringPool::AeqB method for the test harness. |
|
327 Error Condition : Leaves with an error code. |
|
328 @leave KErrNoMemory, (@see StringPool::AeqB) |
|
329 @since 6.0 |
|
330 @return None |
|
331 @pre CStringPool_AeqB_Transition is fully constructed. |
|
332 @post No change in the CStringPool_AeqB_Transition apart |
|
333 from iStringPool, which may have changed state. |
|
334 (@see StringPool::AeqB post-condition) for iStringPool's new state. |
|
335 */ |
|
336 inline void TransitMethodL(); |
|
337 |
|
338 /** |
|
339 @fn Context() const |
|
340 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
341 Error Condition : None. |
|
342 @since 6.0 |
|
343 @return The unit test context cast to a CStringPool_UnitTestContext |
|
344 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
345 @post No change in the CStringPool_AeqB_Transition |
|
346 */ |
|
347 inline CStringPool_UnitTestContext& Context() const; |
|
348 }; // CStringPool_AeqB_Transition |
|
349 |
|
350 // ______________________________________________________________________________ |
|
351 // |
|
352 /** |
|
353 @internalComponent |
|
354 Comments : Transition test of the StringPool::AneB method. |
|
355 */ |
|
356 class CStringPool_AneB_Transition : public CTransitionType |
|
357 { |
|
358 public: |
|
359 /** |
|
360 @fn CStringPool_AneB_Transition(CUnitTestContext& aUTContext, |
|
361 TTransitionValidator& aValidator) |
|
362 Intended Usage : Standard c'tor method. |
|
363 Error Condition : None. |
|
364 @since 6.0 |
|
365 @param aUTContext The context this transition is operating in. |
|
366 @param aValidator Used for checking the pre & post conditions of the test object. |
|
367 @pre None. |
|
368 @post CStringPool_AneB_Transition is fully constructed. |
|
369 */ |
|
370 CStringPool_AneB_Transition(CUnitTestContext& aUTContext, |
|
371 TTransitionValidator& aValidator); |
|
372 /** |
|
373 @fn TransitMethodL() |
|
374 Intended Usage : To execute the StringPool::AneB method for the test harness. |
|
375 Error Condition : Leaves with an error code. |
|
376 @leave KErrNoMemory, (@see StringPool::AneB) |
|
377 @since 6.0 |
|
378 @return None |
|
379 @pre CStringPool_AneB_Transition is fully constructed. |
|
380 @post No change in the CStringPool_AneB_Transition apart |
|
381 from iStringPool, which may have changed state. |
|
382 (@see StringPool::AneB post-condition) for iStringPool's new state. |
|
383 */ |
|
384 inline void TransitMethodL(); |
|
385 |
|
386 /** |
|
387 @fn Context() const |
|
388 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
389 Error Condition : None. |
|
390 @since 6.0 |
|
391 @return The unit test context cast to a CStringPool_UnitTestContext |
|
392 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
393 @post No change in the CStringPool_AneB_Transition |
|
394 */ |
|
395 inline CStringPool_UnitTestContext& Context() const; |
|
396 }; // CStringPool_AneB_Transition |
|
397 |
|
398 // ______________________________________________________________________________ |
|
399 // |
|
400 /** |
|
401 @internalComponent |
|
402 Comments : Transition test of the StringPool::AeqD method. |
|
403 */ |
|
404 class CStringPool_AeqD_Transition : public CTransitionType |
|
405 { |
|
406 public: |
|
407 /** |
|
408 @fn CStringPool_AeqD_Transition(CUnitTestContext& aUTContext, |
|
409 TTransitionValidator& aValidator) |
|
410 Intended Usage : Standard c'tor method. |
|
411 Error Condition : None. |
|
412 @since 6.0 |
|
413 @param aUTContext The context this transition is operating in. |
|
414 @param aValidator Used for checking the pre & post conditions of the test object. |
|
415 @pre None. |
|
416 @post CStringPool_AeqD_Transition is fully constructed. |
|
417 */ |
|
418 CStringPool_AeqD_Transition(CUnitTestContext& aUTContext, |
|
419 TTransitionValidator& aValidator); |
|
420 /** |
|
421 @fn TransitMethodL() |
|
422 Intended Usage : To execute the StringPool::AeqD method for the test harness. |
|
423 Error Condition : Leaves with an error code. |
|
424 @leave KErrNoMemory, (@see StringPool::AeqD) |
|
425 @since 6.0 |
|
426 @return None |
|
427 @pre CStringPool_AeqD_Transition is fully constructed. |
|
428 @post No change in the CStringPool_AeqD_Transition apart |
|
429 from iStringPool, which may have changed state. |
|
430 (@see StringPool::AeqD post-condition) for iStringPool's new state. |
|
431 */ |
|
432 inline void TransitMethodL(); |
|
433 |
|
434 /** |
|
435 @fn Context() const |
|
436 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
437 Error Condition : None. |
|
438 @since 6.0 |
|
439 @return The unit test context cast to a CStringPool_UnitTestContext |
|
440 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
441 @post No change in the CStringPool_AeqD_Transition |
|
442 */ |
|
443 inline CStringPool_UnitTestContext& Context() const; |
|
444 }; // CStringPool_AeqD_Transition |
|
445 |
|
446 // ______________________________________________________________________________ |
|
447 // |
|
448 /** |
|
449 @internalComponent |
|
450 Comments : Transition test of the StringPool::AneD method. |
|
451 */ |
|
452 class CStringPool_AneD_Transition : public CTransitionType |
|
453 { |
|
454 public: |
|
455 /** |
|
456 @fn CStringPool_AneD_Transition(CUnitTestContext& aUTContext, |
|
457 TTransitionValidator& aValidator) |
|
458 Intended Usage : Standard c'tor method. |
|
459 Error Condition : None. |
|
460 @since 6.0 |
|
461 @param aUTContext The context this transition is operating in. |
|
462 @param aValidator Used for checking the pre & post conditions of the test object. |
|
463 @pre None. |
|
464 @post CStringPool_AneD_Transition is fully constructed. |
|
465 */ |
|
466 CStringPool_AneD_Transition(CUnitTestContext& aUTContext, |
|
467 TTransitionValidator& aValidator); |
|
468 /** |
|
469 @fn TransitMethodL() |
|
470 Intended Usage : To execute the StringPool::AneD method for the test harness. |
|
471 Error Condition : Leaves with an error code. |
|
472 @leave KErrNoMemory, (@see StringPool::AneD) |
|
473 @since 6.0 |
|
474 @return None |
|
475 @pre CStringPool_AneD_Transition is fully constructed. |
|
476 @post No change in the CStringPool_AneD_Transition apart |
|
477 from iStringPool, which may have changed state. |
|
478 (@see StringPool::AneD post-condition) for iStringPool's new state. |
|
479 */ |
|
480 inline void TransitMethodL(); |
|
481 |
|
482 /** |
|
483 @fn Context() const |
|
484 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
485 Error Condition : None. |
|
486 @since 6.0 |
|
487 @return The unit test context cast to a CStringPool_UnitTestContext |
|
488 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
489 @post No change in the CStringPool_AneD_Transition |
|
490 */ |
|
491 inline CStringPool_UnitTestContext& Context() const; |
|
492 }; // CStringPool_AneD_Transition |
|
493 |
|
494 |
|
495 // ______________________________________________________________________________ |
|
496 // |
|
497 /** |
|
498 @internalComponent |
|
499 Comments : Transition test of the StringPool::Desc method. |
|
500 */ |
|
501 class CStringPool_Desc_Transition : public CTransitionType |
|
502 { |
|
503 public: |
|
504 /** |
|
505 @fn CStringPool_Desc_Transition(CUnitTestContext& aUTContext, |
|
506 TTransitionValidator& aValidator) |
|
507 Intended Usage : Standard c'tor method. |
|
508 Error Condition : None. |
|
509 @since 6.0 |
|
510 @param aUTContext The context this transition is operating in. |
|
511 @param aValidator Used for checking the pre & post conditions of the test object. |
|
512 @pre None. |
|
513 @post CStringPool_Desc_Transition is fully constructed. |
|
514 */ |
|
515 CStringPool_Desc_Transition(CUnitTestContext& aUTContext, |
|
516 TTransitionValidator& aValidator); |
|
517 /** |
|
518 @fn TransitMethodL() |
|
519 Intended Usage : To execute the StringPool::Desc method for the test harness. |
|
520 Error Condition : Leaves with an error code. |
|
521 @leave KErrNoMemory, (@see StringPool::Desc) |
|
522 @since 6.0 |
|
523 @return None |
|
524 @pre CStringPool_Desc_Transition is fully constructed. |
|
525 @post No change in the CStringPool_Desc_Transition apart |
|
526 from iStringPool, which may have changed state. |
|
527 (@see StringPool::Desc post-condition) for iStringPool's new state. |
|
528 */ |
|
529 inline void TransitMethodL(); |
|
530 |
|
531 /** |
|
532 @fn Context() const |
|
533 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
534 Error Condition : None. |
|
535 @since 6.0 |
|
536 @return The unit test context cast to a CStringPool_UnitTestContext |
|
537 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
538 @post No change in the CStringPool_Desc_Transition |
|
539 */ |
|
540 inline CStringPool_UnitTestContext& Context() const; |
|
541 }; // CStringPool_Desc_Transition |
|
542 |
|
543 // ______________________________________________________________________________ |
|
544 // |
|
545 /** |
|
546 @internalComponent |
|
547 Comments : Transition test of the StringPool::Copy method. |
|
548 */ |
|
549 class CStringPool_Copy_Transition : public CTransitionType |
|
550 { |
|
551 public: |
|
552 /** |
|
553 @fn CStringPool_Copy_Transition(CUnitTestContext& aUTContext, |
|
554 TTransitionValidator& aValidator) |
|
555 Intended Usage : Standard c'tor method. |
|
556 Error Condition : None. |
|
557 @since 6.0 |
|
558 @param aUTContext The context this transition is operating in. |
|
559 @param aValidator Used for checking the pre & post conditions of the test object. |
|
560 @pre None. |
|
561 @post CStringPool_Copy_Transition is fully constructed. |
|
562 */ |
|
563 CStringPool_Copy_Transition(CUnitTestContext& aUTContext, |
|
564 TTransitionValidator& aValidator); |
|
565 /** |
|
566 @fn TransitMethodL() |
|
567 Intended Usage : To execute the StringPool::Copy method for the test harness. |
|
568 Error Condition : Leaves with an error code. |
|
569 @leave KErrNoMemory, (@see StringPool::Copy) |
|
570 @since 6.0 |
|
571 @return None |
|
572 @pre CStringPool_Copy_Transition is fully constructed. |
|
573 @post No change in the CStringPool_Copy_Transition apart |
|
574 from iStringPool, which may have changed state. |
|
575 (@see StringPool::Copy post-condition) for iStringPool's new state. |
|
576 */ |
|
577 inline void TransitMethodL(); |
|
578 |
|
579 /** |
|
580 @fn Context() const |
|
581 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
582 Error Condition : None. |
|
583 @since 6.0 |
|
584 @return The unit test context cast to a CStringPool_UnitTestContext |
|
585 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
586 @post No change in the CStringPool_Copy_Transition |
|
587 */ |
|
588 inline CStringPool_UnitTestContext& Context() const; |
|
589 }; // CStringPool_Copy_Transition |
|
590 |
|
591 // ______________________________________________________________________________ |
|
592 // |
|
593 /** |
|
594 @internalComponent |
|
595 Comments : Transition test of the StringPool::CDesC method. |
|
596 */ |
|
597 class CStringPool_CDesC_Transition : public CTransitionType |
|
598 { |
|
599 public: |
|
600 /** |
|
601 @fn CStringPool_CDesC_Transition(CUnitTestContext& aUTContext, |
|
602 TTransitionValidator& aValidator) |
|
603 Intended Usage : Standard c'tor method. |
|
604 Error Condition : None. |
|
605 @since 6.0 |
|
606 @param aUTContext The context this transition is operating in. |
|
607 @param aValidator Used for checking the pre & post conditions of the test object. |
|
608 @pre None. |
|
609 @post CStringPool_CDesC_Transition is fully constructed. |
|
610 */ |
|
611 CStringPool_CDesC_Transition(CUnitTestContext& aUTContext, |
|
612 TTransitionValidator& aValidator); |
|
613 /** |
|
614 @fn TransitMethodL() |
|
615 Intended Usage : To execute the StringPool::CDesC method for the test harness. |
|
616 Error Condition : Leaves with an error code. |
|
617 @leave KErrNoMemory, (@see StringPool::CDesC) |
|
618 @since 6.0 |
|
619 @return None |
|
620 @pre CStringPool_CDesC_Transition is fully constructed. |
|
621 @post No change in the CStringPool_CDesC_Transition apart |
|
622 from iStringPool, which may have changed state. |
|
623 (@see StringPool::CDesC post-condition) for iStringPool's new state. |
|
624 */ |
|
625 inline void TransitMethodL(); |
|
626 |
|
627 /** |
|
628 @fn Context() const |
|
629 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
630 Error Condition : None. |
|
631 @since 6.0 |
|
632 @return The unit test context cast to a CStringPool_UnitTestContext |
|
633 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
634 @post No change in the CStringPool_CDesC_Transition |
|
635 */ |
|
636 inline CStringPool_UnitTestContext& Context() const; |
|
637 }; // CStringPool_CDesC_Transition |
|
638 |
|
639 // ______________________________________________________________________________ |
|
640 // |
|
641 /** |
|
642 @internalComponent |
|
643 Comments : Transition test of the StringPool::Close method. |
|
644 */ |
|
645 class CStringPool_Close_Transition : public CTransitionType |
|
646 { |
|
647 public: |
|
648 /** |
|
649 @fn CStringPool_Close_Transition(CUnitTestContext& aUTContext, |
|
650 TTransitionValidator& aValidator) |
|
651 Intended Usage : Standard c'tor method. |
|
652 Error Condition : None. |
|
653 @since 6.0 |
|
654 @param aUTContext The context this transition is operating in. |
|
655 @param aValidator Used for checking the pre & post conditions of the test object. |
|
656 @pre None. |
|
657 @post CStringPool_Close_Transition is fully constructed. |
|
658 */ |
|
659 CStringPool_Close_Transition(CUnitTestContext& aUTContext, |
|
660 TTransitionValidator& aValidator); |
|
661 /** |
|
662 @fn TransitMethodL() |
|
663 Intended Usage : To execute the StringPool::Close method for the test harness. |
|
664 Error Condition : Leaves with an error code. |
|
665 @leave KErrNoMemory, (@see StringPool::Close) |
|
666 @since 6.0 |
|
667 @return None |
|
668 @pre CStringPool_Close_Transition is fully constructed. |
|
669 @post No change in the CStringPool_Close_Transition apart |
|
670 from iStringPool, which may have changed state. |
|
671 (@see StringPool::Close post-condition) for iStringPool's new state. |
|
672 */ |
|
673 inline void TransitMethodL(); |
|
674 |
|
675 /** |
|
676 @fn Context() const |
|
677 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
678 Error Condition : None. |
|
679 @since 6.0 |
|
680 @return The unit test context cast to a CStringPool_UnitTestContext |
|
681 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
682 @post No change in the CStringPool_Close_Transition |
|
683 */ |
|
684 inline CStringPool_UnitTestContext& Context() const; |
|
685 }; // CStringPool_Close_Transition |
|
686 |
|
687 // ______________________________________________________________________________ |
|
688 // |
|
689 /** |
|
690 @internalComponent |
|
691 Comments : Transition test of the StringPool::Int method. |
|
692 */ |
|
693 class CStringPool_Int_Transition : public CTransitionType |
|
694 { |
|
695 public: |
|
696 /** |
|
697 @fn CStringPool_Int_Transition(CUnitTestContext& aUTContext, |
|
698 TTransitionValidator& aValidator) |
|
699 Intended Usage : Standard c'tor method. |
|
700 Error Condition : None. |
|
701 @since 6.0 |
|
702 @param aUTContext The context this transition is operating in. |
|
703 @param aValidator Used for checking the pre & post conditions of the test object. |
|
704 @pre None. |
|
705 @post CStringPool_Int_Transition is fully constructed. |
|
706 */ |
|
707 CStringPool_Int_Transition(CUnitTestContext& aUTContext, |
|
708 TTransitionValidator& aValidator); |
|
709 /** |
|
710 @fn TransitMethodL() |
|
711 Intended Usage : To execute the StringPool::Int method for the test harness. |
|
712 Error Condition : Leaves with an error code. |
|
713 @leave KErrNoMemory, (@see StringPool::Int) |
|
714 @since 6.0 |
|
715 @return None |
|
716 @pre CStringPool_Int_Transition is fully constructed. |
|
717 @post No change in the CStringPool_Int_Transition apart |
|
718 from iStringPool, which may have changed state. |
|
719 (@see StringPool::Int post-condition) for iStringPool's new state. |
|
720 */ |
|
721 inline void TransitMethodL(); |
|
722 |
|
723 /** |
|
724 @fn Context() const |
|
725 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
726 Error Condition : None. |
|
727 @since 6.0 |
|
728 @return The unit test context cast to a CStringPool_UnitTestContext |
|
729 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
730 @post No change in the CStringPool_Int_Transition |
|
731 */ |
|
732 inline CStringPool_UnitTestContext& Context() const; |
|
733 }; // CStringPool_Int_Transition |
|
734 |
|
735 |
|
736 // ______________________________________________________________________________ |
|
737 // |
|
738 /** |
|
739 @internalComponent |
|
740 Comments : Transition test of the StringPool::StringToken method. |
|
741 */ |
|
742 class CStringPool_StringToken_Transition : public CTransitionType |
|
743 { |
|
744 public: |
|
745 /** |
|
746 @fn CStringPool_StringToken_Transition(CUnitTestContext& aUTContext, |
|
747 TTransitionValidator& aValidator) |
|
748 Intended Usage : Standard c'tor method. |
|
749 Error Condition : None. |
|
750 @since 6.0 |
|
751 @param aUTContext The context this transition is operating in. |
|
752 @param aValidator Used for checking the pre & post conditions of the test object. |
|
753 @pre None. |
|
754 @post CStringPool_StringToken_Transition is fully constructed. |
|
755 */ |
|
756 CStringPool_StringToken_Transition(CUnitTestContext& aUTContext, |
|
757 TTransitionValidator& aValidator); |
|
758 /** |
|
759 @fn TransitMethodL() |
|
760 Intended Usage : To execute the StringPool::StringToken method for the test harness. |
|
761 Error Condition : Leaves with an error code. |
|
762 @leave KErrNoMemory, (@see StringPool::StringToken) |
|
763 @since 6.0 |
|
764 @return None |
|
765 @pre CStringPool_StringToken_Transition is fully constructed. |
|
766 @post No change in the CStringPool_StringToken_Transition apart |
|
767 from iStringPool, which may have changed state. |
|
768 (@see StringPool::StringToken post-condition) for iStringPool's new state. |
|
769 */ |
|
770 inline void TransitMethodL(); |
|
771 |
|
772 /** |
|
773 @fn Context() const |
|
774 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
775 Error Condition : None. |
|
776 @since 6.0 |
|
777 @return The unit test context cast to a CStringPool_UnitTestContext |
|
778 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
779 @post No change in the CStringPool_StringToken_Transition |
|
780 */ |
|
781 inline CStringPool_UnitTestContext& Context() const; |
|
782 }; // CStringPool_StringToken_Transition |
|
783 |
|
784 |
|
785 |
|
786 |
|
787 |
|
788 |
|
789 |
|
790 |
|
791 |
|
792 |
|
793 |
|
794 |
|
795 |
|
796 |
|
797 |
|
798 |
|
799 |
|
800 |
|
801 |
|
802 |
|
803 |
|
804 |
|
805 |
|
806 |
|
807 |
|
808 |
|
809 |
|
810 |
|
811 |
|
812 |
|
813 |
|
814 |
|
815 |
|
816 |
|
817 |
|
818 |
|
819 |
|
820 |
|
821 |
|
822 |
|
823 |
|
824 |
|
825 |
|
826 |
|
827 |
|
828 // ______________________________________________________________________________ |
|
829 // |
|
830 /** |
|
831 @internalComponent |
|
832 Comments : Transition test of the RStringPool::AeqA method. |
|
833 */ |
|
834 class CStringPool_FAeqA_Transition : public CTransitionType |
|
835 { |
|
836 public: |
|
837 /** |
|
838 @fn CRStringPool_AeqA_Transition(CUnitTestContext& aUTContext, |
|
839 TTransitionValidator& aValidator) |
|
840 Intended Usage : Standard c'tor method. |
|
841 Error Condition : None. |
|
842 @since 6.0 |
|
843 @param aUTContext The context this transition is operating in. |
|
844 @param aValidator Used for checking the pre & post conditions of the test object. |
|
845 @pre None. |
|
846 @post CRStringPool_AeqA_Transition is fully constructed. |
|
847 */ |
|
848 CStringPool_FAeqA_Transition(CUnitTestContext& aUTContext, |
|
849 TTransitionValidator& aValidator); |
|
850 /** |
|
851 @fn TransitMethodL() |
|
852 Intended Usage : To execute the RStringPool::AeqA method for the test harness. |
|
853 Error Condition : Leaves with an error code. |
|
854 @leave KErrNoMemory, (@see RStringPool::AeqA) |
|
855 @since 6.0 |
|
856 @return None |
|
857 @pre CRStringPool_AeqA_Transition is fully constructed. |
|
858 @post No change in the CRStringPool_AeqA_Transition apart |
|
859 from iRStringPool, which may have changed state. |
|
860 (@see RStringPool::AeqA post-condition) for iRStringPool's new state. |
|
861 */ |
|
862 inline void TransitMethodL(); |
|
863 |
|
864 /** |
|
865 @fn Context() const |
|
866 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
867 Error Condition : None. |
|
868 @since 6.0 |
|
869 @return The unit test context cast to a CRStringPool_UnitTestContext |
|
870 @pre iUTContext is a valid CRStringPool_UnitTestContext. |
|
871 @post No change in the CRStringPool_AeqA_Transition |
|
872 */ |
|
873 inline CStringPool_UnitTestContext& Context() const; |
|
874 }; // CRStringPool_AeqA_Transition |
|
875 |
|
876 // ______________________________________________________________________________ |
|
877 // |
|
878 /** |
|
879 @internalComponent |
|
880 Comments : Transition test of the StringPool::AneA method. |
|
881 */ |
|
882 class CStringPool_FAneA_Transition : public CTransitionType |
|
883 { |
|
884 public: |
|
885 /** |
|
886 @fn CStringPool_FAneA_Transition(CUnitTestContext& aUTContext, |
|
887 TTransitionValidator& aValidator) |
|
888 Intended Usage : Standard c'tor method. |
|
889 Error Condition : None. |
|
890 @since 6.0 |
|
891 @param aUTContext The context this transition is operating in. |
|
892 @param aValidator Used for checking the pre & post conditions of the test object. |
|
893 @pre None. |
|
894 @post CStringPool_FAneA_Transition is fully constructed. |
|
895 */ |
|
896 CStringPool_FAneA_Transition(CUnitTestContext& aUTContext, |
|
897 TTransitionValidator& aValidator); |
|
898 /** |
|
899 @fn TransitMethodL() |
|
900 Intended Usage : To execute the StringPool::AneA method for the test harness. |
|
901 Error Condition : Leaves with an error code. |
|
902 @leave KErrNoMemory, (@see StringPool::AneA) |
|
903 @since 6.0 |
|
904 @return None |
|
905 @pre CStringPool_FAneA_Transition is fully constructed. |
|
906 @post No change in the CStringPool_FAneA_Transition apart |
|
907 from iStringPool, which may have changed state. |
|
908 (@see StringPool::AneA post-condition) for iStringPool's new state. |
|
909 */ |
|
910 inline void TransitMethodL(); |
|
911 |
|
912 /** |
|
913 @fn Context() const |
|
914 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
915 Error Condition : None. |
|
916 @since 6.0 |
|
917 @return The unit test context cast to a CStringPool_UnitTestContext |
|
918 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
919 @post No change in the CStringPool_FAneA_Transition |
|
920 */ |
|
921 inline CStringPool_UnitTestContext& Context() const; |
|
922 }; // CStringPool_FAneA_Transition |
|
923 |
|
924 |
|
925 // ______________________________________________________________________________ |
|
926 // |
|
927 /** |
|
928 @internalComponent |
|
929 Comments : Transition test of the StringPool::AeqB method. |
|
930 */ |
|
931 class CStringPool_FAeqB_Transition : public CTransitionType |
|
932 { |
|
933 public: |
|
934 /** |
|
935 @fn CStringPool_FAeqB_Transition(CUnitTestContext& aUTContext, |
|
936 TTransitionValidator& aValidator) |
|
937 Intended Usage : Standard c'tor method. |
|
938 Error Condition : None. |
|
939 @since 6.0 |
|
940 @param aUTContext The context this transition is operating in. |
|
941 @param aValidator Used for checking the pre & post conditions of the test object. |
|
942 @pre None. |
|
943 @post CStringPool_FAeqB_Transition is fully constructed. |
|
944 */ |
|
945 CStringPool_FAeqB_Transition(CUnitTestContext& aUTContext, |
|
946 TTransitionValidator& aValidator); |
|
947 /** |
|
948 @fn TransitMethodL() |
|
949 Intended Usage : To execute the StringPool::AeqB method for the test harness. |
|
950 Error Condition : Leaves with an error code. |
|
951 @leave KErrNoMemory, (@see StringPool::AeqB) |
|
952 @since 6.0 |
|
953 @return None |
|
954 @pre CStringPool_FAeqB_Transition is fully constructed. |
|
955 @post No change in the CStringPool_FAeqB_Transition apart |
|
956 from iStringPool, which may have changed state. |
|
957 (@see StringPool::AeqB post-condition) for iStringPool's new state. |
|
958 */ |
|
959 inline void TransitMethodL(); |
|
960 |
|
961 /** |
|
962 @fn Context() const |
|
963 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
964 Error Condition : None. |
|
965 @since 6.0 |
|
966 @return The unit test context cast to a CStringPool_UnitTestContext |
|
967 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
968 @post No change in the CStringPool_AeqB_Transition |
|
969 */ |
|
970 inline CStringPool_UnitTestContext& Context() const; |
|
971 }; // CStringPool_FAeqB_Transition |
|
972 |
|
973 // ______________________________________________________________________________ |
|
974 // |
|
975 /** |
|
976 @internalComponent |
|
977 Comments : Transition test of the StringPool::AneB method. |
|
978 */ |
|
979 class CStringPool_FAneB_Transition : public CTransitionType |
|
980 { |
|
981 public: |
|
982 /** |
|
983 @fn CStringPool_FAneB_Transition(CUnitTestContext& aUTContext, |
|
984 TTransitionValidator& aValidator) |
|
985 Intended Usage : Standard c'tor method. |
|
986 Error Condition : None. |
|
987 @since 6.0 |
|
988 @param aUTContext The context this transition is operating in. |
|
989 @param aValidator Used for checking the pre & post conditions of the test object. |
|
990 @pre None. |
|
991 @post CStringPool_FAneB_Transition is fully constructed. |
|
992 */ |
|
993 CStringPool_FAneB_Transition(CUnitTestContext& aUTContext, |
|
994 TTransitionValidator& aValidator); |
|
995 /** |
|
996 @fn TransitMethodL() |
|
997 Intended Usage : To execute the StringPool::AneB method for the test harness. |
|
998 Error Condition : Leaves with an error code. |
|
999 @leave KErrNoMemory, (@see StringPool::AneB) |
|
1000 @since 6.0 |
|
1001 @return None |
|
1002 @pre CStringPool_FAneB_Transition is fully constructed. |
|
1003 @post No change in the CStringPool_FAneB_Transition apart |
|
1004 from iStringPool, which may have changed state. |
|
1005 (@see StringPool::AneB post-condition) for iStringPool's new state. |
|
1006 */ |
|
1007 inline void TransitMethodL(); |
|
1008 |
|
1009 /** |
|
1010 @fn Context() const |
|
1011 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1012 Error Condition : None. |
|
1013 @since 6.0 |
|
1014 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1015 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1016 @post No change in the CStringPool_AneB_Transition |
|
1017 */ |
|
1018 inline CStringPool_UnitTestContext& Context() const; |
|
1019 }; // CStringPool_FAneB_Transition |
|
1020 |
|
1021 // ______________________________________________________________________________ |
|
1022 // |
|
1023 /** |
|
1024 @internalComponent |
|
1025 Comments : Transition test of the StringPool::AeqD method. |
|
1026 */ |
|
1027 class CStringPool_FAeqD_Transition : public CTransitionType |
|
1028 { |
|
1029 public: |
|
1030 /** |
|
1031 @fn CStringPool_FAeqD_Transition(CUnitTestContext& aUTContext, |
|
1032 TTransitionValidator& aValidator) |
|
1033 Intended Usage : Standard c'tor method. |
|
1034 Error Condition : None. |
|
1035 @since 6.0 |
|
1036 @param aUTContext The context this transition is operating in. |
|
1037 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1038 @pre None. |
|
1039 @post CStringPool_FAeqD_Transition is fully constructed. |
|
1040 */ |
|
1041 CStringPool_FAeqD_Transition(CUnitTestContext& aUTContext, |
|
1042 TTransitionValidator& aValidator); |
|
1043 /** |
|
1044 @fn TransitMethodL() |
|
1045 Intended Usage : To execute the StringPool::AeqD method for the test harness. |
|
1046 Error Condition : Leaves with an error code. |
|
1047 @leave KErrNoMemory, (@see StringPool::AeqD) |
|
1048 @since 6.0 |
|
1049 @return None |
|
1050 @pre CStringPool_FAeqD_Transition is fully constructed. |
|
1051 @post No change in the CStringPool_FAeqD_Transition apart |
|
1052 from iStringPool, which may have changed state. |
|
1053 (@see StringPool::AeqD post-condition) for iStringPool's new state. |
|
1054 */ |
|
1055 inline void TransitMethodL(); |
|
1056 |
|
1057 /** |
|
1058 @fn Context() const |
|
1059 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1060 Error Condition : None. |
|
1061 @since 6.0 |
|
1062 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1063 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1064 @post No change in the CStringPool_AeqD_Transition |
|
1065 */ |
|
1066 inline CStringPool_UnitTestContext& Context() const; |
|
1067 }; // CStringPool_FAeqD_Transition |
|
1068 |
|
1069 // ______________________________________________________________________________ |
|
1070 // |
|
1071 /** |
|
1072 @internalComponent |
|
1073 Comments : Transition test of the StringPool::AneD method. |
|
1074 */ |
|
1075 class CStringPool_FAneD_Transition : public CTransitionType |
|
1076 { |
|
1077 public: |
|
1078 /** |
|
1079 @fn CStringPool_FAneD_Transition(CUnitTestContext& aUTContext, |
|
1080 TTransitionValidator& aValidator) |
|
1081 Intended Usage : Standard c'tor method. |
|
1082 Error Condition : None. |
|
1083 @since 6.0 |
|
1084 @param aUTContext The context this transition is operating in. |
|
1085 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1086 @pre None. |
|
1087 @post CStringPool_FAneD_Transition is fully constructed. |
|
1088 */ |
|
1089 CStringPool_FAneD_Transition(CUnitTestContext& aUTContext, |
|
1090 TTransitionValidator& aValidator); |
|
1091 /** |
|
1092 @fn TransitMethodL() |
|
1093 Intended Usage : To execute the StringPool::AneD method for the test harness. |
|
1094 Error Condition : Leaves with an error code. |
|
1095 @leave KErrNoMemory, (@see StringPool::AneD) |
|
1096 @since 6.0 |
|
1097 @return None |
|
1098 @pre CStringPool_FAneD_Transition is fully constructed. |
|
1099 @post No change in the CStringPool_FAneD_Transition apart |
|
1100 from iStringPool, which may have changed state. |
|
1101 (@see StringPool::AneD post-condition) for iStringPool's new state. |
|
1102 */ |
|
1103 inline void TransitMethodL(); |
|
1104 |
|
1105 /** |
|
1106 @fn Context() const |
|
1107 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1108 Error Condition : None. |
|
1109 @since 6.0 |
|
1110 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1111 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1112 @post No change in the CStringPool_AneD_Transition |
|
1113 */ |
|
1114 inline CStringPool_UnitTestContext& Context() const; |
|
1115 }; // CStringPool_FAneD_Transition |
|
1116 |
|
1117 |
|
1118 // ______________________________________________________________________________ |
|
1119 // |
|
1120 /** |
|
1121 @internalComponent |
|
1122 Comments : Transition test of the StringPool::Desc method. |
|
1123 */ |
|
1124 class CStringPool_FDesc_Transition : public CTransitionType |
|
1125 { |
|
1126 public: |
|
1127 /** |
|
1128 @fn CStringPool_FDesc_Transition(CUnitTestContext& aUTContext, |
|
1129 TTransitionValidator& aValidator) |
|
1130 Intended Usage : Standard c'tor method. |
|
1131 Error Condition : None. |
|
1132 @since 6.0 |
|
1133 @param aUTContext The context this transition is operating in. |
|
1134 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1135 @pre None. |
|
1136 @post CStringPool_FDesc_Transition is fully constructed. |
|
1137 */ |
|
1138 CStringPool_FDesc_Transition(CUnitTestContext& aUTContext, |
|
1139 TTransitionValidator& aValidator); |
|
1140 /** |
|
1141 @fn TransitMethodL() |
|
1142 Intended Usage : To execute the StringPool::Desc method for the test harness. |
|
1143 Error Condition : Leaves with an error code. |
|
1144 @leave KErrNoMemory, (@see StringPool::Desc) |
|
1145 @since 6.0 |
|
1146 @return None |
|
1147 @pre CStringPool_FDesc_Transition is fully constructed. |
|
1148 @post No change in the CStringPool_FDesc_Transition apart |
|
1149 from iStringPool, which may have changed state. |
|
1150 (@see StringPool::Desc post-condition) for iStringPool's new state. |
|
1151 */ |
|
1152 inline void TransitMethodL(); |
|
1153 |
|
1154 /** |
|
1155 @fn Context() const |
|
1156 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1157 Error Condition : None. |
|
1158 @since 6.0 |
|
1159 @return The unit test context cast to a CStringPool_FUnitTestContext |
|
1160 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1161 @post No change in the CStringPool_Desc_Transition |
|
1162 */ |
|
1163 inline CStringPool_UnitTestContext& Context() const; |
|
1164 }; // CStringPool_FDesc_Transition |
|
1165 |
|
1166 // ______________________________________________________________________________ |
|
1167 // |
|
1168 /** |
|
1169 @internalComponent |
|
1170 Comments : Transition test of the StringPool::Copy method. |
|
1171 */ |
|
1172 class CStringPool_FCopy_Transition : public CTransitionType |
|
1173 { |
|
1174 public: |
|
1175 /** |
|
1176 @fn CStringPool_FCopy_Transition(CUnitTestContext& aUTContext, |
|
1177 TTransitionValidator& aValidator) |
|
1178 Intended Usage : Standard c'tor method. |
|
1179 Error Condition : None. |
|
1180 @since 6.0 |
|
1181 @param aUTContext The context this transition is operating in. |
|
1182 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1183 @pre None. |
|
1184 @post CStringPool_FCopy_Transition is fully constructed. |
|
1185 */ |
|
1186 CStringPool_FCopy_Transition(CUnitTestContext& aUTContext, |
|
1187 TTransitionValidator& aValidator); |
|
1188 /** |
|
1189 @fn TransitMethodL() |
|
1190 Intended Usage : To execute the StringPool::Copy method for the test harness. |
|
1191 Error Condition : Leaves with an error code. |
|
1192 @leave KErrNoMemory, (@see StringPool::Copy) |
|
1193 @since 6.0 |
|
1194 @return None |
|
1195 @pre CStringPool_FCopy_Transition is fully constructed. |
|
1196 @post No change in the CStringPool_FCopy_Transition apart |
|
1197 from iStringPool, which may have changed state. |
|
1198 (@see StringPool::Copy post-condition) for iStringPool's new state. |
|
1199 */ |
|
1200 inline void TransitMethodL(); |
|
1201 |
|
1202 /** |
|
1203 @fn Context() const |
|
1204 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1205 Error Condition : None. |
|
1206 @since 6.0 |
|
1207 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1208 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1209 @post No change in the CStringPool_Copy_Transition |
|
1210 */ |
|
1211 inline CStringPool_UnitTestContext& Context() const; |
|
1212 }; // CStringPool_FCopy_Transition |
|
1213 |
|
1214 // ______________________________________________________________________________ |
|
1215 // |
|
1216 /** |
|
1217 @internalComponent |
|
1218 Comments : Transition test of the StringPool::CDesC method. |
|
1219 */ |
|
1220 class CStringPool_FCDesC_Transition : public CTransitionType |
|
1221 { |
|
1222 public: |
|
1223 /** |
|
1224 @fn CStringPool_FCDesC_Transition(CUnitTestContext& aUTContext, |
|
1225 TTransitionValidator& aValidator) |
|
1226 Intended Usage : Standard c'tor method. |
|
1227 Error Condition : None. |
|
1228 @since 6.0 |
|
1229 @param aUTContext The context this transition is operating in. |
|
1230 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1231 @pre None. |
|
1232 @post CStringPool_FCDesC_Transition is fully constructed. |
|
1233 */ |
|
1234 CStringPool_FCDesC_Transition(CUnitTestContext& aUTContext, |
|
1235 TTransitionValidator& aValidator); |
|
1236 /** |
|
1237 @fn TransitMethodL() |
|
1238 Intended Usage : To execute the StringPool::CDesC method for the test harness. |
|
1239 Error Condition : Leaves with an error code. |
|
1240 @leave KErrNoMemory, (@see StringPool::CDesC) |
|
1241 @since 6.0 |
|
1242 @return None |
|
1243 @pre CStringPool_FCDesC_Transition is fully constructed. |
|
1244 @post No change in the CStringPool_FCDesC_Transition apart |
|
1245 from iStringPool, which may have changed state. |
|
1246 (@see StringPool::CDesC post-condition) for iStringPool's new state. |
|
1247 */ |
|
1248 inline void TransitMethodL(); |
|
1249 |
|
1250 /** |
|
1251 @fn Context() const |
|
1252 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1253 Error Condition : None. |
|
1254 @since 6.0 |
|
1255 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1256 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1257 @post No change in the CStringPool_CDesC_Transition |
|
1258 */ |
|
1259 inline CStringPool_UnitTestContext& Context() const; |
|
1260 }; // CStringPool_FCDesC_Transition |
|
1261 |
|
1262 // ______________________________________________________________________________ |
|
1263 // |
|
1264 /** |
|
1265 @internalComponent |
|
1266 Comments : Transition test of the StringPool::Close method. |
|
1267 */ |
|
1268 class CStringPool_FClose_Transition : public CTransitionType |
|
1269 { |
|
1270 public: |
|
1271 /** |
|
1272 @fn CStringPool_FClose_Transition(CUnitTestContext& aUTContext, |
|
1273 TTransitionValidator& aValidator) |
|
1274 Intended Usage : Standard c'tor method. |
|
1275 Error Condition : None. |
|
1276 @since 6.0 |
|
1277 @param aUTContext The context this transition is operating in. |
|
1278 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1279 @pre None. |
|
1280 @post CStringPool_FClose_Transition is fully constructed. |
|
1281 */ |
|
1282 CStringPool_FClose_Transition(CUnitTestContext& aUTContext, |
|
1283 TTransitionValidator& aValidator); |
|
1284 /** |
|
1285 @fn TransitMethodL() |
|
1286 Intended Usage : To execute the StringPool::Close method for the test harness. |
|
1287 Error Condition : Leaves with an error code. |
|
1288 @leave KErrNoMemory, (@see StringPool::Close) |
|
1289 @since 6.0 |
|
1290 @return None |
|
1291 @pre CStringPool_FClose_Transition is fully constructed. |
|
1292 @post No change in the CStringPool_FClose_Transition apart |
|
1293 from iStringPool, which may have changed state. |
|
1294 (@see StringPool::Close post-condition) for iStringPool's new state. |
|
1295 */ |
|
1296 inline void TransitMethodL(); |
|
1297 |
|
1298 /** |
|
1299 @fn Context() const |
|
1300 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1301 Error Condition : None. |
|
1302 @since 6.0 |
|
1303 @return The unit test context cast to a CStringPool_FUnitTestContext |
|
1304 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1305 @post No change in the CStringPool_Close_Transition |
|
1306 */ |
|
1307 inline CStringPool_UnitTestContext& Context() const; |
|
1308 }; // CStringPool_FClose_Transition |
|
1309 |
|
1310 // ______________________________________________________________________________ |
|
1311 // |
|
1312 /** |
|
1313 @internalComponent |
|
1314 Comments : Transition test of the StringPool::Int method. |
|
1315 */ |
|
1316 class CStringPool_FInt_Transition : public CTransitionType |
|
1317 { |
|
1318 public: |
|
1319 /** |
|
1320 @fn CStringPool_FInt_Transition(CUnitTestContext& aUTContext, |
|
1321 TTransitionValidator& aValidator) |
|
1322 Intended Usage : Standard c'tor method. |
|
1323 Error Condition : None. |
|
1324 @since 6.0 |
|
1325 @param aUTContext The context this transition is operating in. |
|
1326 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1327 @pre None. |
|
1328 @post CStringPool_FInt_Transition is fully constructed. |
|
1329 */ |
|
1330 CStringPool_FInt_Transition(CUnitTestContext& aUTContext, |
|
1331 TTransitionValidator& aValidator); |
|
1332 /** |
|
1333 @fn TransitMethodL() |
|
1334 Intended Usage : To execute the StringPool::Int method for the test harness. |
|
1335 Error Condition : Leaves with an error code. |
|
1336 @leave KErrNoMemory, (@see StringPool::Int) |
|
1337 @since 6.0 |
|
1338 @return None |
|
1339 @pre CStringPool_FInt_Transition is fully constructed. |
|
1340 @post No change in the CStringPool_FInt_Transition apart |
|
1341 from iStringPool, which may have changed state. |
|
1342 (@see StringPool::Int post-condition) for iStringPool's new state. |
|
1343 */ |
|
1344 inline void TransitMethodL(); |
|
1345 |
|
1346 /** |
|
1347 @fn Context() const |
|
1348 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1349 Error Condition : None. |
|
1350 @since 6.0 |
|
1351 @return The unit test context cast to a CStringPool_FUnitTestContext |
|
1352 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1353 @post No change in the CStringPool_Int_Transition |
|
1354 */ |
|
1355 inline CStringPool_UnitTestContext& Context() const; |
|
1356 }; // CStringPool_FInt_Transition |
|
1357 |
|
1358 |
|
1359 // ______________________________________________________________________________ |
|
1360 // |
|
1361 /** |
|
1362 @internalComponent |
|
1363 Comments : Transition test of the StringPool::StringToken method. |
|
1364 */ |
|
1365 class CStringPool_FStringToken_Transition : public CTransitionType |
|
1366 { |
|
1367 public: |
|
1368 /** |
|
1369 @fn CStringPool_FStringToken_Transition(CUnitTestContext& aUTContext, |
|
1370 TTransitionValidator& aValidator) |
|
1371 Intended Usage : Standard c'tor method. |
|
1372 Error Condition : None. |
|
1373 @since 6.0 |
|
1374 @param aUTContext The context this transition is operating in. |
|
1375 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1376 @pre None. |
|
1377 @post CStringPool_FStringToken_Transition is fully constructed. |
|
1378 */ |
|
1379 CStringPool_FStringToken_Transition(CUnitTestContext& aUTContext, |
|
1380 TTransitionValidator& aValidator); |
|
1381 /** |
|
1382 @fn TransitMethodL() |
|
1383 Intended Usage : To execute the StringPool::StringToken method for the test harness. |
|
1384 Error Condition : Leaves with an error code. |
|
1385 @leave KErrNoMemory, (@see StringPool::StringToken) |
|
1386 @since 6.0 |
|
1387 @return None |
|
1388 @pre CStringPool_FStringToken_Transition is fully constructed. |
|
1389 @post No change in the CStringPool_FStringToken_Transition apart |
|
1390 from iStringPool, which may have changed state. |
|
1391 (@see StringPool::StringToken post-condition) for iStringPool's new state. |
|
1392 */ |
|
1393 inline void TransitMethodL(); |
|
1394 |
|
1395 /** |
|
1396 @fn Context() const |
|
1397 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1398 Error Condition : None. |
|
1399 @since 6.0 |
|
1400 @return The unit test context cast to a CStringPool_FUnitTestContext |
|
1401 @pre iUTContext is a valid CStringPool_FUnitTestContext. |
|
1402 @post No change in the CStringPool_StringToken_Transition |
|
1403 */ |
|
1404 inline CStringPool_UnitTestContext& Context() const; |
|
1405 }; // CStringPool_FStringToken_Transition |
|
1406 |
|
1407 // ______________________________________________________________________________ |
|
1408 // |
|
1409 /** |
|
1410 @internalComponent |
|
1411 Comments : Transition test of the StringPool::ShortCtor method. |
|
1412 */ |
|
1413 class CStringPool_ShortCtor_Transition : public CTransitionType |
|
1414 { |
|
1415 public: |
|
1416 /** |
|
1417 @fn CStringPool_ShortCtor_Transition(CUnitTestContext& aUTContext, |
|
1418 TTransitionValidator& aValidator) |
|
1419 Intended Usage : Standard c'tor method. |
|
1420 Error Condition : None. |
|
1421 @since 6.0 |
|
1422 @param aUTContext The context this transition is operating in. |
|
1423 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1424 @pre None. |
|
1425 @post CStringPool_ShortCtor_Transition is fully constructed. |
|
1426 */ |
|
1427 CStringPool_ShortCtor_Transition(CUnitTestContext& aUTContext, |
|
1428 TTransitionValidator& aValidator); |
|
1429 /** |
|
1430 @fn TransitMethodL() |
|
1431 Intended Usage : To execute the StringPool::SmallCtor method for the test harness. |
|
1432 Error Condition : Leaves with an error code. |
|
1433 @leave KErrNoMemory, (@see StringPool::SmallCtor) |
|
1434 @since 6.0 |
|
1435 @return None |
|
1436 @pre CStringPool_ShortCtor_Transition is fully constructed. |
|
1437 @post No change in the CStringPool_ShortCtor_Transition apart |
|
1438 from iStringPool, which may have changed state. |
|
1439 (@see StringPool::SmallCtor post-condition) for iStringPool's new state. |
|
1440 */ |
|
1441 inline void TransitMethodL(); |
|
1442 |
|
1443 /** |
|
1444 @fn Context() const |
|
1445 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1446 Error Condition : None. |
|
1447 @since 6.0 |
|
1448 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1449 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1450 @post No change in the CStringPool_ShortCtor_Transition |
|
1451 */ |
|
1452 inline CStringPool_UnitTestContext& Context() const; |
|
1453 }; // CStringPool_ShortCtor_Transition |
|
1454 |
|
1455 // ______________________________________________________________________________ |
|
1456 // |
|
1457 /** |
|
1458 @internalComponent |
|
1459 Comments : Transition test of the StringPool::IrrelevantCtor method. |
|
1460 */ |
|
1461 class CStringPool_IrrelevantCtor_Transition : public CTransition |
|
1462 { |
|
1463 public: |
|
1464 /** |
|
1465 @fn CStringPool_IrrelevantCtor_Transition(CUnitTestContext& aUTContext, |
|
1466 TTransitionValidator& aValidator) |
|
1467 Intended Usage : Standard c'tor method. |
|
1468 Error Condition : None. |
|
1469 @since 6.0 |
|
1470 @param aUTContext The context this transition is operating in. |
|
1471 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1472 @pre None. |
|
1473 @post CStringPool_IrrelevantCtor_Transition is fully constructed. |
|
1474 */ |
|
1475 CStringPool_IrrelevantCtor_Transition(CUnitTestContext& aUTContext, |
|
1476 TTransitionValidator& aValidator); |
|
1477 /** |
|
1478 @fn TransitMethodL() |
|
1479 Intended Usage : To execute the StringPool::IrrelevantCtor method for the test harness. |
|
1480 Error Condition : Leaves with an error code. |
|
1481 @leave KErrNoMemory, (@see StringPool::IrrelevantCtor) |
|
1482 @since 6.0 |
|
1483 @return None |
|
1484 @pre CStringPool_IrrelevantCtor_Transition is fully constructed. |
|
1485 @post No change in the CStringPool_IrrelevantCtor_Transition apart |
|
1486 from iStringPool, which may have changed state. |
|
1487 (@see StringPool::IrrelevantCtor post-condition) for iStringPool's new state. |
|
1488 */ |
|
1489 inline void TransitMethodL(); |
|
1490 |
|
1491 /** |
|
1492 @fn Context() const |
|
1493 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1494 Error Condition : None. |
|
1495 @since 6.0 |
|
1496 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1497 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1498 @post No change in the CStringPool_IrrelevantCtor_Transition |
|
1499 */ |
|
1500 inline CStringPool_UnitTestContext& Context() const; |
|
1501 }; // CStringPool_IrrelevantCtor_Transition |
|
1502 |
|
1503 // ______________________________________________________________________________ |
|
1504 // |
|
1505 /** |
|
1506 @internalComponent |
|
1507 Comments : Transition test of the StringPool::LongCtor method. |
|
1508 */ |
|
1509 class CStringPool_LongCtor_Transition : public CTransition |
|
1510 { |
|
1511 public: |
|
1512 /** |
|
1513 @fn CStringPool_LongCtor_Transition(CUnitTestContext& aUTContext, |
|
1514 TTransitionValidator& aValidator) |
|
1515 Intended Usage : Standard c'tor method. |
|
1516 Error Condition : None. |
|
1517 @since 6.0 |
|
1518 @param aUTContext The context this transition is operating in. |
|
1519 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1520 @pre None. |
|
1521 @post CStringPool_LongCtor_Transition is fully constructed. |
|
1522 */ |
|
1523 CStringPool_LongCtor_Transition(CUnitTestContext& aUTContext, |
|
1524 TTransitionValidator& aValidator); |
|
1525 /** |
|
1526 @fn TransitMethodL() |
|
1527 Intended Usage : To execute the StringPool::LongCtor method for the test harness. |
|
1528 Error Condition : Leaves with an error code. |
|
1529 @leave KErrNoMemory, (@see StringPool::LongCtor) |
|
1530 @since 6.0 |
|
1531 @return None |
|
1532 @pre CStringPool_LongCtor_Transition is fully constructed. |
|
1533 @post No change in the CStringPool_LongCtor_Transition apart |
|
1534 from iStringPool, which may have changed state. |
|
1535 (@see StringPool::LongCtor post-condition) for iStringPool's new state. |
|
1536 */ |
|
1537 inline void TransitMethodL(); |
|
1538 |
|
1539 /** |
|
1540 @fn Context() const |
|
1541 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1542 Error Condition : None. |
|
1543 @since 6.0 |
|
1544 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1545 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1546 @post No change in the CStringPool_LongCtor_Transition |
|
1547 */ |
|
1548 inline CStringPool_UnitTestContext& Context() const; |
|
1549 }; // CStringPool_LongCtor_Transition |
|
1550 |
|
1551 // ______________________________________________________________________________ |
|
1552 // |
|
1553 /** |
|
1554 @internalComponent |
|
1555 |
|
1556 Comments : Transition test of the StringPool::StringF_Index_Table method. |
|
1557 */ |
|
1558 class CStringPool_StringF_Index_Table_Transition : public CTransitionType |
|
1559 { |
|
1560 public: |
|
1561 /** |
|
1562 @fn CStringPool_StringF_Index_Table_Transition(CUnitTestContext& aUTContext, |
|
1563 TTransitionValidator& aValidator) |
|
1564 Intended Usage : Standard c'tor method. |
|
1565 Error Condition : None. |
|
1566 @since 7.0 |
|
1567 @param aUTContext The context this transition is operating in. |
|
1568 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1569 @pre None. |
|
1570 @post CStringPool_StringF_Index_Table_Transition is fully constructed. |
|
1571 */ |
|
1572 CStringPool_StringF_Index_Table_Transition(CUnitTestContext& aUTContext, |
|
1573 TTransitionValidator& aValidator); |
|
1574 /** |
|
1575 @fn TransitMethodL() |
|
1576 Intended Usage : To execute the StringPool::StringF_Index_Table method for the test harness. |
|
1577 Error Condition : Leaves with an error code. |
|
1578 @leave KErrNoMemory, (@see StringPool::StringF_Index_Table) |
|
1579 @since 7.0 |
|
1580 @return None |
|
1581 @pre CStringPool_StringF_Index_Table_Transition is fully constructed. |
|
1582 @post No change in the CStringPool_StringF_Index_Table_Transition apart |
|
1583 from iStringPool, which may have changed state. |
|
1584 (@see StringPool::StringF_Index_Table post-condition) for iStringPool's new state. |
|
1585 */ |
|
1586 inline void TransitMethodL(); |
|
1587 |
|
1588 /** |
|
1589 @fn Context() const |
|
1590 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1591 Error Condition : None. |
|
1592 @since 7.0 |
|
1593 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1594 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1595 @post No change in the CStringPool_StringF_Index_Table_Transition |
|
1596 */ |
|
1597 inline CStringPool_UnitTestContext& Context() const; |
|
1598 }; // CStringPool_StringF_Index_Table_Transition |
|
1599 |
|
1600 // ______________________________________________________________________________ |
|
1601 // |
|
1602 /** |
|
1603 @internalComponent |
|
1604 |
|
1605 Comments : Transition test of the StringPool::shortCSCtor method. |
|
1606 */ |
|
1607 class CStringPool_ShortCSCtor_Transition : public CTransitionType |
|
1608 { |
|
1609 public: |
|
1610 /** |
|
1611 @fn CStringPool_shortCSCtor_Transition(CUnitTestContext& aUTContext, |
|
1612 TTransitionValidator& aValidator) |
|
1613 Intended Usage : Standard c'tor method. |
|
1614 Error Condition : None. |
|
1615 @since 7.0 |
|
1616 @param aUTContext The context this transition is operating in. |
|
1617 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1618 @pre None. |
|
1619 @post CStringPool_shortCSCtor_Transition is fully constructed. |
|
1620 */ |
|
1621 CStringPool_ShortCSCtor_Transition(CUnitTestContext& aUTContext, |
|
1622 TTransitionValidator& aValidator); |
|
1623 /** |
|
1624 @fn TransitMethodL() |
|
1625 Intended Usage : To execute the StringPool::shortCSCtor method for the test harness. |
|
1626 Error Condition : Leaves with an error code. |
|
1627 @leave KErrNoMemory, (@see StringPool::shortCSCtor) |
|
1628 @since 7.0 |
|
1629 @return None |
|
1630 @pre CStringPool_shortCSCtor_Transition is fully constructed. |
|
1631 @post No change in the CStringPool_shortCSCtor_Transition apart |
|
1632 from iStringPool, which may have changed state. |
|
1633 (@see StringPool::shortCSCtor post-condition) for iStringPool's new state. |
|
1634 */ |
|
1635 inline void TransitMethodL(); |
|
1636 |
|
1637 /** |
|
1638 @fn Context() const |
|
1639 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1640 Error Condition : None. |
|
1641 @since 7.0 |
|
1642 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1643 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1644 @post No change in the CStringPool_shortCSCtor_Transition |
|
1645 */ |
|
1646 inline CStringPool_UnitTestContext& Context() const; |
|
1647 }; // CStringPool_ShortCSCtor_Transition |
|
1648 |
|
1649 |
|
1650 // ______________________________________________________________________________ |
|
1651 // |
|
1652 /** |
|
1653 @internalComponent |
|
1654 |
|
1655 Comments : Transition test of the StringPool::String_Index_Table method. |
|
1656 */ |
|
1657 class CStringPool_String_Index_Table_Transition : public CTransitionType |
|
1658 { |
|
1659 public: |
|
1660 /** |
|
1661 @fn CStringPool_String_Index_Table_Transition(CUnitTestContext& aUTContext, |
|
1662 TTransitionValidator& aValidator) |
|
1663 Intended Usage : Standard c'tor method. |
|
1664 Error Condition : None. |
|
1665 @since 7.0 |
|
1666 @param aUTContext The context this transition is operating in. |
|
1667 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1668 @pre None. |
|
1669 @post CStringPool_String_Index_Table_Transition is fully constructed. |
|
1670 */ |
|
1671 CStringPool_String_Index_Table_Transition(CUnitTestContext& aUTContext, |
|
1672 TTransitionValidator& aValidator); |
|
1673 /** |
|
1674 @fn TransitMethodL() |
|
1675 Intended Usage : To execute the StringPool::String_Index_Table method for the test harness. |
|
1676 Error Condition : Leaves with an error code. |
|
1677 @leave KErrNoMemory, (@see StringPool::String_Index_Table) |
|
1678 @since 7.0 |
|
1679 @return None |
|
1680 @pre CStringPool_String_Index_Table_Transition is fully constructed. |
|
1681 @post No change in the CStringPool_String_Index_Table_Transition apart |
|
1682 from iStringPool, which may have changed state. |
|
1683 (@see StringPool::String_Index_Table post-condition) for iStringPool's new state. |
|
1684 */ |
|
1685 inline void TransitMethodL(); |
|
1686 |
|
1687 /** |
|
1688 @fn Context() const |
|
1689 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1690 Error Condition : None. |
|
1691 @since 7.0 |
|
1692 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1693 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1694 @post No change in the CStringPool_String_Index_Table_Transition |
|
1695 */ |
|
1696 inline CStringPool_UnitTestContext& Context() const; |
|
1697 }; // CStringPool_String_Index_Table_Transition |
|
1698 |
|
1699 // ______________________________________________________________________________ |
|
1700 // |
|
1701 /** |
|
1702 @internalComponent |
|
1703 |
|
1704 Comments : Transition test of the CStringPool::IrrelevantCSCtor method. |
|
1705 */ |
|
1706 class CStringPool_IrrelevantCSCtor_Transition : public CTransitionType |
|
1707 { |
|
1708 public: |
|
1709 /** |
|
1710 @fn CStringPool_IrrelevantCSCtor_Transition(CUnitTestContext& aUTContext, |
|
1711 TTransitionValidator& aValidator) |
|
1712 Intended Usage : Standard c'tor method. |
|
1713 Error Condition : None. |
|
1714 @since 7.0 |
|
1715 @param aUTContext The context this transition is operating in. |
|
1716 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1717 @pre None. |
|
1718 @post CStringPool_IrrelevantCSCtor_Transition is fully constructed. |
|
1719 */ |
|
1720 CStringPool_IrrelevantCSCtor_Transition(CUnitTestContext& aUTContext, |
|
1721 TTransitionValidator& aValidator); |
|
1722 /** |
|
1723 @fn TransitMethodL() |
|
1724 Intended Usage : To execute the CStringPool::IrrelevantCSCtor method for the test harness. |
|
1725 Error Condition : Leaves with an error code. |
|
1726 @leave KErrNoMemory, (@see CStringPool::IrrelevantCSCtor) |
|
1727 @since 7.0 |
|
1728 @return None |
|
1729 @pre CStringPool_IrrelevantCSCtor_Transition is fully constructed. |
|
1730 @post No change in the CStringPool_IrrelevantCSCtor_Transition apart |
|
1731 from iStringPool, which may have changed state. |
|
1732 (@see CStringPool::IrrelevantCSCtor post-condition) for iStringPool's new state. |
|
1733 */ |
|
1734 inline void TransitMethodL(); |
|
1735 |
|
1736 /** |
|
1737 @fn Context() const |
|
1738 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1739 Error Condition : None. |
|
1740 @since 7.0 |
|
1741 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1742 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1743 @post No change in the CStringPool_IrrelevantCSCtor_Transition |
|
1744 */ |
|
1745 inline CStringPool_UnitTestContext& Context() const; |
|
1746 }; // CStringPool_IrrelevantCSCtor_Transition |
|
1747 |
|
1748 // ______________________________________________________________________________ |
|
1749 // |
|
1750 /** |
|
1751 @internalComponent |
|
1752 |
|
1753 Comments : Transition test of the CStringPool::LargeCSCtor method. |
|
1754 */ |
|
1755 class CStringPool_LargeCSCtor_Transition : public CTransitionType |
|
1756 { |
|
1757 public: |
|
1758 /** |
|
1759 @fn CStringPool_LargeCSCtor_Transition(CUnitTestContext& aUTContext, |
|
1760 TTransitionValidator& aValidator) |
|
1761 Intended Usage : Standard c'tor method. |
|
1762 Error Condition : None. |
|
1763 @since 7.0 |
|
1764 @param aUTContext The context this transition is operating in. |
|
1765 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1766 @pre None. |
|
1767 @post CStringPool_LargeCSCtor_Transition is fully constructed. |
|
1768 */ |
|
1769 CStringPool_LargeCSCtor_Transition(CUnitTestContext& aUTContext, |
|
1770 TTransitionValidator& aValidator); |
|
1771 /** |
|
1772 @fn TransitMethodL() |
|
1773 Intended Usage : To execute the CStringPool::LargeCSCtor method for the test harness. |
|
1774 Error Condition : Leaves with an error code. |
|
1775 @leave KErrNoMemory, (@see CStringPool::LargeCSCtor) |
|
1776 @since 7.0 |
|
1777 @return None |
|
1778 @pre CStringPool_LargeCSCtor_Transition is fully constructed. |
|
1779 @post No change in the CStringPool_LargeCSCtor_Transition apart |
|
1780 from iStringPool, which may have changed state. |
|
1781 (@see CStringPool::LargeCSCtor post-condition) for iStringPool's new state. |
|
1782 */ |
|
1783 inline void TransitMethodL(); |
|
1784 |
|
1785 /** |
|
1786 @fn Context() const |
|
1787 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1788 Error Condition : None. |
|
1789 @since 7.0 |
|
1790 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1791 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1792 @post No change in the CStringPool_LargeCSCtor_Transition |
|
1793 */ |
|
1794 inline CStringPool_UnitTestContext& Context() const; |
|
1795 }; // CStringPool_LargeCSCtor_Transition |
|
1796 |
|
1797 // ______________________________________________________________________________ |
|
1798 // |
|
1799 /** |
|
1800 @internalComponent |
|
1801 |
|
1802 Comments : Transition test of the CStringPool::ShortCtor_CB method. |
|
1803 */ |
|
1804 class CStringPool_Short_CB_Transition : public CTransitionType |
|
1805 { |
|
1806 public: |
|
1807 static TInt Test(); |
|
1808 /** |
|
1809 @fn CStringPool_Short_CB_Transition(CUnitTestContext& aUTContext, |
|
1810 TTransitionValidator& aValidator) |
|
1811 Intended Usage : Standard c'tor method. |
|
1812 Error Condition : None. |
|
1813 @since 7.0 |
|
1814 @param aUTContext The context this transition is operating in. |
|
1815 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1816 @pre None. |
|
1817 @post CStringPool_Short_CB_Transition is fully constructed. |
|
1818 */ |
|
1819 CStringPool_Short_CB_Transition(CUnitTestContext& aUTContext, |
|
1820 TTransitionValidator& aValidator); |
|
1821 /** |
|
1822 @fn TransitMethodL() |
|
1823 Intended Usage : To execute the CStringPool::ShortCtor_CB method for the test harness. |
|
1824 Error Condition : Leaves with an error code. |
|
1825 @leave KErrNoMemory, (@see CStringPool::ShortCtor_CB) |
|
1826 @since 7.0 |
|
1827 @return None |
|
1828 @pre CStringPool_Short_CB_Transition is fully constructed. |
|
1829 @post No change in the CStringPool_ShortCtor_CB_Transition apart |
|
1830 from iStringPool, which may have changed state. |
|
1831 (@see CStringPool::ShortCtor_CB post-condition) for iStringPool's new state. |
|
1832 */ |
|
1833 inline void TransitMethodL(); |
|
1834 |
|
1835 /** |
|
1836 @fn Context() const |
|
1837 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1838 Error Condition : None. |
|
1839 @since 7.0 |
|
1840 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1841 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1842 @post No change in the CStringPool_Short_CB_Transition |
|
1843 */ |
|
1844 inline CStringPool_UnitTestContext& Context() const; |
|
1845 }; // CStringPool_Short_CB_Transition |
|
1846 |
|
1847 // ______________________________________________________________________________ |
|
1848 // |
|
1849 /** |
|
1850 @internalComponent |
|
1851 |
|
1852 Comments : Transition test of the StringPool::MultipleTableCICtor method. |
|
1853 */ |
|
1854 class CStringPool_MultipleTableCICtor_Transition : public CTransitionType |
|
1855 { |
|
1856 public: |
|
1857 /** |
|
1858 @fn CStringPool_MultipleTableCICtor_Transition(CUnitTestContext& aUTContext, |
|
1859 TTransitionValidator& aValidator) |
|
1860 Intended Usage : Standard c'tor method. |
|
1861 Error Condition : None. |
|
1862 @since 7.0 |
|
1863 @param aUTContext The context this transition is operating in. |
|
1864 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1865 @pre None. |
|
1866 @post CStringPool_MultipleTableCICtor_Transition is fully constructed. |
|
1867 */ |
|
1868 CStringPool_MultipleTableCICtor_Transition(CUnitTestContext& aUTContext, |
|
1869 TTransitionValidator& aValidator); |
|
1870 /** |
|
1871 @fn TransitMethodL() |
|
1872 Intended Usage : To execute the StringPool::MultipleTableCICtor method for the test harness. |
|
1873 Error Condition : Leaves with an error code. |
|
1874 @leave KErrNoMemory, (@see StringPool::MultipleTableCICtor) |
|
1875 @since 7.0 |
|
1876 @return None |
|
1877 @pre CStringPool_MultipleTableCICtor_Transition is fully constructed. |
|
1878 @post No change in the CStringPool_MultipleTableCICtor_Transition apart |
|
1879 from iStringPool, which may have changed state. |
|
1880 (@see StringPool::MultipleTableCICtor post-condition) for iStringPool's new state. |
|
1881 */ |
|
1882 inline void TransitMethodL(); |
|
1883 |
|
1884 /** |
|
1885 @fn Context() const |
|
1886 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1887 Error Condition : None. |
|
1888 @since 7.0 |
|
1889 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1890 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1891 @post No change in the CStringPool_MultipleTableCICtor_Transition |
|
1892 */ |
|
1893 inline CStringPool_UnitTestContext& Context() const; |
|
1894 }; // CStringPool_MultipleTableCICtor_Transition |
|
1895 |
|
1896 // ______________________________________________________________________________ |
|
1897 // |
|
1898 /** |
|
1899 @internalComponent |
|
1900 |
|
1901 Comments : Transition test of the StringPool::MutlipleCICeqC method. |
|
1902 */ |
|
1903 class CStringPool_MutlipleCICeqC_Transition : public CTransitionType |
|
1904 { |
|
1905 public: |
|
1906 /** |
|
1907 @fn CStringPool_MutlipleCICeqC_Transition(CUnitTestContext& aUTContext, |
|
1908 TTransitionValidator& aValidator) |
|
1909 Intended Usage : Standard c'tor method. |
|
1910 Error Condition : None. |
|
1911 @since 7.0 |
|
1912 @param aUTContext The context this transition is operating in. |
|
1913 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1914 @pre None. |
|
1915 @post CStringPool_MutlipleCICeqC_Transition is fully constructed. |
|
1916 */ |
|
1917 CStringPool_MutlipleCICeqC_Transition(CUnitTestContext& aUTContext, |
|
1918 TTransitionValidator& aValidator); |
|
1919 /** |
|
1920 @fn TransitMethodL() |
|
1921 Intended Usage : To execute the StringPool::MutlipleCICeqC method for the test harness. |
|
1922 Error Condition : Leaves with an error code. |
|
1923 @leave KErrNoMemory, (@see StringPool::MutlipleCICeqC) |
|
1924 @since 7.0 |
|
1925 @return None |
|
1926 @pre CStringPool_MutlipleCICeqC_Transition is fully constructed. |
|
1927 @post No change in the CStringPool_MutlipleCICeqC_Transition apart |
|
1928 from iStringPool, which may have changed state. |
|
1929 (@see StringPool::MutlipleCICeqC post-condition) for iStringPool's new state. |
|
1930 */ |
|
1931 inline void TransitMethodL(); |
|
1932 |
|
1933 /** |
|
1934 @fn Context() const |
|
1935 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1936 Error Condition : None. |
|
1937 @since 7.0 |
|
1938 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1939 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1940 @post No change in the CStringPool_MutlipleCICeqC_Transition |
|
1941 */ |
|
1942 inline CStringPool_UnitTestContext& Context() const; |
|
1943 }; // CStringPool_MutlipleCICeqC_Transition |
|
1944 |
|
1945 // ______________________________________________________________________________ |
|
1946 // |
|
1947 /** |
|
1948 @internalComponent |
|
1949 |
|
1950 Comments : Transition test of the StringPool::MultipleCIStringToIndex method. |
|
1951 */ |
|
1952 class CStringPool_MultipleCIStringToIndex_Transition : public CTransitionType |
|
1953 { |
|
1954 public: |
|
1955 /** |
|
1956 @fn CStringPool_MultipleCIStringToIndex_Transition(CUnitTestContext& aUTContext, |
|
1957 TTransitionValidator& aValidator) |
|
1958 Intended Usage : Standard c'tor method. |
|
1959 Error Condition : None. |
|
1960 @since 7.0 |
|
1961 @param aUTContext The context this transition is operating in. |
|
1962 @param aValidator Used for checking the pre & post conditions of the test object. |
|
1963 @pre None. |
|
1964 @post CStringPool_MultipleCIStringToIndex_Transition is fully constructed. |
|
1965 */ |
|
1966 CStringPool_MultipleCIStringToIndex_Transition(CUnitTestContext& aUTContext, |
|
1967 TTransitionValidator& aValidator); |
|
1968 /** |
|
1969 @fn TransitMethodL() |
|
1970 Intended Usage : To execute the StringPool::MultipleCIStringToIndex method for the test harness. |
|
1971 Error Condition : Leaves with an error code. |
|
1972 @leave KErrNoMemory, (@see StringPool::MultipleCIStringToIndex) |
|
1973 @since 7.0 |
|
1974 @return None |
|
1975 @pre CStringPool_MultipleCIStringToIndex_Transition is fully constructed. |
|
1976 @post No change in the CStringPool_MultipleCIStringToIndex_Transition apart |
|
1977 from iStringPool, which may have changed state. |
|
1978 (@see StringPool::MultipleCIStringToIndex post-condition) for iStringPool's new state. |
|
1979 */ |
|
1980 inline void TransitMethodL(); |
|
1981 |
|
1982 /** |
|
1983 @fn Context() const |
|
1984 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
1985 Error Condition : None. |
|
1986 @since 7.0 |
|
1987 @return The unit test context cast to a CStringPool_UnitTestContext |
|
1988 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
1989 @post No change in the CStringPool_MultipleCIStringToIndex_Transition |
|
1990 */ |
|
1991 inline CStringPool_UnitTestContext& Context() const; |
|
1992 }; // CStringPool_MultipleCIStringToIndex_Transition |
|
1993 |
|
1994 // ______________________________________________________________________________ |
|
1995 // |
|
1996 /** |
|
1997 @internalComponent |
|
1998 |
|
1999 Comments : Transition test of the StringPool::MultipleCIDynamicString method. |
|
2000 */ |
|
2001 class CStringPool_MultipleCIDynamicString_Transition : public CTransitionType |
|
2002 { |
|
2003 public: |
|
2004 /** |
|
2005 @fn CStringPool_MultipleCIDynamicString_Transition(CUnitTestContext& aUTContext, |
|
2006 TTransitionValidator& aValidator) |
|
2007 Intended Usage : Standard c'tor method. |
|
2008 Error Condition : None. |
|
2009 @since 7.0 |
|
2010 @param aUTContext The context this transition is operating in. |
|
2011 @param aValidator Used for checking the pre & post conditions of the test object. |
|
2012 @pre None. |
|
2013 @post CStringPool_MultipleCIDynamicString_Transition is fully constructed. |
|
2014 */ |
|
2015 CStringPool_MultipleCIDynamicString_Transition(CUnitTestContext& aUTContext, |
|
2016 TTransitionValidator& aValidator); |
|
2017 /** |
|
2018 @fn TransitMethodL() |
|
2019 Intended Usage : To execute the StringPool::MultipleCIDynamicString method for the test harness. |
|
2020 Error Condition : Leaves with an error code. |
|
2021 @leave KErrNoMemory, (@see StringPool::MultipleCIDynamicString) |
|
2022 @since 7.0 |
|
2023 @return None |
|
2024 @pre CStringPool_MultipleCIDynamicString_Transition is fully constructed. |
|
2025 @post No change in the CStringPool_MultipleCIDynamicString_Transition apart |
|
2026 from iStringPool, which may have changed state. |
|
2027 (@see StringPool::MultipleCIDynamicString post-condition) for iStringPool's new state. |
|
2028 */ |
|
2029 inline void TransitMethodL(); |
|
2030 |
|
2031 /** |
|
2032 @fn Context() const |
|
2033 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
2034 Error Condition : None. |
|
2035 @since 7.0 |
|
2036 @return The unit test context cast to a CStringPool_UnitTestContext |
|
2037 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
2038 @post No change in the CStringPool_MultipleCIDynamicString_Transition |
|
2039 */ |
|
2040 inline CStringPool_UnitTestContext& Context() const; |
|
2041 }; // CStringPool_MultipleCIDynamicString_Transition |
|
2042 |
|
2043 // ______________________________________________________________________________ |
|
2044 // |
|
2045 /** |
|
2046 @internalComponent |
|
2047 |
|
2048 Comments : Transition test of the StringPool::MultipleCIIndexToStringDynamic method. |
|
2049 */ |
|
2050 class CStringPool_MultipleCIIndexToStringDynamic_Transition : public CTransitionType |
|
2051 { |
|
2052 public: |
|
2053 /** |
|
2054 @fn CStringPool_MultipleCIIndexToStringDynamic_Transition(CUnitTestContext& aUTContext, |
|
2055 TTransitionValidator& aValidator) |
|
2056 Intended Usage : Standard c'tor method. |
|
2057 Error Condition : None. |
|
2058 @since 7.0 |
|
2059 @param aUTContext The context this transition is operating in. |
|
2060 @param aValidator Used for checking the pre & post conditions of the test object. |
|
2061 @pre None. |
|
2062 @post CStringPool_MultipleCIIndexToStringDynamic_Transition is fully constructed. |
|
2063 */ |
|
2064 CStringPool_MultipleCIIndexToStringDynamic_Transition(CUnitTestContext& aUTContext, |
|
2065 TTransitionValidator& aValidator); |
|
2066 /** |
|
2067 @fn TransitMethodL() |
|
2068 Intended Usage : To execute the StringPool::MultipleCIIndexToStringDynamic method for the test harness. |
|
2069 Error Condition : Leaves with an error code. |
|
2070 @leave KErrNoMemory, (@see StringPool::MultipleCIIndexToStringDynamic) |
|
2071 @since 7.0 |
|
2072 @return None |
|
2073 @pre CStringPool_MultipleCIIndexToStringDynamic_Transition is fully constructed. |
|
2074 @post No change in the CStringPool_MultipleCIIndexToStringDynamic_Transition apart |
|
2075 from iStringPool, which may have changed state. |
|
2076 (@see StringPool::MultipleCIIndexToStringDynamic post-condition) for iStringPool's new state. |
|
2077 */ |
|
2078 inline void TransitMethodL(); |
|
2079 |
|
2080 /** |
|
2081 @fn Context() const |
|
2082 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
2083 Error Condition : None. |
|
2084 @since 7.0 |
|
2085 @return The unit test context cast to a CStringPool_UnitTestContext |
|
2086 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
2087 @post No change in the CStringPool_MultipleCIIndexToStringDynamic_Transition |
|
2088 */ |
|
2089 inline CStringPool_UnitTestContext& Context() const; |
|
2090 }; // CStringPool_MultipleCIIndexToStringDynamic_Transition |
|
2091 |
|
2092 // ______________________________________________________________________________ |
|
2093 // |
|
2094 /** |
|
2095 @internalComponent |
|
2096 |
|
2097 Comments : Transition test of the StringPool::MutlipleCSCeqC method. |
|
2098 */ |
|
2099 class CStringPool_MutlipleCSCeqC_Transition : public CTransitionType |
|
2100 { |
|
2101 public: |
|
2102 /** |
|
2103 @fn CStringPool_MutlipleCSCeqC_Transition(CUnitTestContext& aUTContext, |
|
2104 TTransitionValidator& aValidator) |
|
2105 Intended Usage : Standard c'tor method. |
|
2106 Error Condition : None. |
|
2107 @since 7.0 |
|
2108 @param aUTContext The context this transition is operating in. |
|
2109 @param aValidator Used for checking the pre & post conditions of the test object. |
|
2110 @pre None. |
|
2111 @post CStringPool_MutlipleCSCeqC_Transition is fully constructed. |
|
2112 */ |
|
2113 CStringPool_MutlipleCSCeqC_Transition(CUnitTestContext& aUTContext, |
|
2114 TTransitionValidator& aValidator); |
|
2115 /** |
|
2116 @fn TransitMethodL() |
|
2117 Intended Usage : To execute the StringPool::MutlipleCSCeqC method for the test harness. |
|
2118 Error Condition : Leaves with an error code. |
|
2119 @leave KErrNoMemory, (@see StringPool::MutlipleCSCeqC) |
|
2120 @since 7.0 |
|
2121 @return None |
|
2122 @pre CStringPool_MutlipleCSCeqC_Transition is fully constructed. |
|
2123 @post No change in the CStringPool_MutlipleCSCeqC_Transition apart |
|
2124 from iStringPool, which may have changed state. |
|
2125 (@see StringPool::MutlipleCSCeqC post-condition) for iStringPool's new state. |
|
2126 */ |
|
2127 inline void TransitMethodL(); |
|
2128 |
|
2129 /** |
|
2130 @fn Context() const |
|
2131 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
2132 Error Condition : None. |
|
2133 @since 7.0 |
|
2134 @return The unit test context cast to a CStringPool_UnitTestContext |
|
2135 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
2136 @post No change in the CStringPool_MutlipleCSCeqC_Transition |
|
2137 */ |
|
2138 inline CStringPool_UnitTestContext& Context() const; |
|
2139 }; // CStringPool_MutlipleCSCeqC_Transition |
|
2140 |
|
2141 // ______________________________________________________________________________ |
|
2142 // |
|
2143 /** |
|
2144 @internalComponent |
|
2145 |
|
2146 Comments : Transition test of the StringPool::MultipleCSStringToIndex method. |
|
2147 */ |
|
2148 class CStringPool_MultipleCSStringToIndex_Transition : public CTransitionType |
|
2149 { |
|
2150 public: |
|
2151 /** |
|
2152 @fn CStringPool_MultipleCSStringToIndex_Transition(CUnitTestContext& aUTContext, |
|
2153 TTransitionValidator& aValidator) |
|
2154 Intended Usage : Standard c'tor method. |
|
2155 Error Condition : None. |
|
2156 @since 7.0 |
|
2157 @param aUTContext The context this transition is operating in. |
|
2158 @param aValidator Used for checking the pre & post conditions of the test object. |
|
2159 @pre None. |
|
2160 @post CStringPool_MultipleCSStringToIndex_Transition is fully constructed. |
|
2161 */ |
|
2162 CStringPool_MultipleCSStringToIndex_Transition(CUnitTestContext& aUTContext, |
|
2163 TTransitionValidator& aValidator); |
|
2164 /** |
|
2165 @fn TransitMethodL() |
|
2166 Intended Usage : To execute the StringPool::MultipleCSStringToIndex method for the test harness. |
|
2167 Error Condition : Leaves with an error code. |
|
2168 @leave KErrNoMemory, (@see StringPool::MultipleCSStringToIndex) |
|
2169 @since 7.0 |
|
2170 @return None |
|
2171 @pre CStringPool_MultipleCSStringToIndex_Transition is fully constructed. |
|
2172 @post No change in the CStringPool_MultipleCSStringToIndex_Transition apart |
|
2173 from iStringPool, which may have changed state. |
|
2174 (@see StringPool::MultipleCSStringToIndex post-condition) for iStringPool's new state. |
|
2175 */ |
|
2176 inline void TransitMethodL(); |
|
2177 |
|
2178 /** |
|
2179 @fn Context() const |
|
2180 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
2181 Error Condition : None. |
|
2182 @since 7.0 |
|
2183 @return The unit test context cast to a CStringPool_UnitTestContext |
|
2184 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
2185 @post No change in the CStringPool_MultipleCSStringToIndex_Transition |
|
2186 */ |
|
2187 inline CStringPool_UnitTestContext& Context() const; |
|
2188 }; // CStringPool_MultipleCSStringToIndex_Transition |
|
2189 |
|
2190 // ______________________________________________________________________________ |
|
2191 // |
|
2192 /** |
|
2193 @internalComponent |
|
2194 |
|
2195 Comments : Transition test of the StringPool::MultipleCSDynamicString method. |
|
2196 */ |
|
2197 class CStringPool_MultipleCSDynamicString_Transition : public CTransitionType |
|
2198 { |
|
2199 public: |
|
2200 /** |
|
2201 @fn CStringPool_MultipleCSDynamicString_Transition(CUnitTestContext& aUTContext, |
|
2202 TTransitionValidator& aValidator) |
|
2203 Intended Usage : Standard c'tor method. |
|
2204 Error Condition : None. |
|
2205 @since 7.0 |
|
2206 @param aUTContext The context this transition is operating in. |
|
2207 @param aValidator Used for checking the pre & post conditions of the test object. |
|
2208 @pre None. |
|
2209 @post CStringPool_MultipleCSDynamicString_Transition is fully constructed. |
|
2210 */ |
|
2211 CStringPool_MultipleCSDynamicString_Transition(CUnitTestContext& aUTContext, |
|
2212 TTransitionValidator& aValidator); |
|
2213 /** |
|
2214 @fn TransitMethodL() |
|
2215 Intended Usage : To execute the StringPool::MultipleCSDynamicString method for the test harness. |
|
2216 Error Condition : Leaves with an error code. |
|
2217 @leave KErrNoMemory, (@see StringPool::MultipleCSDynamicString) |
|
2218 @since 7.0 |
|
2219 @return None |
|
2220 @pre CStringPool_MultipleCSDynamicString_Transition is fully constructed. |
|
2221 @post No change in the CStringPool_MultipleCSDynamicString_Transition apart |
|
2222 from iStringPool, which may have changed state. |
|
2223 (@see StringPool::MultipleCSDynamicString post-condition) for iStringPool's new state. |
|
2224 */ |
|
2225 inline void TransitMethodL(); |
|
2226 |
|
2227 /** |
|
2228 @fn Context() const |
|
2229 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
2230 Error Condition : None. |
|
2231 @since 7.0 |
|
2232 @return The unit test context cast to a CStringPool_UnitTestContext |
|
2233 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
2234 @post No change in the CStringPool_MultipleCSDynamicString_Transition |
|
2235 */ |
|
2236 inline CStringPool_UnitTestContext& Context() const; |
|
2237 }; // CStringPool_MultipleCSDynamicString_Transition |
|
2238 |
|
2239 // ______________________________________________________________________________ |
|
2240 // |
|
2241 /** |
|
2242 @internalComponent |
|
2243 |
|
2244 Comments : Transition test of the StringPool::MultipleCSIndexToStringDynamic method. |
|
2245 */ |
|
2246 class CStringPool_MultipleCSIndexToStringDynamic_Transition : public CTransitionType |
|
2247 { |
|
2248 public: |
|
2249 /** |
|
2250 @fn CStringPool_MultipleCSIndexToStringDynamic_Transition(CUnitTestContext& aUTContext, |
|
2251 TTransitionValidator& aValidator) |
|
2252 Intended Usage : Standard c'tor method. |
|
2253 Error Condition : None. |
|
2254 @since 7.0 |
|
2255 @param aUTContext The context this transition is operating in. |
|
2256 @param aValidator Used for checking the pre & post conditions of the test object. |
|
2257 @pre None. |
|
2258 @post CStringPool_MultipleCSIndexToStringDynamic_Transition is fully constructed. |
|
2259 */ |
|
2260 CStringPool_MultipleCSIndexToStringDynamic_Transition(CUnitTestContext& aUTContext, |
|
2261 TTransitionValidator& aValidator); |
|
2262 /** |
|
2263 @fn TransitMethodL() |
|
2264 Intended Usage : To execute the StringPool::MultipleCSIndexToStringDynamic method for the test harness. |
|
2265 Error Condition : Leaves with an error code. |
|
2266 @leave KErrNoMemory, (@see StringPool::MultipleCSIndexToStringDynamic) |
|
2267 @since 7.0 |
|
2268 @return None |
|
2269 @pre CStringPool_MultipleCSIndexToStringDynamic_Transition is fully constructed. |
|
2270 @post No change in the CStringPool_MultipleCSIndexToStringDynamic_Transition apart |
|
2271 from iStringPool, which may have changed state. |
|
2272 (@see StringPool::MultipleCSIndexToStringDynamic post-condition) for iStringPool's new state. |
|
2273 */ |
|
2274 inline void TransitMethodL(); |
|
2275 |
|
2276 /** |
|
2277 @fn Context() const |
|
2278 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
2279 Error Condition : None. |
|
2280 @since 7.0 |
|
2281 @return The unit test context cast to a CStringPool_UnitTestContext |
|
2282 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
2283 @post No change in the CStringPool_MultipleCSIndexToStringDynamic_Transition |
|
2284 */ |
|
2285 inline CStringPool_UnitTestContext& Context() const; |
|
2286 }; // CStringPool_MultipleCSIndexToStringDynamic_Transition |
|
2287 |
|
2288 // ______________________________________________________________________________ |
|
2289 // |
|
2290 /** |
|
2291 @internalComponent |
|
2292 |
|
2293 Comments : Transition test of the StringPool::MultipleTableDtor method. |
|
2294 */ |
|
2295 class CStringPool_MultipleTableDtor_Transition : public CTransitionType |
|
2296 { |
|
2297 public: |
|
2298 /** |
|
2299 @fn CStringPool_MultipleTableDtor_Transition(CUnitTestContext& aUTContext, |
|
2300 TTransitionValidator& aValidator) |
|
2301 Intended Usage : Standard c'tor method. |
|
2302 Error Condition : None. |
|
2303 @since 7.0 |
|
2304 @param aUTContext The context this transition is operating in. |
|
2305 @param aValidator Used for checking the pre & post conditions of the test object. |
|
2306 @pre None. |
|
2307 @post CStringPool_MultipleTableDtor_Transition is fully constructed. |
|
2308 */ |
|
2309 CStringPool_MultipleTableDtor_Transition(CUnitTestContext& aUTContext, |
|
2310 TTransitionValidator& aValidator); |
|
2311 /** |
|
2312 @fn TransitMethodL() |
|
2313 Intended Usage : To execute the StringPool::MultipleTableDtor method for the test harness. |
|
2314 Error Condition : Leaves with an error code. |
|
2315 @leave KErrNoMemory, (@see StringPool::MultipleTableDtor) |
|
2316 @since 7.0 |
|
2317 @return None |
|
2318 @pre CStringPool_MultipleTableDtor_Transition is fully constructed. |
|
2319 @post No change in the CStringPool_MultipleTableDtor_Transition apart |
|
2320 from iStringPool, which may have changed state. |
|
2321 (@see StringPool::MultipleTableDtor post-condition) for iStringPool's new state. |
|
2322 */ |
|
2323 inline void TransitMethodL(); |
|
2324 |
|
2325 /** |
|
2326 @fn Context() const |
|
2327 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
2328 Error Condition : None. |
|
2329 @since 7.0 |
|
2330 @return The unit test context cast to a CStringPool_UnitTestContext |
|
2331 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
2332 @post No change in the CStringPool_MultipleTableDtor_Transition |
|
2333 */ |
|
2334 inline CStringPool_UnitTestContext& Context() const; |
|
2335 }; // CStringPool_MultipleTableDtor_Transition |
|
2336 |
|
2337 // ______________________________________________________________________________ |
|
2338 // |
|
2339 /** |
|
2340 @internalComponent |
|
2341 |
|
2342 Comments : Transition test of the CStringPool::BEU55DJG3 method. |
|
2343 */ |
|
2344 class CStringPool_BEU55DJG3_Transition : public CTransitionType |
|
2345 { |
|
2346 public: |
|
2347 /** |
|
2348 @fn CStringPool_BEU55DJG3_Transition(CUnitTestContext& aUTContext, |
|
2349 TTransitionValidator& aValidator) |
|
2350 Intended Usage : Standard c'tor method. |
|
2351 Error Condition : None. |
|
2352 @since 7.0 |
|
2353 @param aUTContext The context this transition is operating in. |
|
2354 @param aValidator Used for checking the pre & post conditions of the test object. |
|
2355 @pre None. |
|
2356 @post CStringPool_BEU55DJG3_Transition is fully constructed. |
|
2357 */ |
|
2358 CStringPool_BEU55DJG3_Transition(CUnitTestContext& aUTContext, |
|
2359 TTransitionValidator& aValidator); |
|
2360 /** |
|
2361 @fn TransitMethodL() |
|
2362 Intended Usage : To execute the CStringPool::BEU55DJG3 method for the test harness. |
|
2363 Error Condition : Leaves with an error code. |
|
2364 @leave KErrNoMemory, (@see CStringPool::BEU55DJG3) |
|
2365 @since 7.0 |
|
2366 @return None |
|
2367 @pre CStringPool_BEU55DJG3_Transition is fully constructed. |
|
2368 @post No change in the CStringPool_BEU55DJG3_Transition apart |
|
2369 from iStringPool, which may have changed state. |
|
2370 (@see CStringPool::BEU55DJG3 post-condition) for iStringPool's new state. |
|
2371 */ |
|
2372 inline void TransitMethodL(); |
|
2373 |
|
2374 /** |
|
2375 @fn Context() const |
|
2376 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
2377 Error Condition : None. |
|
2378 @since 7.0 |
|
2379 @return The unit test context cast to a CStringPool_UnitTestContext |
|
2380 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
2381 @post No change in the CStringPool_BEU55DJG3_Transition |
|
2382 */ |
|
2383 inline CStringPool_UnitTestContext& Context() const; |
|
2384 }; // CStringPool_BEU55DJG3_Transition |
|
2385 |
|
2386 // ______________________________________________________________________________ |
|
2387 // |
|
2388 /** |
|
2389 @internalComponent |
|
2390 |
|
2391 Comments : Transition test of the CStringPool::KRN56NDEZ method. |
|
2392 */ |
|
2393 class CStringPool_KRN56NDEZ_Transition : public CTransitionType |
|
2394 { |
|
2395 public: |
|
2396 /** |
|
2397 @fn CStringPool_KRN56NDEZ_Transition(CUnitTestContext& aUTContext, |
|
2398 TTransitionValidator& aValidator) |
|
2399 Intended Usage : Standard c'tor method. |
|
2400 Error Condition : None. |
|
2401 @since 7.0 |
|
2402 @param aUTContext The context this transition is operating in. |
|
2403 @param aValidator Used for checking the pre & post conditions of the test object. |
|
2404 @pre None. |
|
2405 @post CStringPool_KRN56NDEZ_Transition is fully constructed. |
|
2406 */ |
|
2407 CStringPool_KRN56NDEZ_Transition(CUnitTestContext& aUTContext, |
|
2408 TTransitionValidator& aValidator); |
|
2409 /** |
|
2410 @fn TransitMethodL() |
|
2411 Intended Usage : To execute the CStringPool::KRN56NDEZ method for the test harness. |
|
2412 Error Condition : Leaves with an error code. |
|
2413 @leave KErrNoMemory, (@see CStringPool::KRN56NDEZ) |
|
2414 @since 7.0 |
|
2415 @return None |
|
2416 @pre CStringPool_KRN56NDEZ_Transition is fully constructed. |
|
2417 @post No change in the CStringPool_KRN56NDEZ_Transition apart |
|
2418 from iStringPool, which may have changed state. |
|
2419 (@see CStringPool::KRN56NDEZ post-condition) for iStringPool's new state. |
|
2420 */ |
|
2421 inline void TransitMethodL(); |
|
2422 |
|
2423 /** |
|
2424 @fn Context() const |
|
2425 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
2426 Error Condition : None. |
|
2427 @since 7.0 |
|
2428 @return The unit test context cast to a CStringPool_UnitTestContext |
|
2429 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
2430 @post No change in the CStringPool_KRN56NDEZ_Transition |
|
2431 */ |
|
2432 inline CStringPool_UnitTestContext& Context() const; |
|
2433 }; // CStringPool_KRN56NDEZ_Transition |
|
2434 |
|
2435 |
|
2436 // ______________________________________________________________________________ |
|
2437 // |
|
2438 /** |
|
2439 @internalComponent |
|
2440 |
|
2441 Comments : Transition test of the CStringPool::APY57TEH3 method. |
|
2442 */ |
|
2443 class CStringPool_APY57TEH3_Transition : public CTransitionType |
|
2444 { |
|
2445 public: |
|
2446 /** |
|
2447 @fn CStringPool_APY57TEH3_Transition(CUnitTestContext& aUTContext, |
|
2448 TTransitionValidator& aValidator) |
|
2449 Intended Usage : Standard c'tor method. |
|
2450 Error Condition : None. |
|
2451 @since 7.0 |
|
2452 @param aUTContext The context this transition is operating in. |
|
2453 @param aValidator Used for checking the pre & post conditions of the test object. |
|
2454 @pre None. |
|
2455 @post CStringPool_APY57TEH3_Transition is fully constructed. |
|
2456 */ |
|
2457 CStringPool_APY57TEH3_Transition(CUnitTestContext& aUTContext, |
|
2458 TTransitionValidator& aValidator); |
|
2459 /** |
|
2460 @fn TransitMethodL() |
|
2461 Intended Usage : To execute the CStringPool::APY57TEH3 method for the test harness. |
|
2462 Error Condition : Leaves with an error code. |
|
2463 @leave KErrNoMemory, (@see CStringPool::APY57TEH3) |
|
2464 @since 7.0 |
|
2465 @return None |
|
2466 @pre CStringPool_APY57TEH3_Transition is fully constructed. |
|
2467 @post No change in the CStringPool_APY57TEH3_Transition apart |
|
2468 from iStringPool, which may have changed state. |
|
2469 (@see CStringPool::APY57TEH3 post-condition) for iStringPool's new state. |
|
2470 */ |
|
2471 inline void TransitMethodL(); |
|
2472 |
|
2473 /** |
|
2474 @fn Context() const |
|
2475 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
2476 Error Condition : None. |
|
2477 @since 7.0 |
|
2478 @return The unit test context cast to a CStringPool_UnitTestContext |
|
2479 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
2480 @post No change in the CStringPool_APY57TEH3_Transition |
|
2481 */ |
|
2482 inline CStringPool_UnitTestContext& Context() const; |
|
2483 }; // CStringPool_APY57TEH3_Transition |
|
2484 |
|
2485 |
|
2486 // ______________________________________________________________________________ |
|
2487 // |
|
2488 /** |
|
2489 @internalComponent |
|
2490 |
|
2491 Comments : Transition test of the CStringPool::HAD57SK27 method. |
|
2492 */ |
|
2493 class CStringPool_HAD57SK27_Transition : public CTransitionType |
|
2494 { |
|
2495 public: |
|
2496 /** |
|
2497 @fn CStringPool_HAD57SK27_Transition(CUnitTestContext& aUTContext, |
|
2498 TTransitionValidator& aValidator) |
|
2499 Intended Usage : Standard c'tor method. |
|
2500 Error Condition : None. |
|
2501 @since 7.0 |
|
2502 @param aUTContext The context this transition is operating in. |
|
2503 @param aValidator Used for checking the pre & post conditions of the test object. |
|
2504 @pre None. |
|
2505 @post CStringPool_HAD57SK27_Transition is fully constructed. |
|
2506 */ |
|
2507 CStringPool_HAD57SK27_Transition(CUnitTestContext& aUTContext, |
|
2508 TTransitionValidator& aValidator); |
|
2509 /** |
|
2510 @fn TransitMethodL() |
|
2511 Intended Usage : To execute the CStringPool::HAD57SK27 method for the test harness. |
|
2512 Error Condition : Leaves with an error code. |
|
2513 @leave KErrNoMemory, (@see CStringPool::HAD57SK27) |
|
2514 @since 7.0 |
|
2515 @return None |
|
2516 @pre CStringPool_HAD57SK27_Transition is fully constructed. |
|
2517 @post No change in the CStringPool_HAD57SK27_Transition apart |
|
2518 from iStringPool, which may have changed state. |
|
2519 (@see CStringPool::HAD57SK27 post-condition) for iStringPool's new state. |
|
2520 */ |
|
2521 inline void TransitMethodL(); |
|
2522 |
|
2523 /** |
|
2524 @fn Context() const |
|
2525 Intended Usage : To provide access to the unit test context cast to the correct type. |
|
2526 Error Condition : None. |
|
2527 @since 7.0 |
|
2528 @return The unit test context cast to a CStringPool_UnitTestContext |
|
2529 @pre iUTContext is a valid CStringPool_UnitTestContext. |
|
2530 @post No change in the CStringPool_HAD57SK27_Transition |
|
2531 */ |
|
2532 inline CStringPool_UnitTestContext& Context() const; |
|
2533 }; // CStringPool_HAD57SK27_Transition |
|
2534 |
|
2535 |
|
2536 |
|
2537 #include "StringPoolTransitions.inl" |
|
2538 |
|
2539 #include "StringPoolUnitTestContext.inl" |
|
2540 |
|
2541 #endif // __STRINGPOOLTRANSITIONS_H__ |
|
2542 |